[jboss-cvs] JBoss Messaging SVN: r2554 - branches/Branch_1_2_0_SP/tests/src/org/jboss/test/messaging/jms/message.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 16 12:20:30 EDT 2007
Author: clebert.suconic at jboss.com
Date: 2007-03-16 12:20:30 -0400 (Fri, 16 Mar 2007)
New Revision: 2554
Modified:
branches/Branch_1_2_0_SP/tests/src/org/jboss/test/messaging/jms/message/ObjectMessageTest.java
Log:
minor change
Modified: branches/Branch_1_2_0_SP/tests/src/org/jboss/test/messaging/jms/message/ObjectMessageTest.java
===================================================================
--- branches/Branch_1_2_0_SP/tests/src/org/jboss/test/messaging/jms/message/ObjectMessageTest.java 2007-03-16 16:19:08 UTC (rev 2553)
+++ branches/Branch_1_2_0_SP/tests/src/org/jboss/test/messaging/jms/message/ObjectMessageTest.java 2007-03-16 16:20:30 UTC (rev 2554)
@@ -44,20 +44,20 @@
*/
public class ObjectMessageTest extends MessageTestBase
{
- // Constants -----------------------------------------------------
+ // Constants ------------------------------------------------------------------------------------
- // Static --------------------------------------------------------
+ // Static ---------------------------------------------------------------------------------------
- // Attributes ----------------------------------------------------
+ // Attributes -----------------------------------------------------------------------------------
- // Constructors --------------------------------------------------
+ // Constructors ---------------------------------------------------------------------------------
public ObjectMessageTest(String name)
{
super(name);
}
- // Public --------------------------------------------------------
+ // Public ---------------------------------------------------------------------------------------
public void setUp() throws Exception
{
@@ -112,7 +112,7 @@
}
- // Protected -----------------------------------------------------
+ // Protected ------------------------------------------------------------------------------------
protected void prepareMessage(Message m) throws JMSException
{
@@ -134,7 +134,8 @@
protected static ClassLoader newClassLoader(Class anyUserClass) throws Exception
{
URL classLocation = anyUserClass.getProtectionDomain().getCodeSource().getLocation();
- StringTokenizer tokenString = new StringTokenizer(System.getProperty("java.class.path"), File.pathSeparator);
+ StringTokenizer tokenString = new StringTokenizer(System.getProperty("java.class.path"),
+ File.pathSeparator);
String pathIgnore = System.getProperty("java.home");
if (pathIgnore == null)
{
@@ -146,7 +147,8 @@
{
String value = tokenString.nextToken();
URL itemLocation = new File(value).toURL();
- if (!itemLocation.equals(classLocation) && itemLocation.toString().indexOf(pathIgnore) >= 0)
+ if (!itemLocation.equals(classLocation) &&
+ itemLocation.toString().indexOf(pathIgnore) >= 0)
{
//System.out.println("Location:" + itemLocation);
urls.add(itemLocation);
@@ -158,7 +160,8 @@
ClassLoader masterClassLoader = URLClassLoader.newInstance(urlArray, null);
- ClassLoader appClassLoader = URLClassLoader.newInstance(new URL[]{classLocation}, masterClassLoader);
+ ClassLoader appClassLoader = URLClassLoader.newInstance(new URL[]{classLocation},
+ masterClassLoader);
return appClassLoader;
}
More information about the jboss-cvs-commits
mailing list