Пример #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();
 }