Issue #1555: Remove unused parameters
Fixes some `UnusedParameters` inspection violations. Description: >This inspection reports parameters that are not used by their methods and all method implementations/overriders.
This commit is contained in:
parent
502404055f
commit
b76b91e67a
|
|
@ -211,7 +211,7 @@ public abstract class AbstractTreeTableModel implements TreeTableModel {
|
|||
* and keyboard events in the Tree column to the underlying JTree.
|
||||
*/
|
||||
@Override
|
||||
public boolean isCellEditable(Object node, int column) {
|
||||
public boolean isCellEditable(int column) {
|
||||
return getColumnClass(column) == TreeTableModel.class;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,9 +66,8 @@ public interface TreeTableModel extends TreeModel {
|
|||
* Indicates whether the the value for node {@code node},
|
||||
* at column number {@code column} is editable.
|
||||
*
|
||||
* @param node the node.
|
||||
* @param column the column number
|
||||
* @return true if editable
|
||||
*/
|
||||
boolean isCellEditable(Object node, int column);
|
||||
boolean isCellEditable(int column);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public class TreeTableModelAdapter extends AbstractTableModel {
|
|||
|
||||
@Override
|
||||
public boolean isCellEditable(int row, int column) {
|
||||
return treeTableModel.isCellEditable(nodeForRow(row), column);
|
||||
return treeTableModel.isCellEditable(column);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue