lewismc commented on a change in pull request #6: SDAP-35 (completed the 
configuration change)
URL: 
https://github.com/apache/incubator-sdap-mudrod/pull/6#discussion_r172946203
 
 

 ##########
 File path: core/src/main/java/org/apache/sdap/mudrod/ssearch/Searcher.java
 ##########
 @@ -186,7 +186,7 @@ public Double exists(ArrayList<String> strList, String 
query) {
       }
 
       ArrayList<String> longdate = (ArrayList<String>) 
result.get("DatasetCitation-ReleaseDateLong");
-      Date date = new Date(Long.valueOf(longdate.get(0)));
+      Date date = new Date(Long.valueOf(longdate.get(0)).longValue());
 
 Review comment:
   Why call long value?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to