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 e724c521a0680cad595f62d02369f2ba3ed80eff Author: Marcin Mielżyński <[email protected]> Date: Fri Jan 2 21:04:14 2009 +0000 Remove adjustStrPosition. git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@8570 961051c9-f516-0410-bf72-c9f7e237a7b7 --- src/org/joni/Regex.java | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/org/joni/Regex.java b/src/org/joni/Regex.java index c79ed1f..2e7118b 100644 --- a/src/org/joni/Regex.java +++ b/src/org/joni/Regex.java @@ -418,29 +418,4 @@ public final class Regex implements RegexState { public Encoding getEncoding() { return enc; } - - /** - * rb_reg_adjust_startpos - */ - public int adjustStartPosition(byte[] str, int start, int len, int pos, boolean reverse) { - int range; - - if(reverse) { - range = -pos; - } else { - range = len - pos; - } - - if(pos > 0 && enc.maxLength() != 1 && pos < len) { - int p; - if(range > 0) { - p = enc.rightAdjustCharHead(str, start, start + pos, start + len); - } else { - p = enc.leftAdjustCharHead(str, start, start + pos, start + len); - } - return p - start; - } - - return pos; - } } -- 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

