incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r781279 - /incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/impl/PortletWindowIDImpl.java
Date Wed, 03 Jun 2009 06:51:40 GMT
Author: cziegeler
Date: Wed Jun  3 06:51:39 2009
New Revision: 781279

URL: http://svn.apache.org/viewvc?rev=781279&view=rev
Log:
Fix window id handling.

Modified:
    incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/impl/PortletWindowIDImpl.java

Modified: incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/impl/PortletWindowIDImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/impl/PortletWindowIDImpl.java?rev=781279&r1=781278&r2=781279&view=diff
==============================================================================
--- incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/impl/PortletWindowIDImpl.java
(original)
+++ incubator/sling/whiteboard/portal/container/src/main/java/org/apache/sling/portal/container/internal/impl/PortletWindowIDImpl.java
Wed Jun  3 06:51:39 2009
@@ -74,7 +74,7 @@
     public PortletEntityId getPortletEntityId() {
         if ( this.portletEntityId == null ) {
             final int firstColon = this.stringId.indexOf(':');
-            final int lastColon = this.stringId.indexOf(':');
+            final int lastColon = this.stringId.lastIndexOf(':');
             if ( firstColon == lastColon ) {
                 this.portletEntityId = new PortletEntityId(this.stringId);
             } else {



Mime
View raw message