portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r653161 - in /portals/pluto/branches/2.0-spi-refactoring: pluto-container-api/src/main/java/org/apache/pluto/NamespaceMapper.java pluto-container/src/main/java/org/apache/pluto/util/impl/NamespaceMapperImpl.java
Date Sat, 03 May 2008 23:28:47 GMT
Author: ate
Date: Sat May  3 16:28:47 2008
New Revision: 653161

URL: http://svn.apache.org/viewvc?rev=653161&view=rev
Log:
Dropping unused double namespace encoding method

Modified:
    portals/pluto/branches/2.0-spi-refactoring/pluto-container-api/src/main/java/org/apache/pluto/NamespaceMapper.java
    portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/util/impl/NamespaceMapperImpl.java

Modified: portals/pluto/branches/2.0-spi-refactoring/pluto-container-api/src/main/java/org/apache/pluto/NamespaceMapper.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/2.0-spi-refactoring/pluto-container-api/src/main/java/org/apache/pluto/NamespaceMapper.java?rev=653161&r1=653160&r2=653161&view=diff
==============================================================================
--- portals/pluto/branches/2.0-spi-refactoring/pluto-container-api/src/main/java/org/apache/pluto/NamespaceMapper.java
(original)
+++ portals/pluto/branches/2.0-spi-refactoring/pluto-container-api/src/main/java/org/apache/pluto/NamespaceMapper.java
Sat May  3 16:28:47 2008
@@ -20,12 +20,6 @@
 /**
  **/
 public interface NamespaceMapper {
-
-
     public String encode(PortletWindowID namespace, String name);
-
-    public String encode(PortletWindowID ns1, PortletWindowID ns2, String name);
-
     public String decode(PortletWindowID ns, String name);
-
 }

Modified: portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/util/impl/NamespaceMapperImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/util/impl/NamespaceMapperImpl.java?rev=653161&r1=653160&r2=653161&view=diff
==============================================================================
--- portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/util/impl/NamespaceMapperImpl.java
(original)
+++ portals/pluto/branches/2.0-spi-refactoring/pluto-container/src/main/java/org/apache/pluto/util/impl/NamespaceMapperImpl.java
Sat May  3 16:28:47 2008
@@ -28,7 +28,6 @@
     	// Do nothing.
     }
 
-
     // NamespaceMapper Impl ----------------------------------------------------
 
     public String encode(PortletWindowID portletWindowId, String name) {
@@ -40,19 +39,6 @@
         return buffer.toString();
     }
 
-    public String encode(PortletWindowID portletWindowId1,
-                         PortletWindowID portletWindowId2,
-                         String name) {
-        StringBuffer buffer = new StringBuffer(50);
-        buffer.append("Pluto_");
-        buffer.append(portletWindowId1.getStringId());
-        buffer.append('_');
-        buffer.append(portletWindowId2.getStringId());
-        buffer.append('_');
-        buffer.append(name);
-        return buffer.toString();
-    }
-
     public String decode(PortletWindowID portletWindowId, String name) {
         if (!name.startsWith("Pluto_")) {
             return null;
@@ -66,5 +52,4 @@
         }
         return name.substring(buffer.length());
     }
-
 }



Mime
View raw message