trackeditor: fix deprecated errors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8431 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: f799a277cd6bb748116d15f94611e830159a44a4 Former-commit-id: bc87e3d8eb4ff0ee9ef513795709bfe62c59bca8
This commit is contained in:
parent
d07c0a19d1
commit
a9ebcf4f0e
1 changed files with 2 additions and 2 deletions
|
@ -695,7 +695,7 @@ public class XmlReader
|
|||
String tmp = name.substring(6);
|
||||
try
|
||||
{
|
||||
Integer tmpInt = new Integer(tmp);
|
||||
Integer tmpInt = Integer.parseInt(tmp);
|
||||
int i = tmpInt.intValue();
|
||||
if (i > Editor.getProperties().getCurveNameCount())
|
||||
{
|
||||
|
@ -712,7 +712,7 @@ public class XmlReader
|
|||
String tmp = name.substring(9);
|
||||
try
|
||||
{
|
||||
Integer tmpInt = new Integer(tmp);
|
||||
Integer tmpInt = Integer.parseInt(tmp);
|
||||
int i = tmpInt.intValue();
|
||||
if (i > Editor.getProperties().getStraightNameCount())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue