portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r505183 - /portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/core/DefaultPortletInfoService.java
Date Fri, 09 Feb 2007 05:06:38 GMT
Author: esm
Date: Thu Feb  8 21:06:37 2007
New Revision: 505183

URL: http://svn.apache.org/viewvc?view=rev&rev=505183
Log:
Fixed error in DefaultPortletInfoService that was causing ResourceBundleTest in the testsuite
to fail.

Modified:
    portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/core/DefaultPortletInfoService.java

Modified: portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/core/DefaultPortletInfoService.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/core/DefaultPortletInfoService.java?view=diff&rev=505183&r1=505182&r2=505183
==============================================================================
--- portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/core/DefaultPortletInfoService.java
(original)
+++ portals/pluto/trunk/pluto-container/src/main/java/org/apache/pluto/core/DefaultPortletInfoService.java
Thu Feb  8 21:06:37 2007
@@ -35,7 +35,7 @@
     public String getShortTitle(PortletWindow window) {
         if (window instanceof InternalPortletWindow) {
             return getPortletDefinition((InternalPortletWindow) window)
-                .getPortletInfo().getTitle();
+                .getPortletInfo().getShortTitle();
         }
         return null;
     }
@@ -43,7 +43,7 @@
     public String getKeywords(PortletWindow window) {
         if (window instanceof InternalPortletWindow) {
             return getPortletDefinition((InternalPortletWindow) window)
-                .getPortletInfo().getTitle();
+                .getPortletInfo().getKeywords();
         }
         return null;
     }



Mime
View raw message