Skip to content

Commit cac42ef

Browse files
committed
fixed pattern list test
1 parent 02e79f5 commit cac42ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

org.springframework.context/src/test/java/org/springframework/format/number/NumberFormattingTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private static class TestBean {
193193
private BigDecimal[] patternArray;
194194

195195
@NumberFormat(pattern="#,##.00")
196-
private List<BigDecimal>[] patternList;
196+
private List<BigDecimal> patternList;
197197

198198
@NumberFormat(pattern="#,##.00")
199199
private List<BigDecimal> patternList2;
@@ -246,11 +246,11 @@ public void setPatternArray(BigDecimal[] patternArray) {
246246
this.patternArray = patternArray;
247247
}
248248

249-
public List<BigDecimal>[] getPatternList() {
249+
public List<BigDecimal> getPatternList() {
250250
return patternList;
251251
}
252252

253-
public void setPatternList(List<BigDecimal>[] patternList) {
253+
public void setPatternList(List<BigDecimal> patternList) {
254254
this.patternList = patternList;
255255
}
256256

0 commit comments

Comments
 (0)