diff options
author | aclement <aclement> | 2005-03-24 13:10:57 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-03-24 13:10:57 +0000 |
commit | f33c8225d1e74adf3cd5495f142e9659aa27b4c7 (patch) | |
tree | bff9d1f35f25f745f6a49e601f552161351bcbfb /weaver | |
parent | 68eda4e35b8725c478216a13da5d81a562fb9e0f (diff) | |
download | aspectj-f33c8225d1e74adf3cd5495f142e9659aa27b4c7.tar.gz aspectj-f33c8225d1e74adf3cd5495f142e9659aa27b4c7.zip |
Fix for using declare annotation to target things in the default package
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java index 75fbfb551..15b58dcb2 100644 --- a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java @@ -348,7 +348,7 @@ public class AsmRelationshipProvider { public void addDeclareAnnotationRelationship(ISourceLocation sourceLocation, String typename,Method method) { if (!AsmManager.isCreatingModel()) return; - String pkg = ""; + String pkg = null; String type = typename; int packageSeparator = typename.lastIndexOf("."); if (packageSeparator!=-1) { @@ -410,7 +410,7 @@ public class AsmRelationshipProvider { public void addDeclareAnnotationRelationship(ISourceLocation sourceLocation, String typename,Field field) { if (!AsmManager.isCreatingModel()) return; - String pkg = ""; + String pkg = null; String type = typename; int packageSeparator = typename.lastIndexOf("."); if (packageSeparator!=-1) { |