Skip to content

Commit

Permalink
Get rid of unnecessary boxing/unboxing
Browse files Browse the repository at this point in the history
  • Loading branch information
nezihyigitbasi authored and electrum committed May 4, 2015
1 parent 062fb34 commit cfc74cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private static int getNumber(String propertyName, Session session, int defaultVa
String count = session.getSystemProperties().get(propertyName);
if (count != null) {
try {
return Integer.valueOf(count);
return Integer.parseInt(count);
}
catch (NumberFormatException ignored) {
}
Expand Down

0 comments on commit cfc74cd

Please sign in to comment.