Repository: logging-log4j2
Updated Branches:
  refs/heads/master 166bc6574 -> c97864bb2


Add missing '@Override' annotations.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/fb0f3ca2
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/fb0f3ca2
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/fb0f3ca2

Branch: refs/heads/master
Commit: fb0f3ca2695af77039043875e508cea37da8b752
Parents: 29fe813
Author: Gary Gregory <ggreg...@apache.org>
Authored: Mon Sep 19 22:20:02 2016 -0700
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Mon Sep 19 22:20:02 2016 -0700

----------------------------------------------------------------------
 .../apache/logging/log4j/perf/nogc/OpenHashMapContextData.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/fb0f3ca2/log4j-perf/src/main/java/org/apache/logging/log4j/perf/nogc/OpenHashMapContextData.java
----------------------------------------------------------------------
diff --git 
a/log4j-perf/src/main/java/org/apache/logging/log4j/perf/nogc/OpenHashMapContextData.java
 
b/log4j-perf/src/main/java/org/apache/logging/log4j/perf/nogc/OpenHashMapContextData.java
index 0074c59..df919a8 100644
--- 
a/log4j-perf/src/main/java/org/apache/logging/log4j/perf/nogc/OpenHashMapContextData.java
+++ 
b/log4j-perf/src/main/java/org/apache/logging/log4j/perf/nogc/OpenHashMapContextData.java
@@ -305,7 +305,8 @@ public class OpenHashMapContextData<K, V> implements 
MutableContextData, ThreadC
         }
     }
 
-    public boolean equals(final Object obj) {
+    @Override
+       public boolean equals(final Object obj) {
         if (obj == this) {
             return true;
         }
@@ -705,7 +706,8 @@ public class OpenHashMapContextData<K, V> implements 
MutableContextData, ThreadC
      *
      * @return a hash code for this map.
      */
-    public int hashCode() {
+    @Override
+       public int hashCode() {
         int result = 0;
         for (int j = realSize(), i = 0, t = 0; j-- != 0;) {
             while (keys[i] == null) {

Reply via email to