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:
6ce8c9b
)
JAL-3032 refine 'empty status message' test (JS issue 179)
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 9 Jan 2019 15:51:57 +0000
(15:51 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 9 Jan 2019 15:51:57 +0000
(15:51 +0000)
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
8f7b61b
..
340f9be
100644
(file)
--- a/
src/jalview/gui/AlignFrame.java
+++ b/
src/jalview/gui/AlignFrame.java
@@
-997,7
+997,7
@@
public class AlignFrame extends GAlignFrame implements DropTargetListener,
// In JavaScript, we use \u00A0 -- unicode "non-breaking space"
// which is the unicode encoding of
- statusBar.setText(text.length() == 0 ? " " : text);
+ statusBar.setText(text == null || text.isEmpty() ? " " : text);
}
/*