Skip to content

Commit f498c9b

Browse files
committed
Use generics internally
1 parent e4894f8 commit f498c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ protected List parseElements(String svalue) {
179179
st.wordChars('-', '-');
180180

181181
// Split comma-delimited tokens into a List
182-
final ArrayList list = new ArrayList();
182+
final ArrayList<String> list = new ArrayList<>();
183183
while (true) {
184184
final int ttype = st.nextToken();
185185
if (ttype == StreamTokenizer.TT_WORD ||

0 commit comments

Comments
 (0)