From: aclement Date: Sat, 13 Mar 2010 01:01:45 +0000 (+0000) Subject: 48080: inserts in messages X-Git-Tag: V1_6_9M1~44 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=90de1cd02fa216dd6cfe47ab06bab30087836652;p=aspectj.git 48080: inserts in messages --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java index 4842315ae..9a9a20347 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWorld.java @@ -865,7 +865,7 @@ public class BcelWorld extends World implements Repository { @Override public void reportCheckerMatch(Checker checker, Shadow shadow) { - IMessage iMessage = new Message(checker.getMessage(), shadow.toString(), checker.isError() ? IMessage.ERROR + IMessage iMessage = new Message(checker.getMessage(shadow), shadow.toString(), checker.isError() ? IMessage.ERROR : IMessage.WARNING, shadow.getSourceLocation(), null, new ISourceLocation[] { checker.getSourceLocation() }, true, 0, -1, -1);