[jruby-joni] 166/194: dedup
Hideki Yamane
henrich at moszumanska.debian.org
Thu Feb 1 12:04:37 UTC 2018
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository jruby-joni.
commit dd2ab5fcfd5f13025b96c6afda27c55c8b5fad12
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Sun Jan 14 22:34:05 2018 +0100
dedup
---
src/org/joni/ByteCodeMachine.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/org/joni/ByteCodeMachine.java b/src/org/joni/ByteCodeMachine.java
index b365d18..7b9b55a 100644
--- a/src/org/joni/ByteCodeMachine.java
+++ b/src/org/joni/ByteCodeMachine.java
@@ -764,16 +764,13 @@ class ByteCodeMachine extends StackMachine {
private void opExactNICSb() {
int tlen = code[ip++];
if (s + tlen > range) {opFail(); return;}
+ byte[]toLowerTable = enc.toLowerCaseTable();
if (Config.USE_STRING_TEMPLATES) {
byte[]bs = regex.templates[code[ip++]];
int ps = code[ip++];
- byte[]toLowerTable = enc.toLowerCaseTable();
-
while (tlen-- > 0) if (bs[ps++] != toLowerTable[bytes[s++] & 0xff]) {opFail(); return;}
} else {
- byte[]toLowerTable = enc.toLowerCaseTable();
-
while (tlen-- > 0) if (code[ip++] != toLowerTable[bytes[s++] & 0xff]) {opFail(); return;}
}
sprev = s - 1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git
More information about the pkg-java-commits
mailing list