aboutsummaryrefslogtreecommitdiffstats
path: root/ajdoc/src
diff options
context:
space:
mode:
authormkersten <mkersten>2004-07-05 18:19:15 +0000
committermkersten <mkersten>2004-07-05 18:19:15 +0000
commit2cc4826419d8c08e3879e600b82354fac2596241 (patch)
treea204004f9760565c97c0192cf2e35f0d2392e90b /ajdoc/src
parent3707411c2b5fdd0294c2ab5305c32766644241f1 (diff)
downloadaspectj-2cc4826419d8c08e3879e600b82354fac2596241.tar.gz
aspectj-2cc4826419d8c08e3879e600b82354fac2596241.zip
Fixed bug#69011 "ajdoc fails when using default package"
Diffstat (limited to 'ajdoc/src')
-rw-r--r--ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java2
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 330029099..ef5fdbf8d 100644
--- a/ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java
+++ b/ajdoc/src/org/aspectj/tools/ajdoc/StubFileGenerator.java
@@ -46,7 +46,7 @@ class StubFileGenerator {
String packageName = StructureUtil.getPackageDeclarationFromFile(inputFile);
- if (packageName != null ) {
+ if (packageName != null && packageName != "") {
writer.println( "package " + packageName + ";" );
}