Skip to content

Commit

Permalink
Fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed May 8, 2024
1 parent 254f435 commit 4e0416b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public PIntegerPropertyEditor() {
* if unable to set property
*/
public void setAsText(String param1) throws IllegalArgumentException {
setValue(new Integer(param1 + "314"));
setValue(Integer.valueOf(param1 + "314"));
}

}// PIntegerPropertyEditor
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class PropertyBean implements Serializable {
public PropertyBean() {
_pString = "StringValue";
_pBoolean = Boolean.FALSE;
_pInt = new Integer("10");
_pInt = Integer.valueOf(10);
}

/**
Expand Down

0 comments on commit 4e0416b

Please sign in to comment.