Parse contained dependency Timestamp as long instead of int (#4866)
This commit is contained in:
parent
9442a48e93
commit
0fca21fbc5
|
@ -320,7 +320,7 @@ public class LibraryManager
|
|||
{
|
||||
String timestamp = meta.getValue(TIMESTAMP);
|
||||
if (timestamp != null)
|
||||
timestamp = SnapshotJson.TIMESTAMP.format(new Date(Integer.parseInt(timestamp)));
|
||||
timestamp = SnapshotJson.TIMESTAMP.format(new Date(Long.parseLong(timestamp)));
|
||||
|
||||
Artifact artifact = new Artifact(modlist.getRepository(), meta.getValue(MAVEN_ARTIFACT), timestamp);
|
||||
File target = artifact.getFile();
|
||||
|
|
Loading…
Reference in New Issue