commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections TestBinaryHeap.java
Date Sun, 13 Oct 2002 12:59:52 GMT
scolebourne    2002/10/13 05:59:52

  Modified:    collections/src/test/org/apache/commons/collections
                        TestBinaryHeap.java
  Log:
  Use field access not method for testing
  
  Revision  Changes    Path
  1.7       +5 -5      jakarta-commons/collections/src/test/org/apache/commons/collections/TestBinaryHeap.java
  
  Index: TestBinaryHeap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/TestBinaryHeap.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TestBinaryHeap.java	12 Oct 2002 22:36:22 -0000	1.6
  +++ TestBinaryHeap.java	13 Oct 2002 12:59:52 -0000	1.7
  @@ -274,7 +274,7 @@
         super.verify();
         BinaryHeap heap = (BinaryHeap)collection;
   
  -      Comparator c = heap.comparator();
  +      Comparator c = heap.m_comparator;
         if (c == null) c = ComparatorUtils.naturalComparator();
         if (!heap.m_isMinHeap) c = ComparatorUtils.reversedComparator(c);
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message