Skip to content

Commit

Permalink
Fixing FindBugs warnings and bumping version numbers to 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbylight committed Jun 29, 2014
1 parent cfd330e commit 51f242c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


<!-- Set global properties for this build. -->
<property name="version" value="2.5.2"/>
<property name="version" value="2.5.3"/>
<property name="source-dir" location="src"/>
<property name="class-dir" location="ant-classes"/>
<property name="dist-dir" location="dist"/>
Expand Down
2 changes: 1 addition & 1 deletion src/org/fife/rsta/ui/AssistanceIconPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void propertyChange(PropertyChangeEvent e) {
* is not currently available.
*/
public void setAssistanceEnabled(Image img) {
if (img==null && getIcon()!=EMPTY_ICON) {
if (img==null) {
setIcon(EMPTY_ICON);
setToolTipText(null);
}
Expand Down
1 change: 1 addition & 0 deletions src/org/fife/rsta/ui/demo/RSTAUIDemoApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public void searchEvent(SearchEvent e) {
SearchResult result = null;

switch (type) {
default: // Prevent FindBugs warning later
case MARK_ALL:
result = SearchEngine.markAll(textArea, context);
break;
Expand Down

0 comments on commit 51f242c

Please sign in to comment.