From: aclement Date: Tue, 21 Feb 2006 15:42:31 +0000 (+0000) Subject: oops - used Boolean.parseBoolean() X-Git-Tag: POST_MEMORY_CHANGES~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=14fc00e3e4a1f203286d1d4fd530530db8843143;p=aspectj.git oops - used Boolean.parseBoolean() --- diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java index 043537de1..b5122899a 100644 --- a/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java +++ b/weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java @@ -278,7 +278,8 @@ public final class LazyMethodGen { if (!checkedXsetOption) { Properties p = enclosingClass.getWorld().getExtraConfiguration(); if (p!=null) { - avoidUseOfBcelGenObjects = Boolean.parseBoolean(p.getProperty("optimizeWithTags","true")); + String s = p.getProperty("optimizeWithTags","true"); + avoidUseOfBcelGenObjects = s.equalsIgnoreCase("true"); if (!avoidUseOfBcelGenObjects) enclosingClass.getWorld().getMessageHandler().handleMessage(MessageUtil.info("[optimizeWithTags=false] Disabling optimization to use Tags rather than Gens")); }