commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1153038 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
Date Tue, 02 Aug 2011 06:14:58 GMT
Author: bayard
Date: Tue Aug  2 06:14:57 2011
New Revision: 1153038

URL: http://svn.apache.org/viewvc?rev=1153038&view=rev
Log:
Added comment on LANG-727

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

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java?rev=1153038&r1=1153037&r2=1153038&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/builder/ToStringBuilderTest.java
Tue Aug  2 06:14:57 2011
@@ -303,6 +303,7 @@ public class ToStringBuilderTest extends
         List<Object> base = new ArrayList<Object>();
         String baseStr = this.toBaseString(base);
 
+        // Lots of contains methods so we're not making assumptions about the order of ArrayList
[LANG-727].
         String result = ToStringBuilder.reflectionToString(base, null, true);
         assertTrue( StringUtils.startsWith(result, baseStr + "[") );
         assertTrue( StringUtils.contains(result, "elementData={<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>,<null>}"
) );



Mime
View raw message