Trivial code cleanup

This commit is contained in:
Vhati 2017-11-26 11:48:38 -05:00
parent d934740377
commit 0621f680f8
12 changed files with 158 additions and 152 deletions

View file

@ -148,7 +148,7 @@ public class ChecklistTreeSelectionModel extends DefaultTreeSelectionModel {
}
else {
if ( !isSelectionEmpty() ) {
removeSelectionPaths(getSelectionPaths());
removeSelectionPaths( getSelectionPaths() );
}
super.addSelectionPaths( new TreePath[]{temp} );
}
@ -171,7 +171,7 @@ public class ChecklistTreeSelectionModel extends DefaultTreeSelectionModel {
if ( path.getPathCount() == 1 ) {
super.removeSelectionPaths( new TreePath[]{path} );
} else {
toggleRemoveSelection(path);
toggleRemoveSelection( path );
}
}
}