You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/11/17 00:21:07 UTC
[lang] Javadoc: Use the active voice.
Repository: commons-lang
Updated Branches:
refs/heads/master efdff37fb -> 33c104e1b
Javadoc: Use the active voice.
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/33c104e1
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/33c104e1
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/33c104e1
Branch: refs/heads/master
Commit: 33c104e1b4aee768558c63b2a43a88132ff93f6b
Parents: efdff37
Author: Gary Gregory <gg...@apache.org>
Authored: Wed Nov 16 16:21:05 2016 -0800
Committer: Gary Gregory <gg...@apache.org>
Committed: Wed Nov 16 16:21:05 2016 -0800
----------------------------------------------------------------------
.../java/org/apache/commons/lang3/time/DateParser.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/33c104e1/src/main/java/org/apache/commons/lang3/time/DateParser.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/time/DateParser.java b/src/main/java/org/apache/commons/lang3/time/DateParser.java
index 6313452..3702603 100644
--- a/src/main/java/org/apache/commons/lang3/time/DateParser.java
+++ b/src/main/java/org/apache/commons/lang3/time/DateParser.java
@@ -59,7 +59,7 @@ public interface DateParser {
Date parse(String source, ParsePosition pos);
/**
- * Parse a formatted date string according to the format. Updates the Calendar with parsed fields.
+ * Parses a formatted date string according to the format. Updates the Calendar with parsed fields.
* Upon success, the ParsePosition index is updated to indicate how much of the source text was consumed.
* Not all source text needs to be consumed. Upon parse failure, ParsePosition error index is updated to
* the offset of the source text which does not match the supplied format.
@@ -78,7 +78,7 @@ public interface DateParser {
// Accessors
//-----------------------------------------------------------------------
/**
- * <p>Get the pattern used by this parser.</p>
+ * <p>Gets the pattern used by this parser.</p>
*
* @return the pattern, {@link java.text.SimpleDateFormat} compatible
*/
@@ -86,7 +86,7 @@ public interface DateParser {
/**
* <p>
- * Get the time zone used by this parser.
+ * Gets the time zone used by this parser.
* </p>
*
* <p>
@@ -99,7 +99,7 @@ public interface DateParser {
TimeZone getTimeZone();
/**
- * <p>Get the locale used by this parser.</p>
+ * <p>Gets the locale used by this parser.</p>
*
* @return the locale
*/
@@ -116,7 +116,7 @@ public interface DateParser {
Object parseObject(String source) throws ParseException;
/**
- * Parse a date/time string according to the given parse position.
+ * Parses a date/time string according to the given parse position.
*
* @param source A <code>String</code> whose beginning should be parsed.
* @param pos the parse position