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:
60add12
)
fix null pointer exception for sources which don't have any additional properties
author
jprocter
<Jim Procter>
Thu, 4 Dec 2008 10:21:46 +0000
(10:21 +0000)
committer
jprocter
<Jim Procter>
Thu, 4 Dec 2008 10:21:46 +0000
(10:21 +0000)
src/jalview/ws/seqfetcher/DbSourceProxyImpl.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/seqfetcher/DbSourceProxyImpl.java
b/src/jalview/ws/seqfetcher/DbSourceProxyImpl.java
index
10aaf7d
..
e3f5664
100644
(file)
--- a/
src/jalview/ws/seqfetcher/DbSourceProxyImpl.java
+++ b/
src/jalview/ws/seqfetcher/DbSourceProxyImpl.java
@@
-47,6
+47,10
@@
public abstract class DbSourceProxyImpl implements DbSourceProxy
*/
\r
public Hashtable getDbSourceProperties()
\r
{
\r
+ if (props==null)
\r
+ {
\r
+ props = new Hashtable();
\r
+ }
\r
return props;
\r
}
\r
\r