Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B7A099FF for ; Thu, 5 Apr 2012 18:20:06 +0000 (UTC) Received: (qmail 13173 invoked by uid 500); 5 Apr 2012 18:20:06 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 13103 invoked by uid 500); 5 Apr 2012 18:20:06 -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 13096 invoked by uid 99); 5 Apr 2012 18:20:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 18:20:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED 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; Thu, 05 Apr 2012 18:20:05 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 3A36423888EA for ; Thu, 5 Apr 2012 18:19:45 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1309987 - in /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time: DateParser.java DatePrinter.java Date: Thu, 05 Apr 2012 18:19:45 -0000 To: commits@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120405181945.3A36423888EA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ggregory Date: Thu Apr 5 18:19:44 2012 New Revision: 1309987 URL: http://svn.apache.org/viewvc?rev=1309987&view=rev Log: Interface members are implicitly public. Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DatePrinter.java Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java?rev=1309987&r1=1309986&r2=1309987&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateParser.java Thu Apr 5 18:19:44 2012 @@ -38,7 +38,7 @@ public interface DateParser { * @return A Date parsed from the string * @throws ParseException if the beginning of the specified string cannot be parsed. */ - public Date parse(String source) throws ParseException; + Date parse(String source) throws ParseException; /** * Equivalent to DateFormat.parse(String, ParsePosition). @@ -51,7 +51,7 @@ public interface DateParser { * @return A Date parsed from the string. In case of error, returns null. * @throws NullPointerException if text or pos is null. */ - public Date parse(String source, ParsePosition pos); + Date parse(String source, ParsePosition pos); // Accessors //----------------------------------------------------------------------- @@ -60,7 +60,7 @@ public interface DateParser { * * @return the pattern, {@link java.text.SimpleDateFormat} compatible */ - public String getPattern(); + String getPattern(); /** *

@@ -74,14 +74,14 @@ public interface DateParser { * * @return the time zone */ - public TimeZone getTimeZone(); + TimeZone getTimeZone(); /** *

Get the locale used by this parser.

* * @return the locale */ - public Locale getLocale(); + Locale getLocale(); /** * Parses text from a string to produce a Date. @@ -95,5 +95,5 @@ public interface DateParser { * * @see java.text.DateFormat#parseObject(String, ParsePosition) */ - public Object parseObject(String source, ParsePosition pos); + Object parseObject(String source, ParsePosition pos); } Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DatePrinter.java URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DatePrinter.java?rev=1309987&r1=1309986&r2=1309987&view=diff ============================================================================== --- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DatePrinter.java (original) +++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DatePrinter.java Thu Apr 5 18:19:44 2012 @@ -37,7 +37,7 @@ public interface DatePrinter { * @return the formatted string * @since 2.1 */ - public String format(long millis); + String format(long millis); /** *

Formats a {@code Date} object using a {@code GregorianCalendar}.

@@ -45,7 +45,7 @@ public interface DatePrinter { * @param date the date to format * @return the formatted string */ - public String format(Date date); + String format(Date date); /** *

Formats a {@code Calendar} object.

@@ -53,7 +53,7 @@ public interface DatePrinter { * @param calendar the calendar to format * @return the formatted string */ - public String format(Calendar calendar); + String format(Calendar calendar); /** *

Formats a milliseond {@code long} value into the @@ -63,7 +63,7 @@ public interface DatePrinter { * @param buf the buffer to format into * @return the specified string buffer */ - public StringBuffer format(long millis, StringBuffer buf); + StringBuffer format(long millis, StringBuffer buf); /** *

Formats a {@code Date} object into the @@ -73,7 +73,7 @@ public interface DatePrinter { * @param buf the buffer to format into * @return the specified string buffer */ - public StringBuffer format(Date date, StringBuffer buf); + StringBuffer format(Date date, StringBuffer buf); /** *

Formats a {@code Calendar} object into the @@ -83,7 +83,7 @@ public interface DatePrinter { * @param buf the buffer to format into * @return the specified string buffer */ - public StringBuffer format(Calendar calendar, StringBuffer buf); + StringBuffer format(Calendar calendar, StringBuffer buf); // Accessors //----------------------------------------------------------------------- @@ -92,7 +92,7 @@ public interface DatePrinter { * * @return the pattern, {@link java.text.SimpleDateFormat} compatible */ - public String getPattern(); + String getPattern(); /** *

Gets the time zone used by this printer.

@@ -101,14 +101,14 @@ public interface DatePrinter { * * @return the time zone */ - public TimeZone getTimeZone(); + TimeZone getTimeZone(); /** *

Gets the locale used by this printer.

* * @return the locale */ - public Locale getLocale(); + Locale getLocale(); /** *

Formats a {@code Date}, {@code Calendar} or