[jruby-joni] 258/279: Do not return never used token value.
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:27:47 UTC 2015
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 445b63226207257ea7025da2e1e6d79e863eec0c
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Fri Apr 10 02:03:56 2015 +0200
Do not return never used token value.
---
src/org/joni/Lexer.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/org/joni/Lexer.java b/src/org/joni/Lexer.java
index fe01da6..c1feb68 100644
--- a/src/org/joni/Lexer.java
+++ b/src/org/joni/Lexer.java
@@ -977,13 +977,13 @@ class Lexer extends ScannerSupport {
}
}
- protected final TokenType fetchToken() {
+ protected final void fetchToken() {
// mark(); // out
start:
while(true) {
if (!left()) {
token.type = TokenType.EOT;
- return token.type;
+ return;
}
token.type = TokenType.STRING;
@@ -1239,7 +1239,6 @@ class Lexer extends ScannerSupport {
break;
} // while
- return token.type;
}
private void greedyCheck() {
--
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