Permalink
Browse files

Fix findbugs warning

  • Loading branch information...
1 parent b42d2d3 commit 30536419b04eef4a8fb0c0968981bd9c166776f1 @arjantijms arjantijms committed Feb 15, 2017
Showing with 2 additions and 3 deletions.
  1. +2 −3 impl/src/main/java/javax/faces/component/UIData.java
@@ -1049,9 +1049,8 @@ public boolean invokeOnComponent(FacesContext context, String clientId,
preRowIndexSep + 1))) {
try {
newRow = Integer
- .valueOf(clientId.substring(preRowIndexSep,
- postRowIndexSep))
- .intValue();
+ .parseInt(clientId.substring(preRowIndexSep,
+ postRowIndexSep));
} catch (NumberFormatException ex) {
// PENDING(edburns): I18N
String message =

0 comments on commit 3053641

Please sign in to comment.