From 443400257166817e417a67c6e2630a540b1fa075 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 23 Mar 2011 20:23:43 +0100 Subject: [PATCH] Set creation time when a new image is created. --- src/main/java/net/pterodactylus/sone/data/Image.java | 1 + 1 file changed, 1 insertion(+) 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()); } /** -- 2.7.4