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 759a467ae1e78e791060bcdf26546c8bd1c42a48
Author: Marcin Mielzynski <[email protected]>
Date:   Mon Dec 14 22:20:41 2015 +0100

    use range instead of absulute bytes.length (which might be shared, also the 
range might have been narrowed down in the matcher already
---
 src/org/joni/ByteCodeMachine.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/org/joni/ByteCodeMachine.java 
b/src/org/joni/ByteCodeMachine.java
index 7b21228..262ea71 100644
--- a/src/org/joni/ByteCodeMachine.java
+++ b/src/org/joni/ByteCodeMachine.java
@@ -1290,7 +1290,7 @@ class ByteCodeMachine extends StackMachine {
         s = value;
 
         int len;
-        if (sprev < bytes.length) {
+        if (sprev < range) {
             while (sprev + (len = enc.length(bytes, sprev, end)) < s) sprev += 
len;
         }
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jruby-joni.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to