[seam-commits] Seam SVN: r15281 - in branches/enterprise/WFK-2_1/examples/spring/spring-web: src/main/java/org/jboss/seam/example/spring and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Oct 11 10:50:14 EDT 2012


Author: manaRH
Date: 2012-10-11 10:50:13 -0400 (Thu, 11 Oct 2012)
New Revision: 15281

Modified:
   branches/enterprise/WFK-2_1/examples/spring/spring-web/pom.xml
   branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/BookingListAction.java
   branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/HibernateTestService.java
   branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/RegisterAction.java
Log:
spring example cleanup

Modified: branches/enterprise/WFK-2_1/examples/spring/spring-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/spring/spring-web/pom.xml	2012-10-11 14:50:01 UTC (rev 15280)
+++ branches/enterprise/WFK-2_1/examples/spring/spring-web/pom.xml	2012-10-11 14:50:13 UTC (rev 15281)
@@ -79,6 +79,11 @@
             <scope>provided</scope>
         </dependency>
         <dependency>
+            <groupId>org.jboss.spec.javax.servlet</groupId>
+            <artifactId>jboss-servlet-api_3.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-orm</artifactId>
         </dependency>

Modified: branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/BookingListAction.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/BookingListAction.java	2012-10-11 14:50:01 UTC (rev 15280)
+++ branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/BookingListAction.java	2012-10-11 14:50:13 UTC (rev 15281)
@@ -30,7 +30,6 @@
     @In
     private User user;
 
-    @SuppressWarnings("unused")
     @DataModel
     private List<Booking> bookings;
     @DataModelSelection

Modified: branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/HibernateTestService.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/HibernateTestService.java	2012-10-11 14:50:01 UTC (rev 15280)
+++ branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/HibernateTestService.java	2012-10-11 14:50:13 UTC (rev 15281)
@@ -3,10 +3,8 @@
  */
 package org.jboss.seam.example.spring;
 
-import java.sql.SQLException;
 import java.util.List;
 
-import org.hibernate.HibernateException;
 import org.hibernate.Session;
 import org.hibernate.SessionFactory;
 import org.springframework.transaction.TransactionStatus;

Modified: branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/RegisterAction.java
===================================================================
--- branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/RegisterAction.java	2012-10-11 14:50:01 UTC (rev 15280)
+++ branches/enterprise/WFK-2_1/examples/spring/spring-web/src/main/java/org/jboss/seam/example/spring/RegisterAction.java	2012-10-11 14:50:13 UTC (rev 15281)
@@ -21,7 +21,6 @@
     @In("#{hibernateTestService}")
     private HibernateTestService hibernateTestService;
 
-    @SuppressWarnings("unused")
     @In("hotelSearch")
     private HotelSearchingAction hotelSearchingAction;
 



More information about the seam-commits mailing list