[seam-commits] Seam SVN: r13910 - in branches/community/Seam_2_2/src/test: unit/org/jboss/seam/test/unit and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Nov 16 05:31:04 EST 2010


Author: manaRH
Date: 2010-11-16 05:31:03 -0500 (Tue, 16 Nov 2010)
New Revision: 13910

Modified:
   branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/ConcurrentFactoryTest.java
   branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/PageParamTest.java
   branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/RemotingTest.java
   branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/web/ConditionalRequestTest.java
Log:
sorted out some compiler warnings

Modified: branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/ConcurrentFactoryTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/ConcurrentFactoryTest.java	2010-11-16 10:29:14 UTC (rev 13909)
+++ branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/ConcurrentFactoryTest.java	2010-11-16 10:31:03 UTC (rev 13910)
@@ -1,18 +1,15 @@
 package org.jboss.seam.test.integration;
 
-import org.jboss.seam.ScopeType;
+import static org.jboss.seam.ScopeType.APPLICATION;
+
 import org.jboss.seam.annotations.Factory;
-import org.jboss.seam.annotations.Name;
-import org.jboss.seam.annotations.Out;
 import org.jboss.seam.annotations.In;
+import org.jboss.seam.annotations.Name;
 import org.jboss.seam.contexts.ServletLifecycle;
-import org.jboss.seam.core.Init;
 import org.jboss.seam.mock.SeamTest;
 import org.testng.annotations.AfterMethod;
 import org.testng.annotations.Test;
 
-import static org.jboss.seam.ScopeType.APPLICATION;
-
 public class ConcurrentFactoryTest 
     extends SeamTest 
 {

Modified: branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/PageParamTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/PageParamTest.java	2010-11-16 10:29:14 UTC (rev 13909)
+++ branches/community/Seam_2_2/src/test/integration/src/org/jboss/seam/test/integration/PageParamTest.java	2010-11-16 10:31:03 UTC (rev 13910)
@@ -1,10 +1,11 @@
 package org.jboss.seam.test.integration;
 
+import java.util.List;
+
+import javax.faces.application.FacesMessage;
+
 import org.jboss.seam.mock.SeamTest;
 import org.testng.annotations.Test;
-import javax.faces.validator.ValidatorException;
-import javax.faces.application.FacesMessage;
-import java.util.List;
 
 /**
  * @author Pete Muir

Modified: branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/RemotingTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/RemotingTest.java	2010-11-16 10:29:14 UTC (rev 13909)
+++ branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/RemotingTest.java	2010-11-16 10:31:03 UTC (rev 13910)
@@ -15,6 +15,8 @@
 import java.io.StringReader;
 import java.io.UnsupportedEncodingException;
 import java.lang.reflect.Type;
+import java.math.BigDecimal;
+import java.math.BigInteger;
 import java.net.URLEncoder;
 import java.util.ArrayList;
 import java.util.Arrays;
@@ -22,7 +24,6 @@
 import java.util.Collection;
 import java.util.Date;
 import java.util.HashMap;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import java.util.Queue;
@@ -38,6 +39,7 @@
 import org.jboss.seam.mock.MockServletContext;
 import org.jboss.seam.remoting.Call;
 import org.jboss.seam.remoting.CallContext;
+import org.jboss.seam.remoting.InterfaceGenerator;
 import org.jboss.seam.remoting.MarshalUtils;
 import org.jboss.seam.remoting.client.ParserUtils;
 import org.jboss.seam.remoting.wrapper.BagWrapper;
@@ -53,10 +55,6 @@
 import org.jboss.seam.remoting.wrapper.StringWrapper;
 import org.jboss.seam.remoting.wrapper.WrapperFactory;
 import org.testng.annotations.Test;
-import org.w3c.dom.Node;
-import org.jboss.seam.remoting.InterfaceGenerator;
-import java.math.BigInteger;
-import java.math.BigDecimal;
 
 /**
  * Unit tests for Seam Remoting
@@ -381,6 +379,7 @@
    @SuppressWarnings("serial")
    private class InvalidList<E> extends ArrayList<E>
    {
+      @SuppressWarnings("unused")
       public InvalidList()
       {
          throw new InstantiationError();
@@ -539,6 +538,7 @@
    @SuppressWarnings("serial")
    private class InvalidMap extends HashMap
    {
+      @SuppressWarnings("unused")
       public InvalidMap()
       {
          throw new InstantiationError();

Modified: branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/web/ConditionalRequestTest.java
===================================================================
--- branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/web/ConditionalRequestTest.java	2010-11-16 10:29:14 UTC (rev 13909)
+++ branches/community/Seam_2_2/src/test/unit/org/jboss/seam/test/unit/web/ConditionalRequestTest.java	2010-11-16 10:31:03 UTC (rev 13910)
@@ -1,20 +1,21 @@
 package org.jboss.seam.test.unit.web;
 
-import org.testng.annotations.Test;
-import org.testng.Assert;
 import static org.testng.Assert.assertEquals;
-import org.jboss.seam.mock.MockHttpSession;
+
+import java.io.IOException;
+import java.util.Date;
+
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.servlet.http.HttpSession;
+
 import org.jboss.seam.mock.EnhancedMockHttpServletRequest;
 import org.jboss.seam.mock.EnhancedMockHttpServletResponse;
+import org.jboss.seam.mock.MockHttpSession;
 import org.jboss.seam.web.ConditionalAbstractResource;
+import org.testng.annotations.Test;
 
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpSession;
-import javax.servlet.http.HttpServletResponse;
-import javax.servlet.ServletException;
-import java.io.IOException;
-import java.util.Date;
-
 /**
  * @author Christian Bauer
  *



More information about the seam-commits mailing list