[jruby-joni] 31/279: Make joni unicode tests buildable.

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:26:35 UTC 2015


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 69a618390a211b870f98d0b17c3793ba99eaed08
Author: Marcin Mielżyński <lopx at gazeta.pl>
Date:   Wed Aug 27 11:19:21 2008 +0000

    Make joni unicode tests buildable.
    
    git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@7559 961051c9-f516-0410-bf72-c9f7e237a7b7
---
 test/org/joni/test/TestU.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/joni/test/TestU.java b/test/org/joni/test/TestU.java
index c62d62d..46ad3f9 100644
--- a/test/org/joni/test/TestU.java
+++ b/test/org/joni/test/TestU.java
@@ -43,7 +43,7 @@ public class TestU extends Test {
     }
     
     private int ulen(byte[]bytes) {
-        return encoding().strByteLengthNull(bytes, 0);
+    	return encoding().strByteLengthNull(bytes, 0, bytes.length);
     }
     
     private String uconv(byte []bytes, int len) {

-- 
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