From 1d1f3e67cd5346cd714e29e3ed8c4d9951bd1edb Mon Sep 17 00:00:00 2001 From: Owen Stephens Date: Wed, 29 Nov 2017 00:58:51 +0000 Subject: [PATCH] Added break statement for default case --- .../src/com/google/refine/util/PatternSyntaxExceptionParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/main/src/com/google/refine/util/PatternSyntaxExceptionParser.java b/main/src/com/google/refine/util/PatternSyntaxExceptionParser.java index fddc08d92..c23faf231 100644 --- a/main/src/com/google/refine/util/PatternSyntaxExceptionParser.java +++ b/main/src/com/google/refine/util/PatternSyntaxExceptionParser.java @@ -121,6 +121,7 @@ public class PatternSyntaxExceptionParser { // If no special handling in place fall back on error msg // created by java.util.regex.PatternSyntaxException sb.append(exception.getMessage()); + break; } return sb.toString(); }