Trivial code cleanup
This commit is contained in:
parent
d934740377
commit
0621f680f8
12 changed files with 158 additions and 152 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue