git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8c1791
)
avoid 1.5 specific methods
author
jprocter
<Jim Procter>
Mon, 17 Jan 2011 14:32:45 +0000
(14:32 +0000)
committer
jprocter
<Jim Procter>
Mon, 17 Jan 2011 14:32:45 +0000
(14:32 +0000)
src/jalview/javascript/JSFunctionExec.java
patch
|
blob
|
history
diff --git
a/src/jalview/javascript/JSFunctionExec.java
b/src/jalview/javascript/JSFunctionExec.java
index
64e8a0e
..
9c6f578
100644
(file)
--- a/
src/jalview/javascript/JSFunctionExec.java
+++ b/
src/jalview/javascript/JSFunctionExec.java
@@
-162,7
+162,7
@@
public class JSFunctionExec implements Runnable
// strip out nulls and complex objects that we can't pass this
// way.
if (objects[i] != null
// strip out nulls and complex objects that we can't pass this
// way.
if (objects[i] != null
- && !(objects[i].getClass().getPackage().getName()
+ && !(objects[i].getClass().getName()
.indexOf("jalview") == 0))
{
sb.append(objects[i].toString());
.indexOf("jalview") == 0))
{
sb.append(objects[i].toString());
@@
-194,7
+194,7
@@
public class JSFunctionExec implements Runnable
}
else
{
}
else
{
- jsex[0] = new Exception(jex);
+ jsex[0] = jex;
}
}
;
}
}
;