From 9383db80fbf0de88608fe6bfbe5edf62471f4abb Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 14 Dec 2016 17:32:01 +0300 Subject: juick-core: api objects should live in core --- .../main/java/com/juick/server/helpers/Status.java | 32 ---------------------- .../java/com/juick/server/helpers/TokensList.java | 30 -------------------- 2 files changed, 62 deletions(-) delete mode 100644 juick-server/src/main/java/com/juick/server/helpers/Status.java delete mode 100644 juick-server/src/main/java/com/juick/server/helpers/TokensList.java (limited to 'juick-server/src/main/java') diff --git a/juick-server/src/main/java/com/juick/server/helpers/Status.java b/juick-server/src/main/java/com/juick/server/helpers/Status.java deleted file mode 100644 index 3c344193..00000000 --- a/juick-server/src/main/java/com/juick/server/helpers/Status.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.juick.server.helpers; - -import com.fasterxml.jackson.annotation.JsonProperty; - -/** - * Created by vitalyster on 25.07.2016. - */ -public class Status { - private final String value; - - public static final Status OK = new Status("ok"); - public static final Status FAIL = new Status("Fail"); - public static final Status ERROR = new Status("Error"); - - public static Status getStatus(final String stringStatus) { - return new Status(stringStatus); - } - - private Status(String value) { - this.value = value; - } - - @JsonProperty("status") - public String getValue() { - return value; - } - - @Override - public String toString() { - return "value = " + value; - } -} diff --git a/juick-server/src/main/java/com/juick/server/helpers/TokensList.java b/juick-server/src/main/java/com/juick/server/helpers/TokensList.java deleted file mode 100644 index cb331e04..00000000 --- a/juick-server/src/main/java/com/juick/server/helpers/TokensList.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.juick.server.helpers; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.util.List; - -/** - * Created by vitalyster on 22.11.2016. - */ -public class TokensList { - private String type; - private List tokens; - - @JsonProperty("type") - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public List getTokens() { - return tokens; - } - - public void setTokens(List tokens) { - this.tokens = tokens; - } -} -- cgit v1.2.3