diff options
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 |