Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java')
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java
index 9feb784857..d2233dcfa6 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/ObjectCache.java
@@ -89,13 +89,13 @@ public int hashCode(Object key) {
/**
* Puts the specified element into the hashtable, using the specified
* key. The element may be retrieved by doing a get() with the same key.
- * The key and the element cannot be null.
- *
+ * The key and the element cannot be null.
+ *
* @param key <CODE>Object</CODE> the specified key in the hashtable
* @param value <CODE>int</CODE> the specified element
* @return int the old value of the key, or -1 if it did not have one.
*/
-public int put(Object key, int value) {
+public int put(Object key, int value) {
int index = hashCode(key), length = this.keyTable.length;
while (this.keyTable[index] != null) {
if (this.keyTable[index] == key)

Back to the top