mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-07-31 00:15:48 -04:00
Merge branch 'quality_assurance' of bitbucket.org:projectswg/holocore into quality_assurance
Conflicts: src/resources/objects/SWGObject.java
This commit is contained in:
@@ -493,7 +493,7 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
|
||||
if (volume == null)
|
||||
return 0;
|
||||
try {
|
||||
return Integer.valueOf(volume.toString());
|
||||
return Integer.parseInt(volume.toString());
|
||||
} catch (NumberFormatException e) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user