From 8477b8911191637011dd3eac788dc00a963f1672 Mon Sep 17 00:00:00 2001 From: "Christopher Lott (cl778h)" Date: Tue, 14 Nov 2017 14:00:05 -0500 Subject: [PATCH 1/2] Add setResult() method so object can be serialized #4 --- src/test/java/biz/paluch/rest/test/MyModel.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/java/biz/paluch/rest/test/MyModel.java b/src/test/java/biz/paluch/rest/test/MyModel.java index 0900fb0..2af7b4f 100644 --- a/src/test/java/biz/paluch/rest/test/MyModel.java +++ b/src/test/java/biz/paluch/rest/test/MyModel.java @@ -19,4 +19,9 @@ public MyModel(int result) { public int getResult() { return result; } -} \ No newline at end of file + + public void setResult(int result) { + this.result = result; + } + +} From 5cfac38d9203c9d03585f53b2cdfb3b63e58ff41 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 15 Nov 2017 07:55:08 +0100 Subject: [PATCH 2/2] Polishing #5 --- src/test/java/biz/paluch/rest/test/MyModel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/biz/paluch/rest/test/MyModel.java b/src/test/java/biz/paluch/rest/test/MyModel.java index 2af7b4f..4055d1d 100644 --- a/src/test/java/biz/paluch/rest/test/MyModel.java +++ b/src/test/java/biz/paluch/rest/test/MyModel.java @@ -19,9 +19,8 @@ public MyModel(int result) { public int getResult() { return result; } - + public void setResult(int result) { this.result = result; } - }