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 afdaefce76d28a049d36066d73eea1049121b7ce
Author: Marcin Mielzynski <l...@gazeta.pl>
Date:   Fri Jan 19 22:22:20 2018 +0100

    RootNode -> TopNode
---
 src/org/joni/Analyser.java | 2 +-
 src/org/joni/ast/Node.java | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/org/joni/Analyser.java b/src/org/joni/Analyser.java
index 8372efe..b51f73a 100644
--- a/src/org/joni/Analyser.java
+++ b/src/org/joni/Analyser.java
@@ -104,7 +104,7 @@ final class Analyser extends Parser {
 
         if (Config.DEBUG_PARSE_TREE && Config.DEBUG_PARSE_TREE_RAW) 
Config.log.println("<RAW TREE>\n" + root + "\n");
 
-        Node.RootNode top = Node.newRoot(root);
+        Node.TopNode top = Node.newTop(root);
         setupTree(root, 0);
         root = top.getRoot();
 
diff --git a/src/org/joni/ast/Node.java b/src/org/joni/ast/Node.java
index d47a05f..3ee73fe 100644
--- a/src/org/joni/ast/Node.java
+++ b/src/org/joni/ast/Node.java
@@ -78,14 +78,14 @@ public abstract class Node implements NodeType {
         return (getType2Bit() & SIMPLE) != 0;
     }
 
-    public static RootNode newRoot(Node root) {
-        return new RootNode(root);
+    public static TopNode newTop(Node root) {
+        return new TopNode(root);
     }
 
-    public static final class RootNode extends Node {
+    public static final class TopNode extends Node {
         private Node root;
 
-        RootNode(Node root) {
+        TopNode(Node root) {
             super(-1);
             root.parent = this;
             setChild(root);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jruby-joni.git

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to