forked from loafle/openapi-generator-original
[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:
parent
2327f856cd
commit
bc4bc36de7
@ -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) { }
|
||||
}
|
||||
|
@ -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() {
|
||||
}
|
||||
|
@ -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() {
|
||||
|
@ -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 = "./";
|
||||
|
||||
|
@ -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.
|
||||
*
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user