From 01aa106f9f49ff266e72db8100524c234ad3d96f Mon Sep 17 00:00:00 2001 From: ramanjaneya Date: Wed, 27 Sep 2017 11:12:18 +0530 Subject: Replaced with Diamond symbol Added Override annotation Issue-Id:SO-118 Change-Id: I7b2dd323c4676001a6c7695ca10a490b72a7ccd1 Signed-off-by: ramanjaneya --- .../camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpmn') diff --git a/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java index 9e43ee3512..60d65665fe 100644 --- a/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java +++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/db/MyBatisExtendedSessionFactory.java @@ -37,6 +37,7 @@ public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfig private String resourceName; + @Override protected void init() { throw new IllegalArgumentException( "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."); @@ -55,7 +56,6 @@ public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfig setDatabaseTablePrefix(processEngineConfiguration.getDatabaseTablePrefix()); initDataSource(); - //initVariableTypes(); initCommandContextFactory(); initTransactionFactory(); initTransactionContextFactory(); @@ -75,7 +75,7 @@ public class MyBatisExtendedSessionFactory extends StandaloneProcessEngineConfig */ @Override protected Collection getDefaultCommandInterceptorsTxRequired() { - List defaultCommandInterceptorsTxRequired = new ArrayList(); + List defaultCommandInterceptorsTxRequired = new ArrayList<>(); defaultCommandInterceptorsTxRequired.add(new LogInterceptor()); defaultCommandInterceptorsTxRequired.add(new CommandContextInterceptor(commandContextFactory, this, true)); return defaultCommandInterceptorsTxRequired; -- cgit 1.2.3-korg