From c6a305813d0e376605b1dc0c4f71323daaefc55f Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 13 Feb 2014 18:05:10 +0000 Subject: [PATCH] Minor Update git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@91562 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/td/gwtservice/server/TDGWTServiceImpl.java | 6 ++---- .../gcube/portlets/user/td/gwtservice/shared/Constants.java | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java index 44c61e1..c360a26 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/TDGWTServiceImpl.java @@ -2308,9 +2308,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements operationDefinition = getOperationDescriptorWithId( OperationsId.ChangeToMeasureColumn.toString(), capabilities); - map.put(Constants.PARAMETER_DATA_TYPE, ColumnDataTypeMap - .map(changeColumnTypeSession.getColumnDataType())); - map.put(Constants.PARAMETER_DATA_TYPE_TARGET, ColumnDataTypeMap + map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap .map(changeColumnTypeSession.getColumnDataTypeTarget())); invocation = new OperationExecution(changeColumnTypeSession .getColumnData().getColumnId(), @@ -2322,7 +2320,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements OperationsId.ChangeToAttributeColumn.toString(), capabilities); - map.put(Constants.PARAMETER_DATA_TYPE_TARGET, ColumnDataTypeMap + map.put(Constants.PARAMETER_TARGET_DATA_TYPE, ColumnDataTypeMap .map(changeColumnTypeSession.getColumnDataTypeTarget())); invocation = new OperationExecution(changeColumnTypeSession .getColumnData().getColumnId(), diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java index 0d5bfaa..b95a727 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/shared/Constants.java @@ -28,7 +28,7 @@ public class Constants { public static final String PARAMETER_VERSION ="version"; public static final String PARAMETER_DATA_TYPE="dataType"; - public static final String PARAMETER_DATA_TYPE_TARGET="dataTypeTarget"; + public static final String PARAMETER_TARGET_DATA_TYPE="targetDataType";