This commit is contained in:
Nunzio Andrea Galante 2017-09-01 15:50:01 +00:00
parent b1b51eb9b0
commit 2c06d9bee8
1 changed files with 6 additions and 4 deletions

View File

@ -430,7 +430,8 @@ public class SVNUpdater {
***REMOVED***
public String generateAlgorithmEntry(Algorithm algorithm, String targetVRE, String category, String algorithm_type,String env) {
Timestamp timestamp = new Timestamp(System.currentTimeMillis());
***REMOVED***Timestamp timestamp = new Timestamp(System.currentTimeMillis());
long unixTime = System.currentTimeMillis() / 1000L;
StringBuffer sb = new StringBuffer("| ");
sb.append(algorithm.getName() + " | ");
@ -441,7 +442,7 @@ public class SVNUpdater {
+ algorithm.getClazz() + " " + targetVRE + " " + algorithm_type + " N "
+ algorithm.getPackageURL() + " \"" + algorithm.getDescription() + "\" </notextile> | ");
sb.append("none | ");
sb.append(timestamp + " | ");
sb.append(unixTime + " | ");
return sb.toString();
***REMOVED***
@ -647,7 +648,8 @@ public class SVNUpdater {
***REMOVED***File a = new File("/home/ngalante/Desktop/testCiro");
***REMOVED***File b = new File ("/home/ngalante/Desktop/testB");
long unixTime = System.currentTimeMillis() / 1000L;
System.out.println(unixTime);
***REMOVED***c.updateAlgorithmFiles(a);
***REMOVED***c.updateAlgorithmFiles(b);