Skip to content

Commit 4adeaed

Browse files
committed
PDFBOX-5660: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924907 13f79535-47bb-0310-9956-ffa450edef68
1 parent 94f5a4b commit 4adeaed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/InstructionSequenceBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
public final class InstructionSequenceBuilder extends Parser.AbstractSyntaxHandler
2828
{
2929
private static final Predicate<String> MATCHES_INTEGER = Pattern.compile("[\\+\\-]?\\d+").asMatchPredicate();
30-
private static final Predicate<String> MATCHES_REAL = Pattern.compile("[\\-]?\\d*\\.\\d*([Ee]\\-?\\d+)?").asMatchPredicate();
30+
private static final Predicate<String> MATCHES_REAL = Pattern.compile("\\-?\\d*\\.\\d*([Ee]\\-?\\d+)?").asMatchPredicate();
3131

3232
private final InstructionSequence mainSequence = new InstructionSequence();
3333
private final Stack<InstructionSequence> seqStack = new Stack<>();

0 commit comments

Comments
 (0)