Skip to content
Permalink
Browse files
use diamond
  • Loading branch information
olamy committed Apr 5, 2014
1 parent ed46ee3 commit 81758be22e6b697559f5a543037ae8753001acb9
Showing 1 changed file with 3 additions and 3 deletions.
@@ -378,7 +378,7 @@ private boolean checkListField( String value, int minimal, int maximal )
{
StringTokenizer st = new StringTokenizer( value, "," );

List values = new ArrayList();
List<String> values = new ArrayList<>();

while ( st.hasMoreTokens() )
{
@@ -387,9 +387,9 @@ private boolean checkListField( String value, int minimal, int maximal )

int previousValue = -1;

for ( Iterator i = values.iterator(); i.hasNext(); )
for ( Iterator<String> i = values.iterator(); i.hasNext(); )
{
String currentValue = (String) i.next();
String currentValue = i.next();

if ( !checkIntValue( currentValue, minimal, maximal ) )
{

0 comments on commit 81758be

Please sign in to comment.