Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@98988 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-07-25 12:55:02 +00:00
parent 6f408bcc8a
commit 18cfc593a1
1 changed files with 6 additions and 3 deletions

View File

@ -421,7 +421,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
"GetTabularREsourceInformation TRId is null");
}
logger.debug("GetTabResourceInformation:" + trId.toString());
logger.debug("GetTabResourceInformation:" + trId);
TabResource currentTR = new TabResource();
currentTR.setTrId(trId);
@ -444,7 +444,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
currentTR.setOwner(owner);
logger.debug("GetTabResourceInformation() updated information:"
+ currentTR.toString());
+ currentTR);
return currentTR;
} catch (TDGWTSessionExpiredException e) {
@ -465,6 +465,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
protected void updateTabResourceInformation(TabResource tabResource,
ArrayList<TRMetadata> trMetadatas) {
for (TRMetadata trMetadata : trMetadatas) {
if (trMetadata instanceof TRDescriptionMetadata) {
tabResource.setDescription(((TRDescriptionMetadata) trMetadata)
@ -3224,6 +3225,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
}
logger.debug("GetTRMetadata retrived: " + listTRMetadata.size());
logger.debug("GetTRMetadata: [" + listTRMetadata + "]");
return listTRMetadata;
} catch (TDGWTSessionExpiredException e) {
@ -7073,7 +7075,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
Job previousJob = previousJobs
.get(jobNumber - 1);
if (previousJob != null) {
Map<String,Object> mapParameters=previousJob.getInvocation().getParameters();
Map<String, Object> mapParameters = previousJob
.getInvocation().getParameters();
if (mapParameters != null) {
@SuppressWarnings("unchecked")
Map<TDTypeValue, Long> mappingPrevious = (Map<TDTypeValue, Long>) mapParameters