Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@87248 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a007f8142d
commit
ddcab12afb
|
@ -403,7 +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();
|
||||||
tabResource.setDate(sdf.format(tr.getCreationDate()));
|
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()));
|
||||||
// tr.setMetadata(new CreationDateMetadata(date));
|
// tr.setMetadata(new CreationDateMetadata(date));
|
||||||
|
|
Loading…
Reference in New Issue