[jruby-joni] 134/194: remove dead code

Hideki Yamane henrich at moszumanska.debian.org
Thu Feb 1 12:04:34 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 4327465fa65b8d42de16b8d6caf5b73d8ca2f15c
Author: lopex <lopx at gazeta.pl>
Date:   Wed Jan 10 10:16:26 2018 +0100

    remove dead code
---
 src/org/joni/ast/StringNode.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/org/joni/ast/StringNode.java b/src/org/joni/ast/StringNode.java
index e1dae1f..660bd9a 100644
--- a/src/org/joni/ast/StringNode.java
+++ b/src/org/joni/ast/StringNode.java
@@ -131,12 +131,6 @@ public final class StringNode extends Node implements StringType {
         end += enc.codeToMbc(code, bytes, end);
     }
 
-    public void clear() {
-        if (bytes.length > NODE_STR_BUF_SIZE) bytes = new byte[NODE_STR_BUF_SIZE];
-        flag = 0;
-        p = end = 0;
-    }
-
     public void setRaw() {
         flag |= NSTR_RAW;
     }

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