Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@113471 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9f88bd365f
commit
650de57de0
|
@ -69,7 +69,13 @@ public class OpExecution4ChangeColumnsPosition extends OpExecutionBuilder {
|
|||
logger.error("Error in change position: no column set");
|
||||
throw new TDGWTServiceException("No column set");
|
||||
}
|
||||
|
||||
if (changeColumnsPositionSession.getColumns().size() <=1) {
|
||||
logger.error("Error in change position: Columns <= 1");
|
||||
throw new TDGWTServiceException("There are not enough columns");
|
||||
}
|
||||
|
||||
|
||||
ArrayList<ColumnReference> columns = new ArrayList<ColumnReference>();
|
||||
for (ColumnData col : changeColumnsPositionSession.getColumns()) {
|
||||
ColumnLocalId columnId = new ColumnLocalId(col.getColumnId());
|
||||
|
|
Loading…
Reference in New Issue