Skip to content

Commit 446dbef

Browse files
committed
Consistent {} usage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1154725 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9d1cc88 commit 446dbef

File tree

1 file changed

+3
-2
lines changed
  • src/java/org/apache/commons/codec/language/bm

1 file changed

+3
-2
lines changed

src/java/org/apache/commons/codec/language/bm/Rule.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,10 @@ public RPattern getRContext() {
692692
* @return true if the pattern and left/right context match, false otherwise
693693
*/
694694
public boolean patternAndContextMatches(CharSequence input, int i) {
695-
if (i < 0)
695+
if (i < 0) {
696696
throw new IndexOutOfBoundsException("Can not match pattern at negative indexes");
697-
697+
}
698+
698699
int patternLength = this.pattern.length();
699700
int ipl = i + patternLength;
700701

0 commit comments

Comments
 (0)