onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1443342 - in /incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation: Country.java Insert.java Update.java
Date Thu, 07 Feb 2013 07:54:37 GMT
Author: simonetripodi
Date: Thu Feb  7 07:54:37 2013
New Revision: 1443342

URL: http://svn.apache.org/viewvc?rev=1443342&view=rev
Log:
@trivial code format, no functional modifications

Modified:
    incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Country.java
    incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Insert.java
    incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Update.java

Modified: incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Country.java
URL: http://svn.apache.org/viewvc/incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Country.java?rev=1443342&r1=1443341&r2=1443342&view=diff
==============================================================================
--- incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Country.java
(original)
+++ incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Country.java
Thu Feb  7 07:54:37 2013
@@ -24,52 +24,61 @@ import javax.validation.constraints.Size
 
 /**
  */
-public class Country {
+public class Country
+{
 
-    @NotNull(groups = { Update.class })
+    @NotNull( groups = { Update.class } )
     private Long id;
 
-    @NotNull(groups = { Insert.class })
+    @NotNull( groups = { Insert.class } )
     private String name;
 
-    @NotNull(groups = { Insert.class })
-    @Size(max = 2, groups = { Insert.class, Update.class })
+    @NotNull( groups = { Insert.class } )
+    @Size( max = 2, groups = { Insert.class, Update.class } )
     private String iso2Code;
 
-    @NotNull(groups = { Insert.class })
-    @Size(max = 3, groups = { Insert.class, Update.class })
+    @NotNull( groups = { Insert.class } )
+    @Size( max = 3, groups = { Insert.class, Update.class } )
     private String iso3Code;
 
-    public Long getId() {
+    public Long getId()
+    {
         return this.id;
     }
 
-    public void setId(Long id) {
+    public void setId( Long id )
+    {
         this.id = id;
     }
 
-    public String getName() {
+    public String getName()
+    {
         return name;
     }
 
-    public void setName(String name) {
+    public void setName( String name )
+    {
         this.name = name;
     }
 
-    public String getIso2Code() {
+    public String getIso2Code()
+    {
         return iso2Code;
     }
 
-    public void setIso2Code(String iso2Code) {
+    public void setIso2Code( String iso2Code )
+    {
         this.iso2Code = iso2Code;
     }
 
-    public String getIso3Code() {
+    public String getIso3Code()
+    {
         return iso3Code;
     }
 
-    public void setIso3Code(String iso3Code) {
+    public void setIso3Code( String iso3Code )
+    {
         this.iso3Code = iso3Code;
     }
 
-}
\ No newline at end of file
+}

Modified: incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Insert.java
URL: http://svn.apache.org/viewvc/incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Insert.java?rev=1443342&r1=1443341&r2=1443342&view=diff
==============================================================================
--- incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Insert.java
(original)
+++ incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Insert.java
Thu Feb  7 07:54:37 2013
@@ -22,6 +22,7 @@ package org.apache.onami.validation;
 /**
  *
  */
-public interface Insert {
+public interface Insert
+{
 
 }

Modified: incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Update.java
URL: http://svn.apache.org/viewvc/incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Update.java?rev=1443342&r1=1443341&r2=1443342&view=diff
==============================================================================
--- incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Update.java
(original)
+++ incubator/onami/sandbox/validation/src/test/java/org/apache/onami/validation/Update.java
Thu Feb  7 07:54:37 2013
@@ -22,6 +22,7 @@ package org.apache.onami.validation;
 /**
  *
  */
-public interface Update {
+public interface Update
+{
 
 }



Mime
View raw message