From 14fc00e3e4a1f203286d1d4fd530530db8843143 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 21 Feb 2006 15:42:31 +0000 Subject: [PATCH] oops - used Boolean.parseBoolean() --- weaver/src/org/aspectj/weaver/bcel/LazyMethodGen.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")); } -- 2.39.5