[seam-commits] Seam SVN: r7677 - in trunk: src/main/org/jboss/seam/deployment and 9 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sat Mar 22 13:03:24 EDT 2008


Author: gavin.king at jboss.com
Date: 2008-03-22 13:03:24 -0400 (Sat, 22 Mar 2008)
New Revision: 7677

Modified:
   trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTransaction.java
   trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java
   trunk/src/main/org/jboss/seam/deployment/StandardDeploymentStrategy.java
   trunk/src/main/org/jboss/seam/faces/Navigator.java
   trunk/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java
   trunk/src/main/org/jboss/seam/mock/AbstractSeamTest.java
   trunk/src/main/org/jboss/seam/navigation/RedirectNavigationHandler.java
   trunk/src/main/org/jboss/seam/web/RewritingResponse.java
   trunk/src/test/integration/src/org/jboss/seam/test/integration/UnversionedThing.java
   trunk/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java
   trunk/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java
   trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java
   trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CacheRendererBase.java
Log:
fix warnings

Modified: trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTransaction.java
===================================================================
--- trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTransaction.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/ioc/org/jboss/seam/ioc/spring/SpringTransaction.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -77,8 +77,6 @@
    /**
     * Obtains a PlatformTransactionManager from either the name or expression
     * specified.
-    *
-    * @return
     */
    protected PlatformTransactionManager getPlatformTransactionManager()
    {

Modified: trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/deployment/HotDeploymentStrategy.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -1,7 +1,6 @@
 package org.jboss.seam.deployment;
 
 import java.io.File;
-import java.lang.annotation.Annotation;
 import java.lang.reflect.Constructor;
 import java.net.MalformedURLException;
 import java.net.URL;

Modified: trunk/src/main/org/jboss/seam/deployment/StandardDeploymentStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/deployment/StandardDeploymentStrategy.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/deployment/StandardDeploymentStrategy.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -1,6 +1,5 @@
 package org.jboss.seam.deployment;
 
-import java.lang.annotation.Annotation;
 import java.util.Map;
 import java.util.Set;
 

Modified: trunk/src/main/org/jboss/seam/faces/Navigator.java
===================================================================
--- trunk/src/main/org/jboss/seam/faces/Navigator.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/faces/Navigator.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -1,6 +1,5 @@
 package org.jboss.seam.faces;
 
-import java.io.IOException;
 import java.util.Map;
 
 import javax.faces.application.FacesMessage.Severity;

Modified: trunk/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java
===================================================================
--- trunk/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/mock/AbstractDBUnitSeamTest.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -245,6 +245,7 @@
             }
         }
 
