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,39 +52,19 @@ public abstract class AbstractArrayFieldConfig {
52 return primitiveIntegers; 52 return primitiveIntegers;
53 } 53 }
54 54
55 - public void setPrimitiveIntegers(int[] primitiveIntegers) {  
56 - this.primitiveIntegers = primitiveIntegers;  
57 - }  
58 -  
59 public Integer[] getWrappedIntegers() { 55 public Integer[] getWrappedIntegers() {
60 return wrappedIntegers; 56 return wrappedIntegers;
61 } 57 }
62 58
63 - public void setWrappedIntegers(Integer[] wrappedIntegers) {  
64 - this.wrappedIntegers = wrappedIntegers;  
65 - }  
66 -  
67 public String[] getStrings() { 59 public String[] getStrings() {
68 return strings; 60 return strings;
69 } 61 }
70 62
71 - public void setStrings(String[] strings) {  
72 - this.strings = strings;  
73 - }  
74 -  
75 public double[] getPrimitiveDoubles() { 63 public double[] getPrimitiveDoubles() {
76 return primitiveDoubles; 64 return primitiveDoubles;
77 } 65 }
78 66
79 - public void setPrimitiveDoubles(double[] primitiveDoubles) {  
80 - this.primitiveDoubles = primitiveDoubles;  
81 - }  
82 -  
83 public Double[] getWrappedDoubles() { 67 public Double[] getWrappedDoubles() {
84 return wrappedDoubles; 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,31 +50,15 @@ public abstract class AbstractBasicFieldConfig {
50 return wrappedInteger; 50 return wrappedInteger;
51 } 51 }
52 52
53 - public void setWrappedInteger(Integer wrappedInteger) {  
54 - this.wrappedInteger = wrappedInteger;  
55 - }  
56 -  
57 public int getPrimitiveInteger() { 53 public int getPrimitiveInteger() {
58 return primitiveInteger; 54 return primitiveInteger;
59 } 55 }
60 56
61 - public void setPrimitiveInteger(int primitiveInteger) {  
62 - this.primitiveInteger = primitiveInteger;  
63 - }  
64 -  
65 public String getStringWithSpace() { 57 public String getStringWithSpace() {
66 return stringWithSpace; 58 return stringWithSpace;
67 } 59 }
68 60
69 - public void setStringWithSpace(String stringWithSpace) {  
70 - this.stringWithSpace = stringWithSpace;  
71 - }  
72 -  
73 public String getStringWithComma() { 61 public String getStringWithComma() {
74 return stringWithComma; 62 return stringWithComma;
75 } 63 }
76 -  
77 - public void setStringWithComma(String stringWithComma) {  
78 - this.stringWithComma = stringWithComma;  
79 - }  
80 } 64 }