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:
8cd5057
)
null exception when annotation created with no description.
author
jprocter
<Jim Procter>
Mon, 19 Mar 2007 14:05:37 +0000
(14:05 +0000)
committer
jprocter
<Jim Procter>
Mon, 19 Mar 2007 14:05:37 +0000
(14:05 +0000)
src/jalview/gui/AnnotationLabels.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AnnotationLabels.java
b/src/jalview/gui/AnnotationLabels.java
index
81a3cd2
..
9590d80
100755
(executable)
--- a/
src/jalview/gui/AnnotationLabels.java
+++ b/
src/jalview/gui/AnnotationLabels.java
@@
-245,7
+245,7
@@
public class AnnotationLabels
annotation.label = dialog.getName();
String text = dialog.getDescription();
- if (text.length() == 0)
+ if (text!=null && text.length() == 0)
{
text = null;
}