Skip to content

Commit 66dee92

Browse files
committed
consistent indentation (spaces, not tabs)
1 parent d4a94fb commit 66dee92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/swagger-codegen-maven-plugin/src/main/java/io/swagger/codegen/plugin/CodeGenMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void execute() throws MojoExecutionException {
166166
try {
167167
new DefaultGenerator().opts(input).generate();
168168
} catch (Exception e) {
169-
// Maven logs exceptions thrown by plugins only if invoked with -e
169+
// Maven logs exceptions thrown by plugins only if invoked with -e
170170
// I find it annoying to jump through hoops to get basic diagnostic information,
171171
// so let's log it in any case:
172172
getLog().error(e);

modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ public void processOperation(String resourcePath, String httpMethod, Operation o
511511
}
512512
}
513513
catch (Exception ex) {
514-
String msg = "Could not process operation:\n" //
515-
+ " Tag: " + tag + "\n"//
514+
String msg = "Could not process operation:\n" //
515+
+ " Tag: " + tag + "\n"//
516516
+ " Operation: " + operation.getOperationId() + "\n" //
517517
+ " Resource: " + httpMethod + " " + resourcePath + "\n"//
518518
+ " Definitions: " + swagger.getDefinitions();

0 commit comments

Comments
 (0)