You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sc...@apache.org on 2009/10/24 13:44:08 UTC

svn commit: r829348 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/StandardToStringStyleTest.java

Author: scolebourne
Date: Sat Oct 24 11:44:07 2009
New Revision: 829348

URL: http://svn.apache.org/viewvc?rev=829348&view=rev
Log:
Fix test case tear down that causes other tests to break

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/StandardToStringStyleTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/StandardToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/StandardToStringStyleTest.java?rev=829348&r1=829347&r2=829348&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/StandardToStringStyleTest.java (original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/StandardToStringStyleTest.java Sat Oct 24 11:44:07 2009
@@ -75,7 +75,7 @@
     @Override
     protected void tearDown() throws Exception {
         super.tearDown();
-        ToStringBuilder.setDefaultStyle(STYLE);
+        ToStringBuilder.setDefaultStyle(ToStringStyle.DEFAULT_STYLE);
     }
 
     //----------------------------------------------------------------