Code formatting for initializing lists
Posted
by Roman
on Stack Overflow
See other posts from Stack Overflow
or by Roman
Published on 2010-05-06T19:47:44Z
Indexed on
2010/05/06
19:58 UTC
Read the original article
Hit count: 124
java
|coding-style
I've just found in my java project this code snippet:
List<IssueType> selectedIssueTypes = new ArrayList<IssueType>();
for (Object item : selectedItems)
selectedIssueTypes.add((IssueType) item);
How do you think, can this style be used?
© Stack Overflow or respective owner