From c4d4831297d97ff2d0330858951579ad49884a96 Mon Sep 17 00:00:00 2001 From: Myth Yang Date: Fri, 23 Aug 2013 09:12:50 +0800 Subject: new --- client/Socket-demo/Myrespond.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 client/Socket-demo/Myrespond.java (limited to 'client/Socket-demo/Myrespond.java') diff --git a/client/Socket-demo/Myrespond.java b/client/Socket-demo/Myrespond.java new file mode 100644 index 0000000..6fe4396 --- /dev/null +++ b/client/Socket-demo/Myrespond.java @@ -0,0 +1,12 @@ +package com.example.test; + +import java.util.Vector; + +public class Myrespond{ + public Vector contain; + public String wrong; + Myrespond(){ + wrong = null; + contain.clear(); + } +} \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 0b0d350bfe97c0101f31d767d54892f7cef05b96 Mon Sep 17 00:00:00 2001 From: Myth Yang Date: Fri, 23 Aug 2013 11:10:25 +0800 Subject: hahaha --- client/Socket-demo/Myrequest.java | 2 +- client/Socket-demo/Myrespond.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client/Socket-demo/Myrespond.java') 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 contain; Myrequest(){ - contain.clear(); + contain = new Vector(); } } \ 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(); } } \ No newline at end of file -- cgit v1.2.3-70-g09d2