diff options
Diffstat (limited to 'libjava/classpath/gnu/java/util/regex/RETokenLookAhead.java')
-rw-r--r-- | libjava/classpath/gnu/java/util/regex/RETokenLookAhead.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libjava/classpath/gnu/java/util/regex/RETokenLookAhead.java b/libjava/classpath/gnu/java/util/regex/RETokenLookAhead.java index 1dc6019380f..34625aac6d5 100644 --- a/libjava/classpath/gnu/java/util/regex/RETokenLookAhead.java +++ b/libjava/classpath/gnu/java/util/regex/RETokenLookAhead.java @@ -65,16 +65,16 @@ final class RETokenLookAhead extends REToken REMatch trymatch = (REMatch) mymatch.clone (); if (re.match (input, trymatch)) { - if (negative) - return null; - trymatch.index = mymatch.index; - return trymatch; + if (negative) + return null; + trymatch.index = mymatch.index; + return trymatch; } else { - if (negative) - return mymatch; - return null; + if (negative) + return mymatch; + return null; } } |