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:
parent
ddcab12afb
commit
61c825bc02
|
@ -403,6 +403,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
*/
|
*/
|
||||||
protected void syncTRMetaData(TabularResource tr, TabResource tabResource) {
|
protected void syncTRMetaData(TabularResource tr, TabResource tabResource) {
|
||||||
// Date date = Calendar.getInstance().getTime();
|
// Date date = Calendar.getInstance().getTime();
|
||||||
|
logger.debug("TR [id:"+tr.getId()+" ,creationDate:"+tr.getCreationDate()+"]");
|
||||||
tabResource.setDate(sdf.format(tr.getCreationDate().getTime()));
|
tabResource.setDate(sdf.format(tr.getCreationDate().getTime()));
|
||||||
tr.setMetadata(new NameMetadata(tabResource.getName()));
|
tr.setMetadata(new NameMetadata(tabResource.getName()));
|
||||||
tr.setMetadata(new DescriptionMetadata(tabResource.getDescription()));
|
tr.setMetadata(new DescriptionMetadata(tabResource.getDescription()));
|
||||||
|
|
Loading…
Reference in New Issue