[Clojure] Fix tests: stop dashizing props names (#1310)

* [Clojure] Fix tests: stop dashizing props names

* [Clojure] Remove jdk7 tests
This commit is contained in:
Fabrizio Ferrai
2018-10-25 07:19:52 +03:00
committed by William Cheng
parent eccab2c025
commit bbfaa90242
7 changed files with 44 additions and 46 deletions

View File

@@ -321,7 +321,6 @@ public class ClojureClientCodegen extends DefaultCodegen implements CodegenConfi
@Override
public String toVarName(String name) {
name = name.replaceAll("[^a-zA-Z0-9_-]+", ""); // FIXME: a parameter should not be assigned. Also declare the methods parameters as 'final'.
name = org.openapitools.codegen.utils.StringUtils.dashize(name);
return name;
}