Author: thomas.diesler(a)jboss.com
Date: 2007-08-09 03:24:01 -0400 (Thu, 09 Aug 2007)
New Revision: 4271
Modified:
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java
Log:
layout code
Modified:
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java
===================================================================
---
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java 2007-08-09
07:14:48 UTC (rev 4270)
+++
stack/native/branches/native-2.0/src/test/java/org/jboss/test/ws/jaxws/wseventing/EventSinkServlet.java 2007-08-09
07:24:01 UTC (rev 4271)
@@ -39,27 +39,30 @@
* @author Heiko Braun, <heiko(a)openj.net>
* @since 05-Jan-2006
*/
-public class EventSinkServlet extends HttpServlet {
-
- protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
- doRequest(request,response);
+public class EventSinkServlet extends HttpServlet
+{
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
+ {
+ doRequest(request, response);
}
- protected void doPost(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
- doRequest(request,response);
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException
+ {
+ doRequest(request, response);
}
- protected void doRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
+ protected void doRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
+ {
StringBuffer sb = new StringBuffer();
BufferedReader reader = request.getReader();
String s = reader.readLine();
- sb.append( s );
- while(s!=null)
+ sb.append(s);
+ while (s != null)
{
s = reader.readLine();
- if(s!=null)
+ if (s != null)
sb.append(s);
}
Show replies by date