Skip to content

Commit

Permalink
Delete internal abstract classes AbstractCleanUpCore and AbstractMult…
Browse files Browse the repository at this point in the history
…iFixCore

Signed-off-by: Rob Stryker <stryker@redhat.com>
  • Loading branch information
Rob Stryker committed Feb 8, 2024
1 parent fe7f54f commit 9fdae7f
Show file tree
Hide file tree
Showing 36 changed files with 60 additions and 296 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*
* @param <T> The type of the cleanup this class forwards to.
*/
public class AbstractCleanUpCoreWrapper<T extends AbstractCleanUpCore> extends AbstractCleanUp {
public class AbstractCleanUpCoreWrapper<T extends AbstractCleanUp> extends AbstractCleanUp {
protected final T cleanUpCore;

protected AbstractCleanUpCoreWrapper(Map<String, String> settings, T wrapped) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

/**
* An extension of {@link AbstractCleanUpCoreWrapper} for cases where the wrapped
* cleanup extends {@link AbstractMultiFixCore}
* cleanup extends {@link AbstractMultiFix}
*
* @param <T> The type of the cleanup this class forwards to.
*/
public class AbstractMultiFixCoreWrapper<T extends AbstractMultiFixCore> extends AbstractCleanUpCoreWrapper<T> implements IMultiFix {
public class AbstractMultiFixCoreWrapper<T extends AbstractMultiFix> extends AbstractCleanUpCoreWrapper<T> implements IMultiFix {

protected AbstractMultiFixCoreWrapper(Map<String, String> settings, T wrapped) {
super(settings, wrapped);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class ArrayWithCurlyCleanUpCore extends AbstractCleanUpCore {
public class ArrayWithCurlyCleanUpCore extends AbstractCleanUp {
public ArrayWithCurlyCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class BooleanValueRatherThanComparisonCleanUpCore extends AbstractCleanUpCore {
public class BooleanValueRatherThanComparisonCleanUpCore extends AbstractCleanUp {
public BooleanValueRatherThanComparisonCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Creates fixes which can resolve code style issues
* @see org.eclipse.jdt.internal.corext.fix.CodeStyleFixCore
*/
public class CodeStyleCleanUpCore extends AbstractMultiFixCore {
public class CodeStyleCleanUpCore extends AbstractMultiFix {

public CodeStyleCleanUpCore() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class ConstantsForSystemPropertiesCleanUpCore extends AbstractCleanUpCore {
public class ConstantsForSystemPropertiesCleanUpCore extends AbstractCleanUp {
public ConstantsForSystemPropertiesCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class DoWhileRatherThanWhileCleanUpCore extends AbstractCleanUpCore {
public class DoWhileRatherThanWhileCleanUpCore extends AbstractCleanUp {
public DoWhileRatherThanWhileCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

import org.eclipse.jdt.internal.ui.text.correction.QuickAssistProcessorUtil;

public class InlineDeprecatedMethodCleanUpCore extends AbstractMultiFixCore {
public class InlineDeprecatedMethodCleanUpCore extends AbstractMultiFix {

public InlineDeprecatedMethodCleanUpCore() {
this(Collections.emptyMap());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class InvertEqualsCleanUpCore extends AbstractCleanUpCore {
public class InvertEqualsCleanUpCore extends AbstractCleanUp {
public InvertEqualsCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class LambdaExpressionsCleanUpCore extends AbstractCleanUpCore {
public class LambdaExpressionsCleanUpCore extends AbstractCleanUp {

public LambdaExpressionsCleanUpCore(Map<String, String> options) {
super(options);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
/**
* A fix that removes a String instance from a String literal.
*/
public class NoStringCreationCleanUpCore extends AbstractMultiFixCore {
public class NoStringCreationCleanUpCore extends AbstractMultiFix {
public NoStringCreationCleanUpCore() {
this(Collections.emptyMap());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class OneIfRatherThanDuplicateBlocksThatFallThroughCleanUpCore extends AbstractCleanUpCore {
public class OneIfRatherThanDuplicateBlocksThatFallThroughCleanUpCore extends AbstractCleanUp {
public OneIfRatherThanDuplicateBlocksThatFallThroughCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class PatternMatchingForInstanceofCleanUpCore extends AbstractCleanUpCore {
public class PatternMatchingForInstanceofCleanUpCore extends AbstractCleanUp {
public PatternMatchingForInstanceofCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class PlainReplacementCleanUpCore extends AbstractCleanUpCore {
public class PlainReplacementCleanUpCore extends AbstractCleanUp {
public PlainReplacementCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;
import org.eclipse.jdt.ui.text.java.IProblemLocation;

public class PotentialProgrammingProblemsCleanUpCore extends AbstractMultiFixCore {
public class PotentialProgrammingProblemsCleanUpCore extends AbstractMultiFix {

public PotentialProgrammingProblemsCleanUpCore(Map<String, String> options) {
super(options);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.eclipse.jdt.ui.cleanup.CleanUpRequirements;
import org.eclipse.jdt.ui.cleanup.ICleanUpFix;

public class PrimitiveComparisonCleanUpCore extends AbstractCleanUpCore {
public class PrimitiveComparisonCleanUpCore extends AbstractCleanUp {
public PrimitiveComparisonCleanUpCore(final Map<String, String> options) {
super(options);
}
Expand Down
Loading

0 comments on commit 9fdae7f

Please sign in to comment.