[cleanup] erefactor/EclipseJdt - Remove redundant semicolons (#8666)

EclipseJdt cleanup 'RemoveRedundantSemicolons' applied by erefactor.

For EclipseJdt see https://www.eclipse.org/eclipse/news/4.18/jdt.php
For erefactor see https://github.com/cal101/erefactor
This commit is contained in:
cal 2021-02-27 08:45:51 +01:00 committed by GitHub
parent 2327f856cd
commit bc4bc36de7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 8 deletions

View File

@ -53,5 +53,5 @@ public interface TemplateProcessor {
* @param path The path which has caused an error
* @param context The reason for the error
*/
default void error(Path path, String context) { };
default void error(Path path, String context) { }
}

View File

@ -308,7 +308,7 @@ public class WorkflowSettings {
private String ignoreFileOverride;
// NOTE: All collections must be mutable in the builder, and copied to a new immutable collection in .build()
private Map<String, String> globalProperties = new HashMap<>();;
private Map<String, String> globalProperties = new HashMap<>();
private Builder() {
}

View File

@ -604,7 +604,7 @@ public class PowerShellClientCodegen extends DefaultCodegen implements CodegenCo
this.iconUri = iconUri;
}
public void setSkipVerbParsing(boolean skipVerbParsing) { this.skipVerbParsing = skipVerbParsing; };
public void setSkipVerbParsing(boolean skipVerbParsing) { this.skipVerbParsing = skipVerbParsing; }
@Override
public void processOpts() {

View File

@ -40,8 +40,8 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
private static String CLASS_NAME_SUFFIX_PATTERN = "^[a-zA-Z0-9]*$";
private static String FILE_NAME_SUFFIX_PATTERN = "^[a-zA-Z0-9.-]*$";
public static enum QUERY_PARAM_OBJECT_FORMAT_TYPE {dot, json, key};
public static enum PROVIDED_IN_LEVEL {none, root, any, platform};
public static enum QUERY_PARAM_OBJECT_FORMAT_TYPE {dot, json, key}
public static enum PROVIDED_IN_LEVEL {none, root, any, platform}
private static final String DEFAULT_IMPORT_PREFIX = "./";

View File

@ -122,8 +122,6 @@ public interface JsonCache {
OVERWRITE_EXISTING
}
;
/**
* If the cache is dirty, saves the object graph in JSON format to the specified file.
*

View File

@ -2726,7 +2726,7 @@ public class DefaultCodegenTest {
codegen.setOpenAPI(openAPI);
String modelName = "ObjectWithPropertiesThatHaveValidations";
Schema sc = openAPI.getComponents().getSchemas().get(modelName);;
Schema sc = openAPI.getComponents().getSchemas().get(modelName);
CodegenModel cm = codegen.fromModel(modelName, sc);
List<CodegenProperty> props = cm.getVars();