commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang/time DateUtilsTest.java
Date Sun, 15 Aug 2004 02:36:21 GMT
bayard      2004/08/14 19:36:21

  Modified:    lang/src/test/org/apache/commons/lang/time
                        DateUtilsTest.java
  Log:
  helper assert methods should be private
  
  Revision  Changes    Path
  1.16      +1 -1      jakarta-commons/lang/src/test/org/apache/commons/lang/time/DateUtilsTest.java
  
  Index: DateUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/time/DateUtilsTest.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DateUtilsTest.java	12 Jul 2004 00:08:51 -0000	1.15
  +++ DateUtilsTest.java	15 Aug 2004 02:36:21 -0000	1.16
  @@ -693,7 +693,7 @@
        * Used to check that Calendar objects are close enough
        * delta is in milliseconds
        */
  -    public static void assertEquals(String message, Calendar cal1, Calendar cal2, long
delta) {
  +    private static void assertEquals(String message, Calendar cal1, Calendar cal2, long
delta) {
           if (Math.abs(cal1.getTime().getTime() - cal2.getTime().getTime()) > delta) {
               throw new AssertionFailedError(
                       message + " expected " + cal1.getTime() + " but got " + cal2.getTime());
  
  
  

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


Mime
View raw message