[jruby-joni] 84/194: cleanup
Hideki Yamane
henrich at moszumanska.debian.org
Thu Feb 1 12:04:29 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 04b824a75477d2356ea4e085121418ae082e6c8b
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Mon Jan 1 22:38:59 2018 +0100
cleanup
---
src/org/joni/OptMapInfo.java | 1 -
src/org/joni/Parser.java | 4 ----
2 files changed, 5 deletions(-)
diff --git a/src/org/joni/OptMapInfo.java b/src/org/joni/OptMapInfo.java
index 9d3574b..a3d0c65 100644
--- a/src/org/joni/OptMapInfo.java
+++ b/src/org/joni/OptMapInfo.java
@@ -41,7 +41,6 @@ final class OptMapInfo {
mmd.copy(other.mmd);
anchor.copy(other.anchor);
value = other.value;
- //for(int i=0; i<map.length; i++) map[i] = other.map[i];
System.arraycopy(other.map, 0, map, 0, other.map.length);
}
diff --git a/src/org/joni/Parser.java b/src/org/joni/Parser.java
index 8ec01f0..02d6bd0 100644
--- a/src/org/joni/Parser.java
+++ b/src/org/joni/Parser.java
@@ -757,12 +757,9 @@ class Parser extends Lexer {
private Node parseExp(TokenType term) {
if (token.type == term) return StringNode.EMPTY; // goto end_of_token
-
Node node = null;
boolean group = false;
- // if (tok->type == (enum TokenSyms )term) goto end_of_token; ???
-
switch(token.type) {
case ALT:
case EOT:
@@ -777,7 +774,6 @@ class Parser extends Lexer {
EncloseNode en = (EncloseNode)node;
env.option = en.option;
fetchToken();
- // env.option = prev; // ???
Node target = parseSubExp(term);
env.option = prev;
en.setTarget(target);
--
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