From: David ‘Bombe’ Roden Date: Wed, 23 Mar 2011 19:23:43 +0000 (+0100) Subject: Set creation time when a new image is created. X-Git-Tag: beta-freefall-0.6.2-1~78 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=443400257166817e417a67c6e2630a540b1fa075;p=Sone.git Set creation time when a new image is created. --- diff --git a/src/main/java/net/pterodactylus/sone/data/Image.java b/src/main/java/net/pterodactylus/sone/data/Image.java index e7f28d8..2afb098 100644 --- a/src/main/java/net/pterodactylus/sone/data/Image.java +++ b/src/main/java/net/pterodactylus/sone/data/Image.java @@ -57,6 +57,7 @@ public class Image implements Fingerprintable { */ public Image() { this(UUID.randomUUID().toString()); + setCreationTime(System.currentTimeMillis()); } /**