git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'task/JAL-3234_211_codesigning' into develop
[jalview.git]
/
src
/
jalview
/
bin
/
JalviewLite.java
diff --git
a/src/jalview/bin/JalviewLite.java
b/src/jalview/bin/JalviewLite.java
index
a60496c
..
8873cc9
100644
(file)
--- a/
src/jalview/bin/JalviewLite.java
+++ b/
src/jalview/bin/JalviewLite.java
@@
-198,7
+198,7
@@
public class JalviewLite extends Applet
int apos = -1;
try
{
int apos = -1;
try
{
- apos = new Integer(position).intValue();
+ apos = Integer.valueOf(position).intValue();
apos--;
} catch (NumberFormatException ex)
{
apos--;
} catch (NumberFormatException ex)
{
@@
-337,7
+337,7
@@
public class JalviewLite extends Applet
int from = -1, to = -1;
try
{
int from = -1, to = -1;
try
{
- from = new Integer(cl.substring(0, p)).intValue();
+ from = Integer.valueOf(cl.substring(0, p)).intValue();
from--;
} catch (NumberFormatException ex)
{
from--;
} catch (NumberFormatException ex)
{
@@
-348,7
+348,7
@@
public class JalviewLite extends Applet
}
try
{
}
try
{
- to = new Integer(cl.substring(p + 1)).intValue();
+ to = Integer.valueOf(cl.substring(p + 1)).intValue();
to--;
} catch (NumberFormatException ex)
{
to--;
} catch (NumberFormatException ex)
{
@@
-408,7
+408,7
@@
public class JalviewLite extends Applet
int r = -1;
try
{
int r = -1;
try
{
- r = new Integer(cl).intValue();
+ r = Integer.valueOf(cl).intValue();
r--;
} catch (NumberFormatException ex)
{
r--;
} catch (NumberFormatException ex)
{
@@
-1176,7
+1176,7
@@
public class JalviewLite extends Applet
try
{
StructureSelectionManager.getStructureSelectionManager(me)
try
{
StructureSelectionManager.getStructureSelectionManager(me)
- .mouseOverStructure(new Integer(pdbResNum).intValue(),
+ .mouseOverStructure(Integer.valueOf(pdbResNum).intValue(),
chain, pdbfile);
if (debug)
{
chain, pdbfile);
if (debug)
{
@@
-1212,8
+1212,8
@@
public class JalviewLite extends Applet
{
try
{
{
try
{
- alf.scrollTo(new Integer(topRow).intValue(),
- new Integer(leftHandColumn).intValue());
+ alf.scrollTo(Integer.valueOf(topRow).intValue(),
+ Integer.valueOf(leftHandColumn).intValue());
} catch (Exception ex)
{
} catch (Exception ex)
{
@@
-1244,7
+1244,7
@@
public class JalviewLite extends Applet
{
try
{
{
try
{
- alf.scrollToRow(new Integer(topRow).intValue());
+ alf.scrollToRow(Integer.valueOf(topRow).intValue());
} catch (Exception ex)
{
} catch (Exception ex)
{
@@
-1276,7
+1276,7
@@
public class JalviewLite extends Applet
{
try
{
{
try
{
- alf.scrollToColumn(new Integer(leftHandColumn).intValue());
+ alf.scrollToColumn(Integer.valueOf(leftHandColumn).intValue());
} catch (Exception ex)
{
} catch (Exception ex)
{