Replaced with Diamond symbol 91/15791/3
authorramanjaneya <ramanjaneya.palleti@huawei.com>
Wed, 27 Sep 2017 05:42:18 +0000 (11:12 +0530)
committerRamanjaneya Reddy <ramanjaneya.palleti@huawei.com>
Wed, 27 Sep 2017 06:57:15 +0000 (06:57 +0000)
Added Override annotation

Issue-Id:SO-118
Change-Id: I7b2dd323c4676001a6c7695ca10a490b72a7ccd1
Signed-off-by: ramanjaneya <ramanjaneya.palleti@huawei.com>
bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java

index 9e43ee3..60d6566 100644 (file)
@@ -37,6 +37,7 @@ public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfig
 \r
   private String resourceName;\r
 \r
+  @Override\r
   protected void init() {\r
     throw new IllegalArgumentException(\r
             "Normal 'init' on process engine only used for extended MyBatis mappings is not allowed, please use 'initFromProcessEngineConfiguration'. You cannot construct a process engine with this configuration.");\r
@@ -55,7 +56,6 @@ public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfig
     setDatabaseTablePrefix(processEngineConfiguration.getDatabaseTablePrefix());\r
 \r
     initDataSource();\r
-    //initVariableTypes();\r
     initCommandContextFactory();\r
     initTransactionFactory();\r
     initTransactionContextFactory();\r
@@ -75,7 +75,7 @@ public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfig
    */\r
   @Override\r
   protected Collection<? extends CommandInterceptor> getDefaultCommandInterceptorsTxRequired() {\r
-    List<CommandInterceptor> defaultCommandInterceptorsTxRequired = new ArrayList<CommandInterceptor>();\r
+    List<CommandInterceptor> defaultCommandInterceptorsTxRequired = new ArrayList<>();\r
     defaultCommandInterceptorsTxRequired.add(new LogInterceptor());\r
     defaultCommandInterceptorsTxRequired.add(new CommandContextInterceptor(commandContextFactory, this, true));\r
     return defaultCommandInterceptorsTxRequired;\r