예제 #1
0
 public boolean hasSource() {
   if (!sourcePaths.isEmpty()) {
     return true;
   }
   for (ReadableCopySpec spec : childSpecs) {
     if (spec.hasSource()) {
       return true;
     }
   }
   return false;
 }
예제 #2
0
 public boolean hasSource() {
   return spec.hasSource();
 }