Set creation time when a new image is created.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 23 Mar 2011 19:23:43 +0000 (20:23 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 23 Mar 2011 19:23:43 +0000 (20:23 +0100)
src/main/java/net/pterodactylus/sone/data/Image.java

index e7f28d8..2afb098 100644 (file)
@@ -57,6 +57,7 @@ public class Image implements Fingerprintable {
         */
        public Image() {
                this(UUID.randomUUID().toString());
+               setCreationTime(System.currentTimeMillis());
        }
 
        /**