Added break statement for default case

This commit is contained in:
Owen Stephens 2017-11-29 00:58:51 +00:00
parent 21741ad09e
commit 1d1f3e67cd

View File

@ -121,6 +121,7 @@ public class PatternSyntaxExceptionParser {
// If no special handling in place fall back on error msg // If no special handling in place fall back on error msg
// created by java.util.regex.PatternSyntaxException // created by java.util.regex.PatternSyntaxException
sb.append(exception.getMessage()); sb.append(exception.getMessage());
break;
} }
return sb.toString(); return sb.toString();
} }