diff options
author | Myth Yang <[email protected]> | 2013-08-23 11:10:25 +0800 |
---|---|---|
committer | Myth Yang <[email protected]> | 2013-08-23 11:10:25 +0800 |
commit | 0b0d350bfe97c0101f31d767d54892f7cef05b96 (patch) | |
tree | 8281c8bc19b7413161cf8573b02f0ccc328f376a /client | |
parent | 0a0be038155046b0c30384224154ed55a8ef969d (diff) |
hahaha
Diffstat (limited to 'client')
-rw-r--r-- | client/Socket-demo/Myrequest.java | 2 | ||||
-rw-r--r-- | client/Socket-demo/Myrespond.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/Socket-demo/Myrequest.java b/client/Socket-demo/Myrequest.java index fd2ceb1..e5bfce2 100644 --- a/client/Socket-demo/Myrequest.java +++ b/client/Socket-demo/Myrequest.java @@ -5,6 +5,6 @@ import java.util.Vector; public class Myrequest{ public Vector<Object> contain; Myrequest(){ - contain.clear(); + contain = new Vector<Object>(); } }
\ No newline at end of file diff --git a/client/Socket-demo/Myrespond.java b/client/Socket-demo/Myrespond.java index 6fe4396..ea6ef3b 100644 --- a/client/Socket-demo/Myrespond.java +++ b/client/Socket-demo/Myrespond.java @@ -7,6 +7,6 @@ public class Myrespond{ public String wrong; Myrespond(){ wrong = null; - contain.clear(); + contain = new Vector<Object>(); } }
\ No newline at end of file |