[jruby-joni] 58/194: cleanup
Hideki Yamane
henrich at moszumanska.debian.org
Thu Feb 1 12:04:27 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 3be4647525426cb9dd29ae7e5b9570429388dae2
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date: Sat Dec 30 13:07:57 2017 +0100
cleanup
---
src/org/joni/ast/CallNode.java | 6 +++---
src/org/joni/ast/ConsAltNode.java | 1 -
src/org/joni/ast/EncloseNode.java | 3 +--
src/org/joni/ast/QuantifierNode.java | 1 -
src/org/joni/ast/StringNode.java | 1 -
5 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/org/joni/ast/CallNode.java b/src/org/joni/ast/CallNode.java
index 4733f39..eeb18ab 100644
--- a/src/org/joni/ast/CallNode.java
+++ b/src/org/joni/ast/CallNode.java
@@ -25,9 +25,9 @@ import org.joni.UnsetAddrList;
import org.joni.WarnCallback;
public final class CallNode extends StateNode {
- public byte[]name;
- public int nameP;
- public int nameEnd;
+ public final byte[]name;
+ public final int nameP;
+ public final int nameEnd;
public int groupNum;
public Node target; // is it an EncloseNode always ?
diff --git a/src/org/joni/ast/ConsAltNode.java b/src/org/joni/ast/ConsAltNode.java
index 7d456fe..4e4d0e8 100644
--- a/src/org/joni/ast/ConsAltNode.java
+++ b/src/org/joni/ast/ConsAltNode.java
@@ -21,7 +21,6 @@ package org.joni.ast;
import java.util.Set;
-import org.joni.Config;
import org.joni.WarnCallback;
import org.joni.exception.ErrorMessages;
import org.joni.exception.InternalException;
diff --git a/src/org/joni/ast/EncloseNode.java b/src/org/joni/ast/EncloseNode.java
index e984222..cefe130 100644
--- a/src/org/joni/ast/EncloseNode.java
+++ b/src/org/joni/ast/EncloseNode.java
@@ -24,8 +24,7 @@ import org.joni.Option;
import org.joni.constants.EncloseType;
public final class EncloseNode extends StateNode implements EncloseType {
-
- public int type; // enclose type
+ public final int type; // enclose type
public int regNum;
public int option;
public Node target; /* EncloseNode : ENCLOSE_MEMORY */
diff --git a/src/org/joni/ast/QuantifierNode.java b/src/org/joni/ast/QuantifierNode.java
index 206e887..f6c2c7b 100644
--- a/src/org/joni/ast/QuantifierNode.java
+++ b/src/org/joni/ast/QuantifierNode.java
@@ -25,7 +25,6 @@ import org.joni.constants.Reduce;
import org.joni.constants.TargetInfo;
public final class QuantifierNode extends StateNode {
-
public Node target;
public int lower;
public int upper;
diff --git a/src/org/joni/ast/StringNode.java b/src/org/joni/ast/StringNode.java
index dba1d11..9a57f72 100644
--- a/src/org/joni/ast/StringNode.java
+++ b/src/org/joni/ast/StringNode.java
@@ -24,7 +24,6 @@ import org.joni.Config;
import org.joni.constants.StringType;
public final class StringNode extends Node implements StringType {
-
private static final int NODE_STR_MARGIN = 16;
private static final int NODE_STR_BUF_SIZE = 24;
public static final StringNode EMPTY = new StringNode(null, Integer.MAX_VALUE, Integer.MAX_VALUE);
--
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