You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/12/29 23:07:41 UTC

svn commit: r491119 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java

Author: weber
Date: Fri Dec 29 14:07:40 2006
New Revision: 491119

URL: http://svn.apache.org/viewvc?view=rev&rev=491119
Log:
remove unused import
suppressWarnings(unchecked)

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java?view=diff&rev=491119&r1=491118&r2=491119
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java Fri Dec 29 14:07:40 2006
@@ -20,9 +20,9 @@
 import org.apache.commons.collections.KeyValue;
 import org.apache.commons.collections.list.SetUniqueList;
 import org.apache.commons.collections.set.ListOrderedSet;
-import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_HEIGHT;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_STATE;
 import static org.apache.myfaces.tobago.TobagoConstants.ATTR_WIDTH;
@@ -86,6 +86,7 @@
 
   private Integer height;
 
+  @SuppressWarnings({"unchecked"})
   public UIPage() {
     scriptFiles = SetUniqueList.decorate(new ArrayList());
     scriptBlocks = new ListOrderedSet();
@@ -240,6 +241,7 @@
     decodePageState(facesContext, state);
   }
 
+  @SuppressWarnings({"unchecked"})
   private void decodePageState(FacesContext facesContext, PageState pageState) {
     String name;
     String value = null;
@@ -304,6 +306,7 @@
     this.defaultActionId = defaultActionId;
   }
 
+  @SuppressWarnings({"unchecked"})
   public List<String> getScriptFiles() {
     return scriptFiles;
   }