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 2017/10/10 18:01:34 UTC

[lang] [LANG-1355] TimeZone.getTimeZone() in FastDateParser causes resource contention. Javadoc: Use the active voice.

Repository: commons-lang
Updated Branches:
  refs/heads/master 1dbfaeecb -> 33a1f82a1


[LANG-1355] TimeZone.getTimeZone() in FastDateParser causes resource
contention</action>. 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/33a1f82a
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/33a1f82a
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/33a1f82a

Branch: refs/heads/master
Commit: 33a1f82a139a9072892fab77039e9234d205b5af
Parents: 1dbfaee
Author: Gary Gregory <gg...@apache.org>
Authored: Tue Oct 10 12:01:31 2017 -0600
Committer: Gary Gregory <gg...@apache.org>
Committed: Tue Oct 10 12:01:31 2017 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/time/FastTimeZone.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/33a1f82a/src/main/java/org/apache/commons/lang3/time/FastTimeZone.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/time/FastTimeZone.java b/src/main/java/org/apache/commons/lang3/time/FastTimeZone.java
index 3962479..f43b268 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastTimeZone.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastTimeZone.java
@@ -34,7 +34,7 @@ public class FastTimeZone {
     }
 
     /**
-     * Get the GMT TimeZone.
+     * Gets the GMT TimeZone.
      * @return A TimeZone with a raw offset of zero.
      */
     public static TimeZone getGmtTimeZone() {
@@ -42,7 +42,7 @@ public class FastTimeZone {
     }
 
     /**
-     * Get a TimeZone, looking first for GMT custom ids, then falling back to Olson ids.
+     * Gets a TimeZone, looking first for GMT custom ids, then falling back to Olson ids.
      * A GMT custom id can be 'Z', or 'UTC', or has an optional prefix of GMT,
      * followed by sign, hours digit(s), optional colon(':'), and optional minutes digits.
      * i.e. <em>[GMT] (+|-) Hours [[:] Minutes]</em>
@@ -61,7 +61,7 @@ public class FastTimeZone {
     private static final Pattern GMT_PATTERN = Pattern.compile("^(?:(?i)GMT)?([+-])?(\\d\\d?)?(:?(\\d\\d?))?$");
 
     /**
-     * Get a TimeZone with GMT offsets.  A GMT offset must be either 'Z', or 'UTC', or match
+     * Gets a TimeZone with GMT offsets.  A GMT offset must be either 'Z', or 'UTC', or match
      * <em>(GMT)? hh?(:?mm?)?</em>, where h and m are digits representing hours and minutes.
      *
      * @param pattern The GMT offset