[jruby-joni] 101/194: simplify debug info

Hideki Yamane henrich at moszumanska.debian.org
Thu Feb 1 12:04:31 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 1d23b2c1d0e6d71860cb21f90f38d6df2eb36318
Author: Marcin.Mielzynski <marcin.mielzynski at asseco.pl>
Date:   Thu Jan 4 14:05:37 2018 +0100

    simplify debug info
---
 src/org/joni/Regex.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/org/joni/Regex.java b/src/org/joni/Regex.java
index 0dc21ff..92ffdc0 100644
--- a/src/org/joni/Regex.java
+++ b/src/org/joni/Regex.java
@@ -378,7 +378,7 @@ public final class Regex {
             }
         } else {
             while (p < end) {
-                sb.append(new String(new byte[]{bytes[p]}));
+                sb.append(new String(bytes, p, 1));
                 p++;
             }
         }

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