Author: rsvoboda(a)redhat.com
Date: 2013-10-18 10:14:23 -0400 (Fri, 18 Oct 2013)
New Revision: 18013
Modified:
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
Log:
WSI: bp12 code style fixes
Modified:
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java
===================================================================
---
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java 2013-10-18
14:04:05 UTC (rev 18012)
+++
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/test/ws/jaxws/bp12/wsa/test1190/Test119XTestCase.java 2013-10-18
14:14:23 UTC (rev 18013)
@@ -236,7 +236,9 @@
StringBuffer buffer = new StringBuffer();
while ((inputLine = in.readLine()) != null)
+ {
buffer.append(inputLine);
+ }
in.close();
System.out.println(buffer.toString());
Modified:
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java
===================================================================
---
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2013-10-18
14:04:05 UTC (rev 18012)
+++
projects/wsi-bp-test/trunk/bp12-tests/src/test/java/org/jboss/wsf/test/TestServlet.java 2013-10-18
14:14:23 UTC (rev 18013)
@@ -51,10 +51,14 @@
{
String helperClassName = req.getParameter("helper");
if (helperClassName == null || helperClassName.length() == 0)
+ {
throw new ServletException("helper not specified!");
+ }
String path = req.getParameter("path");
if (path == null || path.length() == 0)
+ {
throw new ServletException("path not specified!");
+ }
try
{
ClientHelper helper = (ClientHelper)
Class.forName(helperClassName).newInstance();
@@ -99,14 +103,18 @@
{
w.print(it.next());
if (it.hasNext())
+ {
w.print(", ");
+ }
}
res.getWriter().print(" # Error tests: ");
for (Iterator<String> it = errorTests.iterator(); it.hasNext();)
{
w.print(it.next());
if (it.hasNext())
+ {
w.print(", ");
+ }
}
}
}
Show replies by date