Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Minor updates and change version to 1.0 to represent code used at key…

…note
  • Loading branch information...
commit 8bad5fa2473a14907bfcb8f60d02a3cde511f25a 1 parent 18ab6c7
knrc knrc authored

Showing 48 changed files with 166 additions and 22 deletions. Show diff stats Hide diff stats

  1. +6 2 README
  2. +1 1  admin-model/pom.xml
  3. +1 1  admin/pom.xml
  4. +1 1  application/pom.xml
  5. +1 1  authenticator/pom.xml
  6. +1 1  client/pom.xml
  7. +1 1  distribution/pom.xml
  8. +1 1  errai-model/pom.xml
  9. +1 1  jbwdemo-leaderboard/pom.xml
  10. +1 1  model/pom.xml
  11. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/ApprovedTotal.java
  12. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/ApproverTotal.java
  13. +4 0 model/src/main/java/org/jboss/jbw2012/keynote/model/BuyerTotal.java
  14. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/Category.java
  15. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/Item.java
  16. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/Order.java
  17. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/OrderItem.java
  18. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/ShoppingCart.java
  19. +5 0 model/src/main/java/org/jboss/jbw2012/keynote/model/User.java
  20. +0 1  model/src/test/java/org/jboss/jbw2012/keynote/model/test/UserPersistenceTest.java
  21. +1 1  parent/pom.xml
  22. +1 1  pom.xml
  23. +1 1  process/pom.xml
  24. +1 1  robots/pom.xml
  25. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/Application.java
  26. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/RobotPanel.java
  27. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/StatusPanel.java
  28. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidCategoryException.java
  29. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidCredentialsException.java
  30. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidItemException.java
  31. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidOrderException.java
  32. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidRoleException.java
  33. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidStoreStatusException.java
  34. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidTeamException.java
  35. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidUserException.java
  36. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/JBossWorldException.java
  37. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/MissingRoleException.java
  38. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/OrderAlreadyAssignedException.java
  39. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/OrderAssignedToOtherException.java
  40. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/ServerSideException.java
  41. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/StoreClosedException.java
  42. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/UnassignedOrderException.java
  43. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/UnsupportedRoleException.java
  44. +5 0 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/UserAlreadyAssigneeException.java
  45. +1 1  services-api/pom.xml
  46. +1 1  services/pom.xml
  47. +0 3  services/src/main/java/org/jboss/jbw2012/keynote/rest/resource/UserResource.java
  48. +1 1  utils/pom.xml
8 README
@@ -56,9 +56,9 @@ Accessing the Client Application
56 56
57 57 - buyer application
58 58 <host>:<port>/jbossworld-client
59   -- approver application
  59 +- approver application (password is letmein)
60 60 <host>:<port>/jbossworld-client/#approver
61   -- VP application
  61 +- VP application (password is letmein)
62 62 <host>:<port>/jbossworld-client/#vp
63 63
64 64 Running Robots
@@ -67,3 +67,7 @@ Running Robots
67 67 Execute the following from within the robots directory
68 68 mvn exec:java -Dexec.mainClass=org.jboss.jbw2012.keynote.robots.RobotsClient
69 69
  70 +NOTE
  71 +----
  72 +
  73 +Some of the functionality in this demo has still to be completed. The current version represents the code as it stood on the day of the JBossWorld 2012 Keynote Demo.
2  admin-model/pom.xml
@@ -9,7 +9,7 @@
9 9 <parent>
10 10 <groupId>org.jboss.jbw.keynote2012</groupId>
11 11 <artifactId>parent</artifactId>
12   - <version>1.0-SNAPSHOT</version>
  12 + <version>1.0</version>
13 13 <relativePath>../parent/pom.xml</relativePath>
14 14 </parent>
15 15
2  admin/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
2  application/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
2  authenticator/pom.xml
@@ -9,7 +9,7 @@
9 9 <parent>
10 10 <groupId>org.jboss.jbw.keynote2012</groupId>
11 11 <artifactId>parent</artifactId>
12   - <version>1.0-SNAPSHOT</version>
  12 + <version>1.0</version>
