From dea23c4a31028ae3382352d4694cad5c8ed0e0bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 14 Jun 2008 13:43:54 +0200 Subject: [PATCH] add second constructor --- src/net/pterodactylus/jsite/core/Insert.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/net/pterodactylus/jsite/core/Insert.java b/src/net/pterodactylus/jsite/core/Insert.java index d1cc366..019dcde 100644 --- a/src/net/pterodactylus/jsite/core/Insert.java +++ b/src/net/pterodactylus/jsite/core/Insert.java @@ -35,6 +35,20 @@ public class Insert extends Request { private long endTime; /** + * Creates a new insert that starts now. + * + * @param project + * The project that is inserted + * @param node + * The node the project is inserted to + * @param identifier + * The identifier of the insert request + */ + public Insert(Project project, Node node, String identifier) { + this(project, node, identifier, System.currentTimeMillis()); + } + + /** * Creates a new insert. * * @param project -- 2.7.4