Commit 29dee7a44682a033f38353957ffa75d8152b6f37

Authored by Cleverson Sacramento
1 parent d30dc6fb
Exists in master

Removendo os métodos setters

impl/core/src/test/java/br/gov/frameworkdemoiselle/configuration/field/array/AbstractArrayFieldConfig.java
... ... @@ -52,39 +52,19 @@ public abstract class AbstractArrayFieldConfig {
52 52 return primitiveIntegers;
53 53 }
54 54  
55   - public void setPrimitiveIntegers(int[] primitiveIntegers) {
56   - this.primitiveIntegers = primitiveIntegers;
57   - }
58   -
59 55 public Integer[] getWrappedIntegers() {
60 56 return wrappedIntegers;
61 57 }
62 58  
63   - public void setWrappedIntegers(Integer[] wrappedIntegers) {
64   - this.wrappedIntegers = wrappedIntegers;
65   - }
66   -
67 59 public String[] getStrings() {
68 60 return strings;
69 61 }
70 62  
71   - public void setStrings(String[] strings) {
72   - this.strings = strings;
73   - }
74   -
75 63 public double[] getPrimitiveDoubles() {
76 64 return primitiveDoubles;
77 65 }
78 66  
79   - public void setPrimitiveDoubles(double[] primitiveDoubles) {
80   - this.primitiveDoubles = primitiveDoubles;
81   - }
82   -
83 67 public Double[] getWrappedDoubles() {
84 68 return wrappedDoubles;
85 69 }
86   -
87   - public void setWrappedDoubles(Double[] wrappedDoubles) {
88   - this.wrappedDoubles = wrappedDoubles;
89   - }
90 70 }
... ...
impl/core/src/test/java/br/gov/frameworkdemoiselle/configuration/field/basic/AbstractBasicFieldConfig.java
... ... @@ -50,31 +50,15 @@ public abstract class AbstractBasicFieldConfig {
50 50 return wrappedInteger;
51 51 }
52 52  
53   - public void setWrappedInteger(Integer wrappedInteger) {
54   - this.wrappedInteger = wrappedInteger;
55   - }
56   -
57 53 public int getPrimitiveInteger() {
58 54 return primitiveInteger;
59 55 }
60 56  
61   - public void setPrimitiveInteger(int primitiveInteger) {
62   - this.primitiveInteger = primitiveInteger;
63   - }
64   -
65 57 public String getStringWithSpace() {
66 58 return stringWithSpace;
67 59 }
68 60  
69   - public void setStringWithSpace(String stringWithSpace) {
70   - this.stringWithSpace = stringWithSpace;
71   - }
72   -
73 61 public String getStringWithComma() {
74 62 return stringWithComma;
75 63 }
76   -
77   - public void setStringWithComma(String stringWithComma) {
78   - this.stringWithComma = stringWithComma;
79   - }
80 64 }
... ...