When writing about the hash code, use 'hash code', the compound 'hashcode' is not a work in English. The text 'hashCode()' is left as in of course.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/3ef6a9e9 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/3ef6a9e9 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/3ef6a9e9 Branch: refs/heads/master Commit: 3ef6a9e9c2a84c581b433d34829c8f6c33023def Parents: 8af687f Author: Gary Gregory <[email protected]> Authored: Thu Nov 17 09:58:45 2016 -0800 Committer: Gary Gregory <[email protected]> Committed: Thu Nov 17 09:58:45 2016 -0800 ---------------------------------------------------------------------- .../apache/logging/log4j/core/util/datetime/FastDateFormat.java | 4 ++-- .../apache/logging/log4j/core/util/datetime/FastDateParser.java | 4 ++-- .../apache/logging/log4j/core/util/datetime/FastDatePrinter.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/3ef6a9e9/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateFormat.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateFormat.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateFormat.java index b6ff2c1..6f68a6e 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateFormat.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateFormat.java @@ -571,10 +571,10 @@ public class FastDateFormat extends Format implements DatePrinter, DateParser, S /** * <p> - * Returns a hashcode compatible with equals. + * Returns a hash code compatible with equals. * </p> * - * @return a hashcode compatible with equals + * @return a hash code compatible with equals */ @Override public int hashCode() { http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/3ef6a9e9/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateParser.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateParser.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateParser.java index 13b00fa..19821a2 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateParser.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDateParser.java @@ -308,9 +308,9 @@ public class FastDateParser implements DateParser, Serializable { } /** - * <p>Return a hashcode compatible with equals.</p> + * <p>Return a hash code compatible with equals.</p> * - * @return a hashcode compatible with equals + * @return a hash code compatible with equals */ @Override public int hashCode() { http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/3ef6a9e9/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java index 3bb6574..1a439be 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/datetime/FastDatePrinter.java @@ -549,10 +549,10 @@ public class FastDatePrinter implements DatePrinter, Serializable { /** * <p> - * Returns a hashcode compatible with equals. + * Returns a hash code compatible with equals. * </p> * - * @return a hashcode compatible with equals + * @return a hash code compatible with equals */ @Override public int hashCode() {
