# HG changeset patch # User one # Date 1349292163 -32400 # Node ID 4fb303b7d661295c5ec0ea17c6a53be3a9f6d3c7 # Parent 4321d97da83010331d864deb1537e3d888142901 modified Claim/setClaimProperties diff -r 4321d97da830 -r 4fb303b7d661 app/models/ClaimModel.java --- a/app/models/ClaimModel.java Thu Oct 04 04:15:14 2012 +0900 +++ b/app/models/ClaimModel.java Thu Oct 04 04:22:43 2012 +0900 @@ -194,7 +194,9 @@ t.put(BACKING, b); t.put(REBUTTLE, r); setProperty(TYPE, type); - setProperty(STATUS, UNKNOWN); // Default Status is unknown. + if (getProperty(STATUS) == null) { + setProperty(STATUS, UNKNOWN); // Default Status is unknown. + } setProperty(TOULMIN, t); } diff -r 4321d97da830 -r 4fb303b7d661 target/scala-2.9.1/cache/compile/compile Binary file target/scala-2.9.1/cache/compile/compile has changed diff -r 4321d97da830 -r 4fb303b7d661 test/RequestTest.java --- a/test/RequestTest.java Thu Oct 04 04:15:14 2012 +0900 +++ b/test/RequestTest.java Thu Oct 04 04:22:43 2012 +0900 @@ -12,17 +12,14 @@ import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; - public class RequestTest { final static String SERVER_ROOT_URI = "http://localhost:9000"; public static void main(String[] args) { - String user1 = "akifumi"; String user2 = "takaaki"; String user3 = "yosiaki"; String user4 = "suzuki"; - createUser(user1); createUser(user2); createUser(user3); @@ -35,16 +32,15 @@ getClaimInfo(user1Claim.get(0).asInt()); editClaimInfo(user1, users2, user1Claim.get(0).asInt()); getClaimInfo(user1Claim.get(0).asInt()); - String[] users3 = {user1}; for (int i=0; i