diff options
author | aclement <aclement> | 2005-12-09 10:32:57 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-09 10:32:57 +0000 |
commit | 5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01 (patch) | |
tree | 0a3e3b397d14cb9226b6ac7fa163113509b2b620 /ajdoc | |
parent | ca47cacdacf7da5789446bb3ed9b70e26462206e (diff) | |
download | aspectj-5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01.tar.gz aspectj-5f8d2cdff480ac9d04cc73a4a69eb11563a0bb01.zip |
test and fix for 119451
Diffstat (limited to 'ajdoc')
-rw-r--r-- | ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java b/ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java index c22906558..b30c40173 100644 --- a/ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java +++ b/ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java @@ -165,7 +165,7 @@ class StubFileGenerator{ String signature = classNode.getSourceSignature(); if (signature != null){ int index = signature.indexOf("aspect"); - if (index != -1 && signature.charAt(index-1) != '.') { + if (index == 0 || (index != -1 && signature.charAt(index-1) != '.') ) { signature = signature.substring(0, index) + "class " + signature.substring(index + 6, signature.length()); |