diff options
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/src/main/java/org/aspectj/bridge/MessageUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java b/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java index 0393a5a58..77f9c90a8 100644 --- a/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java +++ b/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java @@ -587,7 +587,7 @@ public class MessageUtil { return true; } String text = message.getMessage(); - return (text.indexOf(infix) != -1); + return (text.contains(infix)); } public void ignore(Kind kind) { |