Skip to content

Commit 444a05c

Browse files
committed
minor formatting change
1 parent b9651e5 commit 444a05c

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/ErlangClientCodegen.java

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ public ErlangClientCodegen() {
4848
embeddedTemplateDir = templateDir = "erlang-client";
4949

5050
setReservedWordsLowerCase(
51-
Arrays.asList(
52-
"after","and","andalso","band","begin","bnot","bor","bsl","bsr","bxor","case",
53-
"catch","cond","div","end","fun","if","let","not","of","or","orelse","receive",
54-
"rem","try","when","xor"
55-
)
56-
);
51+
Arrays.asList(
52+
"after","and","andalso","band","begin","bnot","bor","bsl","bsr","bxor","case",
53+
"catch","cond","div","end","fun","if","let","not","of","or","orelse","receive",
54+
"rem","try","when","xor"
55+
)
56+
);
5757

5858
instantiationTypes.clear();
5959

@@ -84,11 +84,9 @@ public ErlangClientCodegen() {
8484

8585
cliOptions.clear();
8686
cliOptions.add(new CliOption(CodegenConstants.PACKAGE_NAME, "Erlang application name (convention: lowercase).")
87-
.defaultValue(this.packageName));
87+
.defaultValue(this.packageName));
8888
cliOptions.add(new CliOption(CodegenConstants.PACKAGE_NAME, "Erlang application version")
89-
.defaultValue(this.packageVersion));
90-
91-
89+
.defaultValue(this.packageVersion));
9290
}
9391

9492
@Override

samples/client/petstore/erlang-client/src/swagger.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
{modules, []},
1313

1414
{maintainers, []},
15-
{licenses, ["Apache 2.0"]},
15+
{licenses, ["Apache-2.0"]},
1616
{links, []}
1717
]}.

0 commit comments

Comments
 (0)