diff options
author | Thomas Watson | 2010-10-29 12:53:18 +0000 |
---|---|---|
committer | Thomas Watson | 2010-10-29 12:53:18 +0000 |
commit | 718f5383fde91f43a1a9a0a5adf76ecb056478ac (patch) | |
tree | 2e7ba3661b8bf9f760ef3742a3385d07cf9dd88a /bundles/org.eclipse.equinox.registry | |
parent | 2acbcae6ffa7e61397d4a62d585b8c75325ce897 (diff) | |
download | rt.equinox.bundles-718f5383fde91f43a1a9a0a5adf76ecb056478ac.tar.gz rt.equinox.bundles-718f5383fde91f43a1a9a0a5adf76ecb056478ac.tar.xz rt.equinox.bundles-718f5383fde91f43a1a9a0a5adf76ecb056478ac.zip |
Removed unused entryCount field.
Diffstat (limited to 'bundles/org.eclipse.equinox.registry')
-rw-r--r-- | bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ReferenceMap.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ReferenceMap.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ReferenceMap.java index 283022ad6..bd7dc81d6 100644 --- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ReferenceMap.java +++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ReferenceMap.java @@ -1,6 +1,6 @@ /** * Copyright 2001-2004 The Apache Software Foundation - * Portions (modifications) Copyright 2004-2005 IBM Corp. + * Portions (modifications) Copyright 2004-2010 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -170,8 +170,6 @@ public class ReferenceMap { */ final public static int SOFT = 1; - private int entryCount; - /** * The threshold variable is calculated by multiplying * table.length and loadFactor. @@ -307,7 +305,6 @@ public class ReferenceMap { * @return The new table entry */ private IEntry newEntry(int key, Object value, IEntry next) { - entryCount++; switch (valueType) { case HARD : return new HardRef(key, value, next); |