+        @Override
         public String toString() 
         {
             // TODO: This is not pretty because DBUnit's DatabaseOperation doesn't implement toString() properly
@@ -348,6 +349,7 @@
             // http://www.carbonfive.com/community/archives/2005/07/dbunit_hsql_and.html
             config.setProperty(DatabaseConfig.PROPERTY_DATATYPE_FACTORY, new DefaultDataTypeFactory() 
             {
+               @Override
                 public DataType createDataType(int sqlType, String sqlTypeName)
                   throws DataTypeException 
                   {

Modified: trunk/src/main/org/jboss/seam/mock/AbstractSeamTest.java
===================================================================
--- trunk/src/main/org/jboss/seam/mock/AbstractSeamTest.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/mock/AbstractSeamTest.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -32,7 +32,6 @@
 import javax.servlet.http.HttpSession;
 import javax.transaction.UserTransaction;
 
-import org.hibernate.validator.ClassValidator;
 import org.hibernate.validator.InvalidValue;
 import org.jboss.seam.Component;
 import org.jboss.seam.Seam;

Modified: trunk/src/main/org/jboss/seam/navigation/RedirectNavigationHandler.java
===================================================================
--- trunk/src/main/org/jboss/seam/navigation/RedirectNavigationHandler.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/navigation/RedirectNavigationHandler.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -1,6 +1,5 @@
 package org.jboss.seam.navigation;
 
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;

Modified: trunk/src/main/org/jboss/seam/web/RewritingResponse.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/RewritingResponse.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/main/org/jboss/seam/web/RewritingResponse.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -15,7 +15,6 @@
     private static LogProvider log = Logging.getLogProvider(RewritingResponse.class);
 
     private HttpServletRequest request;
-    private HttpServletResponse response;
     private Collection<Pattern> patterns;
 
 
@@ -26,7 +25,6 @@
         super(response);
 
         this.request  = request;
-        this.response = response;
         this.patterns = patterns;   
     }   
     

Modified: trunk/src/test/integration/src/org/jboss/seam/test/integration/UnversionedThing.java
===================================================================
--- trunk/src/test/integration/src/org/jboss/seam/test/integration/UnversionedThing.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/test/integration/src/org/jboss/seam/test/integration/UnversionedThing.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -3,7 +3,6 @@
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
-import javax.persistence.Version;
 
 @Entity
 public class UnversionedThing {

Modified: trunk/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java
===================================================================
--- trunk/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/src/test/integration/src/org/jboss/seam/test/integration/bpm/SeamExpressionEvaluatorTest.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -15,7 +15,7 @@
    @Test
    public void testValueExpression() throws Exception
    {
-      String cid = new FacesRequest()
+      new FacesRequest()
       {
 
          @Override
@@ -31,7 +31,7 @@
    @Test
    public void testMissingMethod() throws Exception
    {
-      String cid = new FacesRequest()
+      new FacesRequest()
       {
 
          @Override

Modified: trunk/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/component/UISeamCommandBase.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -13,7 +13,6 @@
 import javax.faces.component.UIParameter;
 import javax.faces.context.FacesContext;
 import javax.faces.event.ActionListener;
-import javax.faces.event.PhaseEvent;
 import javax.faces.model.DataModel;
 
 import org.jboss.seam.navigation.Pages;

Modified: trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/component/html/HtmlLoadStyle.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -42,6 +42,7 @@
 	 * Setter for isolated
 	 * @param __isolated - new value
 	 */
+	 @Override
 	 public void setIsolated( boolean  __isolated ){
 		this._isolated = __isolated;
 	 		this._isolatedSet = true;
@@ -54,6 +55,7 @@
 	 * Getter for isolated
 	 * @return isolated value from local variable or value bindings
 	 */
+	 @Override
 	 public boolean isIsolated(  ){
 	 		 if(this._isolatedSet){
 			return this._isolated;
@@ -81,8 +83,8 @@
 // Save state
 // ----------------------------------------------------- StateHolder Methods
 
-
-    public Object saveState(FacesContext context) {
+	@Override
+   public Object saveState(FacesContext context) {
         Object values[] = new Object[3];
         values[0] = super.saveState(context);
  	        values[1] = new Boolean(_isolated);
@@ -91,8 +93,8 @@
      	  return values;
    }
    
-
-    public void restoreState(FacesContext context, Object state) {
+   @Override
+   public void restoreState(FacesContext context, Object state) {
         Object values[] = (Object[]) state;
         super.restoreState(context, values[0]);
  	        _isolated = ((Boolean)values[1]).booleanValue();

Modified: trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CacheRendererBase.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CacheRendererBase.java	2008-03-21 20:33:35 UTC (rev 7676)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/renderkit/CacheRendererBase.java	2008-03-22 17:03:24 UTC (rev 7677)
@@ -7,7 +7,6 @@
 import javax.faces.context.FacesContext;
 import javax.faces.context.ResponseWriter;
 
-import org.jboss.seam.core.Init;
 import org.jboss.seam.core.PojoCache;
 import org.jboss.seam.log.LogProvider;
 import org.jboss.seam.log.Logging;




More information about the seam-commits mailing list