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 15ff7d68983c71f0612841cdd1c3bd606e22cbe4 Author: Marcin Mielżyński <[email protected]> Date: Sat May 10 02:01:32 2008 +0000 Remove unused code. git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@6665 961051c9-f516-0410-bf72-c9f7e237a7b7 --- src/org/joni/ast/StringNode.java | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/org/joni/ast/StringNode.java b/src/org/joni/ast/StringNode.java index b5b0d69..76a726a 100644 --- a/src/org/joni/ast/StringNode.java +++ b/src/org/joni/ast/StringNode.java @@ -158,22 +158,7 @@ public final class StringNode extends Node implements StringType { flag = 0; p = end = 0; } - - public int getLength() { - return end - p; - } - - public int getLength(Encoding enc) { - int len = 0; - int p_ = p; - - while (p_ < end) { - p_ += enc.length(bytes[p_]); - len++; - } - return len; - } - + 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 _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

