Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 95904 invoked from network); 24 Oct 2009 16:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Oct 2009 16:17:36 -0000 Received: (qmail 25218 invoked by uid 500); 24 Oct 2009 16:17:36 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 25137 invoked by uid 500); 24 Oct 2009 16:17:36 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 25128 invoked by uid 99); 24 Oct 2009 16:17:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 16:17:36 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2009 16:17:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E909F2388907; Sat, 24 Oct 2009 16:17:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r829398 - in /commons/proper/lang/trunk/src/test/org/apache/commons/lang: text/ExtendedMessageFormatTest.java text/StrBuilderAppendInsertTest.java time/DateFormatUtilsTest.java Date: Sat, 24 Oct 2009 16:17:13 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091024161713.E909F2388907@eris.apache.org> Author: sebb Date: Sat Oct 24 16:17:13 2009 New Revision: 829398 URL: http://svn.apache.org/viewvc?rev=829398&view=rev Log: Fix internal raw types Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateFormatUtilsTest.java Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java?rev=829398&r1=829397&r2=829398&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/ExtendedMessageFormatTest.java Sat Oct 24 16:17:13 2009 @@ -114,13 +114,13 @@ String extendedPattern = "Name: {0,upper} "; String pattern = extendedPattern + builtinsPattern; - HashSet testLocales = new HashSet(); + HashSet testLocales = new HashSet(); testLocales.addAll(Arrays.asList(DateFormat.getAvailableLocales())); testLocales.retainAll(Arrays.asList(NumberFormat.getAvailableLocales())); testLocales.add(null); - for (Iterator l = testLocales.iterator(); l.hasNext();) { - Locale locale = (Locale) l.next(); + for (Iterator l = testLocales.iterator(); l.hasNext();) { + Locale locale = l.next(); MessageFormat builtins = createMessageFormat(builtinsPattern, locale); String expectedPattern = extendedPattern + builtins.toPattern(); DateFormat df = null; Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java?rev=829398&r1=829397&r2=829398&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java Sat Oct 24 16:17:13 2009 @@ -875,7 +875,7 @@ //----------------------------------------------------------------------- public void testAppendAll_Collection() { StrBuilder sb = new StrBuilder(); - sb.appendAll((Collection) null); + sb.appendAll((Collection) null); assertEquals("", sb.toString()); sb.clear(); @@ -890,7 +890,7 @@ //----------------------------------------------------------------------- public void testAppendAll_Iterator() { StrBuilder sb = new StrBuilder(); - sb.appendAll((Iterator) null); + sb.appendAll((Iterator) null); assertEquals("", sb.toString()); sb.clear(); @@ -928,7 +928,7 @@ //----------------------------------------------------------------------- public void testAppendWithSeparators_Collection() { StrBuilder sb = new StrBuilder(); - sb.appendWithSeparators((Collection) null, ","); + sb.appendWithSeparators((Collection) null, ","); assertEquals("", sb.toString()); sb.clear(); @@ -951,7 +951,7 @@ //----------------------------------------------------------------------- public void testAppendWithSeparators_Iterator() { StrBuilder sb = new StrBuilder(); - sb.appendWithSeparators((Iterator) null, ","); + sb.appendWithSeparators((Iterator) null, ","); assertEquals("", sb.toString()); sb.clear(); Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateFormatUtilsTest.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateFormatUtilsTest.java?rev=829398&r1=829397&r2=829398&view=diff ============================================================================== --- commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateFormatUtilsTest.java (original) +++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/time/DateFormatUtilsTest.java Sat Oct 24 16:17:13 2009 @@ -55,7 +55,7 @@ //----------------------------------------------------------------------- public void testConstructor() { assertNotNull(new DateFormatUtils()); - Constructor[] cons = DateFormatUtils.class.getDeclaredConstructors(); + Constructor[] cons = DateFormatUtils.class.getDeclaredConstructors(); assertEquals(1, cons.length); assertEquals(true, Modifier.isPublic(cons[0].getModifiers())); assertEquals(true, Modifier.isPublic(DateFormatUtils.class.getModifiers()));