fix bug overwriting source package on canonical resources
This commit is contained in:
parent
e081b27fd5
commit
4e92a7759a
|
@ -276,7 +276,7 @@ public class CanonicalResourceManager<T extends CanonicalResource> {
|
|||
}
|
||||
|
||||
// -- 2. preparation -----------------------------------------------------------------------------
|
||||
if (cr.resource != null) {
|
||||
if (cr.resource != null && cr.getPackageInfo() != null) {
|
||||
cr.resource.setSourcePackage(cr.getPackageInfo());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue