helper assert methods should be private

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137893 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2004-08-15 02:36:21 +00:00
parent 11722fb101
commit 131adbbc7c
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ public class DateUtilsTest extends TestCase {
* 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());