Fixed some more indentations problems

This commit is contained in:
JULIEN MASNADA 2016-01-13 00:27:31 +01:00 committed by wing328
parent 68dc407f1d
commit 10a9316d75
4 changed files with 9 additions and 9 deletions

View File

@ -240,7 +240,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
} }
} }
if (System.getProperty("debugModels") != null) { if (System.getProperty("debugModels") != null) {
LOGGER.debug("############ Model info ############"); LOGGER.debug("############ Model info ############");
Json.prettyPrint(allModels); Json.prettyPrint(allModels);
} }
@ -340,7 +340,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
} }
} }
if (System.getProperty("debugOperations") != null) { if (System.getProperty("debugOperations") != null) {
LOGGER.debug("############ Operation info ############"); LOGGER.debug("############ Operation info ############");
Json.prettyPrint(allOperations); Json.prettyPrint(allOperations);
} }
@ -379,7 +379,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
config.postProcessSupportingFileData(bundle); config.postProcessSupportingFileData(bundle);
if (System.getProperty("debugSupportingFiles") != null) { if (System.getProperty("debugSupportingFiles") != null) {
LOGGER.debug("############ Supporting file info ############"); LOGGER.debug("############ Supporting file info ############");
Json.prettyPrint(bundle); Json.prettyPrint(bundle);
} }
@ -443,7 +443,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
IOUtils.copy(in, out); IOUtils.copy(in, out);
} else { } else {
if (in == null) { if (in == null) {
LOGGER.error("can't open " + templateFile + " for input"); LOGGER.error("can't open " + templateFile + " for input");
} }
} }
files.add(outputFile); files.add(outputFile);

View File

@ -16,9 +16,9 @@ import org.slf4j.LoggerFactory;
public class JavaInflectorServerCodegen extends JavaClientCodegen implements CodegenConfig { public class JavaInflectorServerCodegen extends JavaClientCodegen implements CodegenConfig {
private static final Logger LOGGER = LoggerFactory.getLogger(JavaInflectorServerCodegen.class); private static final Logger LOGGER = LoggerFactory.getLogger(JavaInflectorServerCodegen.class);
protected String title = "Swagger Inflector"; protected String title = "Swagger Inflector";
public JavaInflectorServerCodegen() { public JavaInflectorServerCodegen() {
super(); super();

View File

@ -15,7 +15,7 @@ import io.swagger.util.Json;
public class SwaggerGenerator extends DefaultCodegen implements CodegenConfig { public class SwaggerGenerator extends DefaultCodegen implements CodegenConfig {
private static final Logger LOGGER = LoggerFactory.getLogger(SwaggerGenerator.class); private static final Logger LOGGER = LoggerFactory.getLogger(SwaggerGenerator.class);
public SwaggerGenerator() { public SwaggerGenerator() {
super(); super();

View File

@ -15,7 +15,7 @@ import io.swagger.util.Yaml;
public class SwaggerYamlGenerator extends DefaultCodegen implements CodegenConfig { public class SwaggerYamlGenerator extends DefaultCodegen implements CodegenConfig {
private static final Logger LOGGER = LoggerFactory.getLogger(SwaggerYamlGenerator.class); private static final Logger LOGGER = LoggerFactory.getLogger(SwaggerYamlGenerator.class);
public SwaggerYamlGenerator() { public SwaggerYamlGenerator() {
super(); super();