From f04827c6d3518733442a14e4723d59819859fb48 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Sat, 27 Sep 2014 17:00:03 -0700 Subject: [PATCH] updated android sample --- .../java/com/wordnik/client/model/Order.java | 28 ------------------- .../java/com/wordnik/client/model/Orders.java | 23 --------------- 2 files changed, 51 deletions(-) delete mode 100644 samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Orders.java diff --git a/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Order.java b/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Order.java index 42bceaade9..084eae46fd 100644 --- a/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Order.java +++ b/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Order.java @@ -1,8 +1,6 @@ package com.wordnik.client.model; import java.util.Date; -import java.util.Map; -import java.util.*; import com.wordnik.swagger.annotations.*; @@ -23,8 +21,6 @@ public class Order { private Date shipDate = null; private String status = null; - private Boolean complete = null; - private Map keyValuePairs = new HashMap() ; /** @@ -82,28 +78,6 @@ public class Order { } - /** - **/ - @ApiModelProperty(required = false, value = "") - public Boolean getComplete() { - return complete; - } - public void setComplete(Boolean complete) { - this.complete = complete; - } - - - /** - **/ - @ApiModelProperty(required = false, value = "") - public Map getKeyValuePairs() { - return keyValuePairs; - } - public void setKeyValuePairs(Map keyValuePairs) { - this.keyValuePairs = keyValuePairs; - } - - @Override public String toString() { @@ -115,8 +89,6 @@ public class Order { sb.append(" quantity: ").append(quantity).append("\n"); sb.append(" shipDate: ").append(shipDate).append("\n"); sb.append(" status: ").append(status).append("\n"); - sb.append(" complete: ").append(complete).append("\n"); - sb.append(" keyValuePairs: ").append(keyValuePairs).append("\n"); sb.append("}\n"); return sb.toString(); } diff --git a/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Orders.java b/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Orders.java deleted file mode 100644 index 5100efe804..0000000000 --- a/samples/client/petstore/android-java/src/main/java/com/wordnik/client/model/Orders.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.wordnik.client.model; - -import java.util.Map; -import java.util.HashMap; -import com.wordnik.client.model.Orders; - -import com.wordnik.swagger.annotations.*; - - -@ApiModel(description = "") -public class Orders extends HashMap { - - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Orders {\n"); - sb.append(" " + super.toString()).append("\n"); - sb.append("}\n"); - return sb.toString(); - } -}