[jruby-joni] 118/223: Give more proper name.

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:21:58 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 b0626ae8cc001f2bb33dcfb78b6bb6ba297ae6c3
Author: Marcin Mielzynski <lopx at gazeta.pl>
Date:   Sun Mar 11 17:56:46 2012 +0100

    Give more proper name.
---
 src/org/joni/Analyser.java | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/org/joni/Analyser.java b/src/org/joni/Analyser.java
index 6bdf540..0bcc0da 100644
--- a/src/org/joni/Analyser.java
+++ b/src/org/joni/Analyser.java
@@ -1484,21 +1484,21 @@ final class Analyser extends Parser {
             }
         }
 
-        ConsAltNode varANode = null, anode, xnode;
+        ConsAltNode varANode = null, altNode, listNode;
         if (varlen) {
             node[0] = varANode = newAltNode(null, null);
 
-            xnode = newListNode(null, null);
-            varANode.setCar(xnode);
+            listNode = newListNode(null, null);
+            varANode.setCar(listNode);
 
-            anode = newAltNode(null, null);
-            xnode.setCar(anode);
+            altNode = newAltNode(null, null);
+            listNode.setCar(altNode);
         } else {
-            node[0] = anode = newAltNode(null, null);
+            node[0] = altNode = newAltNode(null, null);
         }
 
         StringNode snode = new StringNode(bytes, p, p + slen);
-        anode.setCar(snode);
+        altNode.setCar(snode);
 
         for (int i=0; i<itemNum; i++) {
             snode = new StringNode();
@@ -1514,9 +1514,9 @@ final class Analyser extends Parser {
                 if (q < end) {
                     Node rem = expandCaseFoldMakeRemString(bytes, q, end);
 
-                    xnode = ConsAltNode.listAdd(null, snode);
-                    ConsAltNode.listAdd(xnode, rem);
-                    an.setCar(xnode);
+                    listNode = ConsAltNode.listAdd(null, snode);
+                    ConsAltNode.listAdd(listNode, rem);
+                    an.setCar(listNode);
                 } else {
                     an.setCar(snode);
                 }
@@ -1524,8 +1524,8 @@ final class Analyser extends Parser {
                 varANode = an;
             } else {
                 an.setCar(snode);
-                anode.setCdr(an);
-                anode = an;
+                altNode.setCdr(an);
+                altNode = an;
             }
         }
         return varlen;

-- 
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