Add ID-only constructors.
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Post.java
index 5124b49..c8a3229 100644 (file)
@@ -51,6 +51,16 @@ public class Post {
        /**
         * Creates a new post.
         *
+        * @param id
+        *            The ID of the post
+        */
+       public Post(String id) {
+               this(id, null, 0, null);
+       }
+
+       /**
+        * Creates a new post.
+        *
         * @param sone
         *            The Sone this post belongs to
         * @param text