You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/11/03 00:30:48 UTC
[3/5] git commit: Normalize indentation to spaces
Normalize indentation to spaces
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/413ec1b2
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/413ec1b2
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/413ec1b2
Branch: refs/heads/5.4-js-rewrite
Commit: 413ec1b2273ea622cad1a46a3a37e9f4bc5ff636
Parents: 42532b8
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Fri Nov 2 16:25:03 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Fri Nov 2 16:25:03 2012 -0700
----------------------------------------------------------------------
.../org/example/testapp/entities/TestEntity.java | 164 +++++++--------
1 files changed, 80 insertions(+), 84 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/413ec1b2/tapestry-beanvalidator/src/test/java/org/example/testapp/entities/TestEntity.java
----------------------------------------------------------------------
diff --git a/tapestry-beanvalidator/src/test/java/org/example/testapp/entities/TestEntity.java b/tapestry-beanvalidator/src/test/java/org/example/testapp/entities/TestEntity.java
index 2078a30..e8c1ed6 100644
--- a/tapestry-beanvalidator/src/test/java/org/example/testapp/entities/TestEntity.java
+++ b/tapestry-beanvalidator/src/test/java/org/example/testapp/entities/TestEntity.java
@@ -13,92 +13,88 @@
// limitations under the License.
package org.example.testapp.entities;
+import javax.validation.constraints.*;
import java.util.ArrayList;
import java.util.Collection;
-import javax.validation.constraints.Max;
-import javax.validation.constraints.Min;
-import javax.validation.constraints.NotNull;
-import javax.validation.constraints.Null;
-import javax.validation.constraints.Size;
-
-public class TestEntity
+public class TestEntity
{
- @NotNull
- private String notNullValue;
-
- @Null
- private String nullValue;
-
- @Max(100)
- private int maxValue;
-
- @Min(6)
- private int minValue;
-
- @Size(min=3, max=6)
- private String stringSizeValue;
-
- @Size(min=2, max=3)
- private Collection<String> collectionSizeValue = new ArrayList<String>();
-
- public String getNotNullValue()
- {
- return notNullValue;
- }
-
- public void setNotNullValue(String notNullValue)
- {
- this.notNullValue = notNullValue;
- }
-
- public String getNullValue()
- {
- return nullValue;
- }
-
- public void setNullValue(String nullValue)
- {
- this.nullValue = nullValue;
- }
-
- public int getMaxValue() {
- return maxValue;
- }
-
- public void setMaxValue(int maxValue)
- {
- this.maxValue = maxValue;
- }
-
- public int getMinValue()
- {
- return minValue;
- }
-
- public void setMinValue(int minValue)
- {
- this.minValue = minValue;
- }
-
-
- public String getStringSizeValue()
- {
- return stringSizeValue;
- }
-
- public void setStringSizeValue(String stringSizeValue)
- {
- this.stringSizeValue = stringSizeValue;
- }
-
- public Collection<String> getCollectionSizeValue()
- {
- return collectionSizeValue;
- }
-
- public void setCollectionSizeValue(Collection<String> collectionSizeValue)
- {
- this.collectionSizeValue = collectionSizeValue;
- }
+ @NotNull
+ private String notNullValue;
+
+ @Null
+ private String nullValue;
+
+ @Max(100)
+ private int maxValue;
+
+ @Min(6)
+ private int minValue;
+
+ @Size(min = 3, max = 6)
+ private String stringSizeValue;
+
+ @Size(min = 2, max = 3)
+ private Collection<String> collectionSizeValue = new ArrayList<String>();
+
+ public String getNotNullValue()
+ {
+ return notNullValue;
+ }
+
+ public void setNotNullValue(String notNullValue)
+ {
+ this.notNullValue = notNullValue;
+ }
+
+ public String getNullValue()
+ {
+ return nullValue;
+ }
+
+ public void setNullValue(String nullValue)
+ {
+ this.nullValue = nullValue;
+ }
+
+ public int getMaxValue()
+ {
+ return maxValue;
+ }
+
+ public void setMaxValue(int maxValue)
+ {
+ this.maxValue = maxValue;
+ }
+
+ public int getMinValue()
+ {
+ return minValue;
+ }
+
+ public void setMinValue(int minValue)
+ {
+ this.minValue = minValue;
+ }
+
+
+ public String getStringSizeValue()
+ {
+ return stringSizeValue;
+ }
+
+ public void setStringSizeValue(String stringSizeValue)
+ {
+ this.stringSizeValue = stringSizeValue;
+ }
+
+ public Collection<String> getCollectionSizeValue()
+ {
+ return collectionSizeValue;
+ }
+
+ public void setCollectionSizeValue(Collection<String> collectionSizeValue)
+ {
+ this.collectionSizeValue = collectionSizeValue;
+ }
}