|
@@ -70,7 +70,7 @@ public abstract class BaseResourceCollectionWrapper |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
if (rc != null) { |
|
|
if (rc != null) { |
|
|
throwOneNested(); |
|
|
|
|
|
|
|
|
throw oneNested(); |
|
|
} |
|
|
} |
|
|
rc = c; |
|
|
rc = c; |
|
|
setChecked(false); |
|
|
setChecked(false); |
|
@@ -155,7 +155,7 @@ public abstract class BaseResourceCollectionWrapper |
|
|
protected synchronized final ResourceCollection getResourceCollection() { |
|
|
protected synchronized final ResourceCollection getResourceCollection() { |
|
|
dieOnCircularReference(); |
|
|
dieOnCircularReference(); |
|
|
if (rc == null) { |
|
|
if (rc == null) { |
|
|
throwOneNested(); |
|
|
|
|
|
|
|
|
throw oneNested(); |
|
|
} |
|
|
} |
|
|
return rc; |
|
|
return rc; |
|
|
} |
|
|
} |
|
@@ -194,8 +194,8 @@ public abstract class BaseResourceCollectionWrapper |
|
|
return coll; |
|
|
return coll; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private void throwOneNested() throws BuildException { |
|
|
|
|
|
throw new BuildException(super.toString() + ONE_NESTED_MESSAGE); |
|
|
|
|
|
|
|
|
private BuildException oneNested() { |
|
|
|
|
|
return new BuildException(super.toString() + ONE_NESTED_MESSAGE); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |