Issue #2080: Fix AbstractClassWithoutAbstractMethods rule violations

This commit is contained in:
Michal Kordas 2015-09-17 22:46:50 +02:00
parent bad81c81c2
commit 9fcb40a184
4 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
</inspection_tool>
<inspection_tool class="AbstractClassNeverImplemented" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AbstractClassWithOnlyOneDirectInheritor" enabled="false" level="ERROR" enabled_by_default="false" />
<inspection_tool class="AbstractClassWithoutAbstractMethods" enabled="false" level="ERROR" enabled_by_default="false" />
<inspection_tool class="AbstractClassWithoutAbstractMethods" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AbstractMethodCallInConstructor" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AbstractMethodOverridesAbstractMethod" enabled="true" level="ERROR" enabled_by_default="true" />
<inspection_tool class="AbstractMethodOverridesConcreteMethod" enabled="true" level="ERROR" enabled_by_default="true" />

View File

@ -37,7 +37,7 @@ import javax.swing.event.EventListenerList;
*
* @author Philip Milne
*/
public abstract class AbstractCellEditor implements CellEditor {
public class BaseCellEditor implements CellEditor {
/**
* A list of event listeners for the cell editor.

View File

@ -194,7 +194,7 @@ public class JTreeTable extends JTable {
* TreeTableCellEditor implementation. Component returned is the
* JTree.
*/
private class TreeTableCellEditor extends AbstractCellEditor implements
private class TreeTableCellEditor extends BaseCellEditor implements
TableCellEditor {
@Override
public Component getTableCellEditorComponent(JTable table,

View File

@ -20,7 +20,7 @@ import com.google.common.collect.Lists;
import com.puppycrawl.tools.checkstyle.api.AuditEvent;
import com.puppycrawl.tools.checkstyle.api.Configuration;
public abstract class BaseCheckTestSupport {
public class BaseCheckTestSupport {
/**
* A brief logger that only display info about errors.
*/