]> source.dussan.org Git - aspectj.git/commitdiff
wasnt setting the defaults if nothing supplied.
authoraclement <aclement>
Tue, 1 Nov 2005 17:42:13 +0000 (17:42 +0000)
committeraclement <aclement>
Tue, 1 Nov 2005 17:42:13 +0000 (17:42 +0000)
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java

index 3c36bee68749a948819af47bd83c4cc40cd2dd6f..3d3df20dd2cd794d5407e6e32506b6e256c04d5c 100644 (file)
@@ -229,7 +229,9 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
                 try { resource.close(); } catch (Throwable t) {;}
             }
         }
-        if (weaverOption.lint != null) {
+        if (weaverOption.lint == null) {
+               bcelWorld.getLint().loadDefaultProperties();
+        } else {
             if (weaverOption.lint.equals("default")) {//FIXME should be AjBuildConfig.AJLINT_DEFAULT but yetanother deps..
                 bcelWorld.getLint().loadDefaultProperties();
             } else {