Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@91367 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-11 11:39:35 +00:00
parent ed61005813
commit 1097b52459
3 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.5
org.eclipse.jdt.core.compiler.source=1.7

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<installed facet="jst.utility" version="1.0"/>
<installed facet="java" version="1.5"/>
<installed facet="java" version="1.7"/>
</faceted-project>

View File

@ -2569,7 +2569,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
deleteColumnSession);
if (invocation == null) {
throw new TDGWTServiceException(
"Error in ChangeColumnType: Operation not supported for now!");
"Error Delete Column: Operation not supported for now!");
}
TabularResourceId serviceTR = new TabularResourceId(
@ -2578,11 +2578,11 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
logger.debug("OperationInvocation: \n" + invocation.toString());
Task trTask = service.execute(invocation, serviceTR);
logger.debug("Start Task on service: TaskId " + trTask.getId());
SessionUtil.setChangeColumnTypeTask(session, trTask);
SessionUtil.setDeleteColumnTask(session, trTask);
return;
} catch (Exception e) {
e.printStackTrace();
throw new TDGWTServiceException("Error in ChangeColumnType: "
throw new TDGWTServiceException("Error in DeleteColumn: "
+ e.getLocalizedMessage());
}
@ -2604,13 +2604,13 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
if (task == null) {
logger.debug("Task null");
throw new TDGWTServiceException(
"Error in ChangeColumnType task null");
"Error in DeleteColumnMonitor task null");
} else {
TaskStatus status = task.getStatus();
if (status == null) {
logger.debug("Services TaskStatus : null");
throw new TDGWTServiceException(
"Error in ChangeColumnType Status null");
"Error in DeleteColumnMonitor Status null");
} else {
logger.debug("Services TaskStatus: " + task.getStatus());
@ -2624,7 +2624,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
deleteColumnMonitor.setError(new Throwable(task
.getErrorCause()));
} else {
logger.debug("Task exception: Error In ChangeColumnType");
logger.debug("Task exception: Error In DeleteColumnMonitor");
deleteColumnMonitor.setError(new Throwable(
"Error In ChangeColumnType"));
}
@ -2666,7 +2666,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
break;
}
}
SessionUtil.setChangeColumnTypeTask(session, task);
SessionUtil.setDeleteColumnTask(session, task);
}
logger.info("DeleteColumnMonitor(): " + deleteColumnMonitor);