Remove redundant abstract methods declarations. #1555
Fixes `AbstractMethodOverridesAbstractMethod` inspection violations. Description: >Reports abstract methods which override abstract methods. Methods with different return types or exception declarations than the method they override are not reported by this inspection.
This commit is contained in:
parent
70d4949aae
commit
d0ecc8cfbb
|
|
@ -62,7 +62,6 @@ package com.puppycrawl.tools.checkstyle.gui;
|
|||
import javax.swing.event.EventListenerList;
|
||||
import javax.swing.event.TreeModelEvent;
|
||||
import javax.swing.event.TreeModelListener;
|
||||
import javax.swing.tree.TreePath;
|
||||
|
||||
/**
|
||||
* An abstract implementation of the TreeTableModel interface, handling
|
||||
|
|
@ -94,9 +93,6 @@ public abstract class AbstractTreeTableModel implements TreeTableModel {
|
|||
return getChildCount(node) == 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public abstract void valueForPathChanged(TreePath path, Object newValue);
|
||||
|
||||
// This is not called in the JTree's default mode: use a naive implementation.
|
||||
@Override
|
||||
public int getIndexOfChild(Object parent, Object child) {
|
||||
|
|
@ -244,9 +240,6 @@ public abstract class AbstractTreeTableModel implements TreeTableModel {
|
|||
return getColumnClass(column) == TreeTableModel.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public abstract void setValueAt(Object value, Object node, int column);
|
||||
|
||||
// Left to be implemented in the subclass:
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue