Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@115594 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-06-26 15:39:12 +00:00
parent ea7ec6d60f
commit fec8de84e6
1 changed files with 3 additions and 2 deletions

View File

@ -322,7 +322,8 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
private static SimpleDateFormat sdfPerformance = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss.SSS");
@Override
public void init() throws ServletException {
super.init();
@ -1048,7 +1049,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
ArrayList<TRMetadata> trMetadatas = getTRMetadata(tr);
updateTabResourceInformation(currentTR, trMetadatas);
currentTR.setDate(sdf.format(tr.getCreationDate().getTime()));
currentTR.setValid(tr.isValid());
currentTR.setFinalized(tr.isFinalized());