13 13 <relativePath>../parent/pom.xml</relativePath>
14 14 </parent>
15 15
2  client/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
2  distribution/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
2  errai-model/pom.xml
@@ -9,7 +9,7 @@
9 9 <parent>
10 10 <groupId>org.jboss.jbw.keynote2012</groupId>
11 11 <artifactId>parent</artifactId>
12   - <version>1.0-SNAPSHOT</version>
  12 + <version>1.0</version>
13 13 <relativePath>../parent/pom.xml</relativePath>
14 14 </parent>
15 15
2  jbwdemo-leaderboard/pom.xml
@@ -7,7 +7,7 @@
7 7 <artifactId>jbwdemo-leaderboard</artifactId>
8 8 <packaging>war</packaging>
9 9
10   - <version>1.0-SNAPSHOT</version>
  10 + <version>1.0</version>
11 11
12 12 <properties>
13 13 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2  model/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
5 model/src/main/java/org/jboss/jbw2012/keynote/model/ApprovedTotal.java
@@ -12,6 +12,11 @@
12 12 @Table(name="ApprovedTotal")
13 13 public class ApprovedTotal implements Serializable
14 14 {
  15 + /**
  16 + * Generated serial version UID
  17 + */
  18 + private static final long serialVersionUID = 675291529392071333L ;
  19 +
15 20 private Long id ;
16 21 private User buyer ;
17 22 private long approved ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/ApproverTotal.java
@@ -12,6 +12,11 @@
12 12 @Table(name="ApproverTotal")
13 13 public class ApproverTotal implements Serializable
14 14 {
  15 + /**
  16 + * Generated serial version UID
  17 + */
  18 + private static final long serialVersionUID = -7970093684235141792L ;
  19 +
15 20 private Long id ;
16 21 private User approver ;
17 22 private long approved ;
4 model/src/main/java/org/jboss/jbw2012/keynote/model/BuyerTotal.java
@@ -12,6 +12,10 @@
12 12 @Table(name="BuyerTotal")
13 13 public class BuyerTotal implements Serializable
14 14 {
  15 + /**
  16 + * Generated serial version UID
  17 + */
  18 + private static final long serialVersionUID = 5045915275831997648L ;
15 19 private Long id ;
16 20 private User buyer ;
17 21 private long totalBought ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/Category.java
@@ -14,6 +14,11 @@
14 14 @Entity
15 15 public class Category implements Serializable
16 16 {
  17 + /**
  18 + * Generated serial version UID
  19 + */
  20 + private static final long serialVersionUID = 2581585784744985438L ;
  21 +
17 22 private Long id ;
18 23 private String name ;
19 24 private List<Item> items ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/Item.java
@@ -12,6 +12,11 @@
12 12 @Entity
13 13 public class Item implements Serializable
14 14 {
  15 + /**
  16 + * Generated serial version UID
  17 + */
  18 + private static final long serialVersionUID = 8481778755631902261L ;
  19 +
15 20 private Long id ;
16 21 private Category category ;
17 22 private String name ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/Order.java
@@ -22,6 +22,11 @@
22 22 })
23 23 public class Order implements Serializable
24 24 {
  25 + /**
  26 + * Generated serial version UID
  27 + */
  28 + private static final long serialVersionUID = -3422228271538599549L ;
  29 +
25 30 private Long id ;
26 31 private User buyer ;
27 32 private Boolean approved ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/OrderItem.java
@@ -11,6 +11,11 @@
11 11 @Entity
12 12 public class OrderItem implements Serializable
13 13 {
  14 + /**
  15 + * Generated serial version UID
  16 + */
  17 + private static final long serialVersionUID = -7838482870345361515L ;
  18 +
14 19 private Long id ;
15 20 private Item item ;
16 21 private long quantity ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/ShoppingCart.java
@@ -13,6 +13,11 @@
13 13 @Entity
14 14 public class ShoppingCart implements Serializable
15 15 {
  16 + /**
  17 + * Generated serial version UID
  18 + */
  19 + private static final long serialVersionUID = -7959874999604354346L ;
  20 +
16 21 private Long id ;
17 22 private List<OrderItem> orderItems ;
18 23 private User buyer ;
5 model/src/main/java/org/jboss/jbw2012/keynote/model/User.java
@@ -25,6 +25,11 @@
25 25 })
26 26 public class User implements Serializable
27 27 {
  28 + /**
  29 + * Generated serial version UID
  30 + */
  31 + private static final long serialVersionUID = -2970869454313030917L ;
  32 +
28 33 private Long id ;
29 34 private String name ;
30 35 private Team team ;
1  model/src/test/java/org/jboss/jbw2012/keynote/model/test/UserPersistenceTest.java
@@ -25,7 +25,6 @@
25 25 import org.jboss.jbw2012.keynote.model.Team ;
26 26 import org.jboss.jbw2012.keynote.model.User ;
27 27 import org.jboss.jbw2012.keynote.model.test.utils.ModelTestUtils ;
28   -import org.jboss.jbw2012.keynote.model.utils.ModelUtils ;
29 28 import org.junit.Assert ;
30 29 import org.junit.Test ;
31 30 import org.junit.runner.RunWith ;
2  parent/pom.xml
@@ -3,7 +3,7 @@
3 3
4 4 <groupId>org.jboss.jbw.keynote2012</groupId>
5 5 <artifactId>parent</artifactId>
6   - <version>1.0-SNAPSHOT</version>
  6 + <version>1.0</version>
7 7
8 8 <packaging>pom</packaging>
9 9
2  pom.xml
@@ -3,7 +3,7 @@
3 3
4 4 <groupId>org.jboss.jbw.keynote2012</groupId>
5 5 <artifactId>project</artifactId>
6   - <version>1.0-SNAPSHOT</version>
  6 + <version>1.0</version>
7 7
8 8 <packaging>pom</packaging>
9 9
2  process/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
2  robots/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/Application.java
@@ -28,6 +28,11 @@
28 28
29 29 class Application extends JFrame
30 30 {
  31 + /**
  32 + * Generated serial version UID
  33 + */
  34 + private static final long serialVersionUID = 6134141238012944749L ;
  35 +
31 36 private final JMenuItem connect ;
32 37 private final JMenuItem disconnect ;
33 38 private final JMenuItem start ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/RobotPanel.java
@@ -17,6 +17,11 @@
17 17
18 18 class RobotPanel extends JPanel implements RobotListener
19 19 {
  20 + /**
  21 + * Generated serial version UID
  22 + */
  23 + private static final long serialVersionUID = -8276870224630453406L ;
  24 +
20 25 private final JLabel threadCount ;
21 26 private final JLabel invocationCount ;
22 27
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/StatusPanel.java
@@ -7,6 +7,11 @@
7 7
8 8 class StatusPanel extends JPanel
9 9 {
  10 + /**
  11 + * Generated serial version UID
  12 + */
  13 + private static final long serialVersionUID = -5403594625950969204L ;
  14 +
10 15 private static final String MESSAGE = "Status: " ;
11 16 private final JLabel status ;
12 17
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidCategoryException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidCategoryException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -6448061897488982212L ;
  11 +
7 12 public InvalidCategoryException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidCredentialsException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidCredentialsException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 7136379898016333750L ;
  11 +
7 12 public InvalidCredentialsException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidItemException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidItemException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -3510162156172431778L ;
  11 +
7 12 public InvalidItemException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidOrderException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidOrderException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 2312287620260225477L ;
  11 +
7 12 public InvalidOrderException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidRoleException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidRoleException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -1042883449830552849L ;
  11 +
7 12 public InvalidRoleException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidStoreStatusException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidStoreStatusException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 7036949862300172856L ;
  11 +
7 12 public InvalidStoreStatusException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidTeamException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidTeamException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 384009790616706463L ;
  11 +
7 12 public InvalidTeamException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/InvalidUserException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class InvalidUserException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 3220669438972024477L ;
  11 +
7 12 public InvalidUserException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/JBossWorldException.java
@@ -4,6 +4,11 @@
4 4
5 5 abstract class JBossWorldException extends RuntimeException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 1679831195114931245L ;
  11 +
7 12 private final ErrorType errorType ;
8 13
9 14 public JBossWorldException(final ErrorType errorType, final String errorMessage)
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/MissingRoleException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class MissingRoleException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -1363560777584773374L ;
  11 +
7 12 public MissingRoleException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/OrderAlreadyAssignedException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class OrderAlreadyAssignedException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -7581990419451575456L ;
  11 +
7 12 public OrderAlreadyAssignedException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/OrderAssignedToOtherException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class OrderAssignedToOtherException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -2033635839520905825L ;
  11 +
7 12 public OrderAssignedToOtherException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/ServerSideException.java
@@ -3,6 +3,11 @@
3 3
4 4 public class ServerSideException extends RuntimeException
5 5 {
  6 + /**
  7 + * Generated serial version UID
  8 + */
  9 + private static final long serialVersionUID = 523101274271177051L ;
  10 +
6 11 public ServerSideException(final String errorMessage)
7 12 {
8 13 super(errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/StoreClosedException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class StoreClosedException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 7626882897259010196L ;
  11 +
7 12 public StoreClosedException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/UnassignedOrderException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class UnassignedOrderException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -5444597953229119514L ;
  11 +
7 12 public UnassignedOrderException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/UnsupportedRoleException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class UnsupportedRoleException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = -6026288442072567436L ;
  11 +
7 12 public UnsupportedRoleException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
5 robots/src/main/java/org/jboss/jbw2012/keynote/robots/exceptions/UserAlreadyAssigneeException.java
@@ -4,6 +4,11 @@
4 4
5 5 public class UserAlreadyAssigneeException extends JBossWorldException
6 6 {
  7 + /**
  8 + * Generated serial version UID
  9 + */
  10 + private static final long serialVersionUID = 2806913252210397424L ;
  11 +
7 12 public UserAlreadyAssigneeException(final ErrorType errorType, final String errorMessage)
8 13 {
9 14 super(errorType, errorMessage) ;
2  services-api/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
2  services/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14
3  services/src/main/java/org/jboss/jbw2012/keynote/rest/resource/UserResource.java
... ... @@ -1,7 +1,6 @@
1 1 package org.jboss.jbw2012.keynote.rest.resource;
2 2
3 3 import java.util.List ;
4   -import java.util.concurrent.atomic.AtomicInteger ;
5 4
6 5 import javax.inject.Inject ;
7 6 import javax.inject.Singleton ;
@@ -35,8 +34,6 @@
35 34 private static final String VP_SECRET_PASSWORD = "letmein" ;
36 35 private static final String APPROVER_SECRET_PASSWORD = "letmein" ;
37 36
38   - private static final int MAX_BUYER = 26 ;
39   -
40 37 @Inject
41 38 private ModelUtils modelUtils ;
42 39
2  utils/pom.xml
@@ -8,7 +8,7 @@
8 8 <parent>
9 9 <groupId>org.jboss.jbw.keynote2012</groupId>
10 10 <artifactId>parent</artifactId>
11   - <version>1.0-SNAPSHOT</version>
  11 + <version>1.0</version>
12 12 <relativePath>../parent/pom.xml</relativePath>
13 13 </parent>
14 14

0 comments on commit 8bad5fa

Please sign in to comment.
Something went wrong with that request. Please try again.