diff options
author | 2018-01-05 15:49:56 +0530 | |
---|---|---|
committer | 2018-01-05 16:02:40 +0530 | |
commit | 929c29a9c6a9a7e91fe01d18e353cdb6a29bc3d9 (patch) | |
tree | 96f45566c674fa4d71b048afd3813610ff318f50 /src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java | |
parent | c2671c5c1e249b513c2e624d65406e02d4986200 (diff) |
Add private constructor in all static member class
Add @override annotation to overridden functions
Issue-ID: DCAEGEN2-207
Change-Id: I7bf8ad7afec645cbe28fceaaa8f4c04001a0ef6a
Signed-off-by: libujacob <libu.jacob@huawei.com>
Diffstat (limited to 'src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java')
-rw-r--r-- | src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java b/src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java index 041fbaf..509ac2a 100644 --- a/src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java +++ b/src/main/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactory.java @@ -24,9 +24,13 @@ import io.swagger.api.DcaeServicesGroupbyApiService; import io.swagger.api.impl.DcaeServicesGroupbyApiServiceImpl; @javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2016-04-18T20:16:22.119Z") -public class DcaeServicesGroupbyApiServiceFactory { +public final class DcaeServicesGroupbyApiServiceFactory { - private final static DcaeServicesGroupbyApiService service = new DcaeServicesGroupbyApiServiceImpl(); + private static final DcaeServicesGroupbyApiService service = new DcaeServicesGroupbyApiServiceImpl(); + + //Utility classes, which are a collection of static members, are not meant to be instantiated. + private DcaeServicesGroupbyApiServiceFactory(){ + } public static DcaeServicesGroupbyApiService getDcaeServicesGroupbyApi() { |