From 9c4a04e99ec9d1633700e0ad289be21b48aa193d Mon Sep 17 00:00:00 2001 From: Gianpaolo Coro Date: Fri, 14 Feb 2014 11:01:50 +0000 Subject: [PATCH] git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/EcologicalEngine@91585 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../processing/factories/DynamicTransducerersFactory.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/dataanalysis/ecoengine/processing/factories/DynamicTransducerersFactory.java b/src/main/java/org/gcube/dataanalysis/ecoengine/processing/factories/DynamicTransducerersFactory.java index f23369c..8a0c300 100644 --- a/src/main/java/org/gcube/dataanalysis/ecoengine/processing/factories/DynamicTransducerersFactory.java +++ b/src/main/java/org/gcube/dataanalysis/ecoengine/processing/factories/DynamicTransducerersFactory.java @@ -45,16 +45,13 @@ public class DynamicTransducerersFactory { Map transducerList = new LinkedHashMap(); for (String dynatransducer:dynatransducers){ Object algclass = Class.forName(dynatransducer).newInstance(); - String prefix = dynatransducer; - if (dynatransducer.length()>3) - prefix = dynatransducer.substring(0,3); DynamicTransducer g = (DynamicTransducer) algclass; Map subtrans = g.getTransducers(config); if (subtrans!=null){ for (String stransK:subtrans.keySet()){ Transducerer t = subtrans.get(stransK); t.setConfiguration(config); - transducerList.put(prefix+"."+stransK,t); + transducerList.put(stransK,t); } } }