You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by st...@apache.org on 2004/02/19 21:30:56 UTC

cvs commit: jakarta-pluto/portal/src/java/org/apache/pluto/portalImpl/om/common/impl LanguageSetImpl.java

sthepper    2004/02/19 12:30:56

  Modified:    portal/src/java/org/apache/pluto/portalImpl/om/common/impl
                        LanguageSetImpl.java
  Log:
  removed dead code in LanguageSetImpl
  
  Revision  Changes    Path
  1.2       +0 -22     jakarta-pluto/portal/src/java/org/apache/pluto/portalImpl/om/common/impl/LanguageSetImpl.java
  
  Index: LanguageSetImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-pluto/portal/src/java/org/apache/pluto/portalImpl/om/common/impl/LanguageSetImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LanguageSetImpl.java	7 Jan 2004 20:37:16 -0000	1.1
  +++ LanguageSetImpl.java	19 Feb 2004 20:30:56 -0000	1.2
  @@ -242,28 +242,6 @@
               bundle = loadResourceBundle(locale);
               if (bundle != null)
               {
  -                /*String title;
  -                String shortTitle;
  -                String keywords;
  -                
  -                try {
  -                    title=bundle.getString("javax.portlet.title");
  -                } catch(MissingResourceException x) {
  -                    title = this.title;
  -                }
  -                
  -                try {
  -                    shortTitle=bundle.getString("javax.portlet.short-title");
  -                } catch(MissingResourceException x) {
  -                    shortTitle = this.shortTitle;
  -                }
  -
  -                try {
  -                    keywords=bundle.getString("javax.portlet.keywords");
  -                } catch(MissingResourceException x) {
  -                    keywords = this.castorKeywords;
  -                }*/
  -
                   Language language = createLanguage(locale, bundle);
                   remove(language);
                   add(language);