Use UnsupportedOperationException.

Replaced NotImplementedException with UnsupportedOperationException. See
bug #3011.

Eclipse was throwing some errors related to differences in package names
vs file path. I renamed the packages io.swagger.codegen.Go to
io.swagger.codegen.go, io.swagger.codegen.slim to package
io.swagger.codegen.lumen and io.swagger.codegen.springBoot to
io.swagger.codegen.springboot in some test files.
This commit is contained in:
Pablo Gra\~na
2016-06-01 18:42:06 -03:00
parent 43fe3fa6d0
commit 328787186c
5 changed files with 7 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
package io.swagger.codegen.Go;
package io.swagger.codegen.go;
import io.swagger.codegen.AbstractOptionsTest;
import io.swagger.codegen.CodegenConfig;
@@ -29,7 +29,7 @@ public class GoClientOptionsTest extends AbstractOptionsTest {
clientCodegen.setPackageVersion(GoClientOptionsProvider.PACKAGE_VERSION_VALUE);
times = 1;
clientCodegen.setPackageName(GoClientOptionsProvider.PACKAGE_NAME_VALUE);
times = 1;
times = 1;
}};
}
}

View File

@@ -1,4 +1,4 @@
package io.swagger.codegen.Go;
package io.swagger.codegen.go;
import io.swagger.codegen.CodegenModel;
import io.swagger.codegen.CodegenProperty;

View File

@@ -1,4 +1,4 @@
package io.swagger.codegen.slim;
package io.swagger.codegen.lumen;
import io.swagger.codegen.AbstractOptionsTest;
import io.swagger.codegen.CodegenConfig;

View File

@@ -1,4 +1,4 @@
package io.swagger.codegen.springBoot;
package io.swagger.codegen.springboot;
import io.swagger.codegen.CodegenConfig;
import io.swagger.codegen.java.JavaClientOptionsTest;
@@ -54,7 +54,7 @@ public class SpringBootServerOptionsTest extends JavaClientOptionsTest {
times = 1;
clientCodegen.setBasePackage(SpringBootServerOptionsProvider.BASE_PACKAGE_VALUE);
times = 1;
}};
}
}