Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@87250 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-20 11:42:39 +00:00
parent ddcab12afb
commit 61c825bc02
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
*/
protected void syncTRMetaData(TabularResource tr, TabResource tabResource) {
// Date date = Calendar.getInstance().getTime();
logger.debug("TR [id:"+tr.getId()+" ,creationDate:"+tr.getCreationDate()+"]");
tabResource.setDate(sdf.format(tr.getCreationDate().getTime()));
tr.setMetadata(new NameMetadata(tabResource.getName()));
tr.setMetadata(new DescriptionMetadata(tabResource.getDescription()));