geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r662173 - in /geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout: DefaultLayoutManager.java LayoutManager.java
Date Sun, 01 Jun 2008 08:36:31 GMT
Author: jdillon
Date: Sun Jun  1 01:36:30 2008
New Revision: 662173

URL: http://svn.apache.org/viewvc?rev=662173&view=rev
Log:
Rename field

Modified:
    geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/DefaultLayoutManager.java
    geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/LayoutManager.java

Modified: geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/DefaultLayoutManager.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/DefaultLayoutManager.java?rev=662173&r1=662172&r2=662173&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/DefaultLayoutManager.java
(original)
+++ geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/DefaultLayoutManager.java
Sun Jun  1 01:36:30 2008
@@ -86,7 +86,7 @@
 
         Node start;
 
-        if (path.startsWith(PATH_SEPARATOR)) {
+        if (path.startsWith(FILE_SEPARATOR)) {
             start = layout;
             return findNode(start, path);
         }
@@ -133,7 +133,7 @@
 
         Node current = start;
 
-        String[] elements = path.split(PATH_SEPARATOR);
+        String[] elements = path.split(FILE_SEPARATOR);
         
         for (String element : elements) {
             if (current instanceof GroupNode) {

Modified: geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/LayoutManager.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/LayoutManager.java?rev=662173&r1=662172&r2=662173&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/LayoutManager.java
(original)
+++ geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/layout/LayoutManager.java
Sun Jun  1 01:36:30 2008
@@ -33,8 +33,7 @@
 
     String ROOT = "/";
 
-    // FIXME: Rename, this is a file name sep, not a path sep
-    String PATH_SEPARATOR = "/";
+    String FILE_SEPARATOR = "/";
     
     String COMMAND_PATH = "path";
     



Mime
View raw message