Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2005-07-07 09:52:55 -0400
committerJohn Camelon2005-07-07 09:52:55 -0400
commitc783685b3903d5ba005fabe6f335bbe6dfdb1274 (patch)
tree8c607f6037184694d61a6201ee7a89e57c9f5680
parentb4926ba45ac4b8098de80ce0e6a9c8cb1cbfb139 (diff)
downloadorg.eclipse.cdt-c783685b3903d5ba005fabe6f335bbe6dfdb1274.tar.gz
org.eclipse.cdt-c783685b3903d5ba005fabe6f335bbe6dfdb1274.tar.xz
org.eclipse.cdt-c783685b3903d5ba005fabe6f335bbe6dfdb1274.zip
*** empty log message ***
-rw-r--r--core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerJob2.java2
-rw-r--r--core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerTypesJob2.java5
2 files changed, 2 insertions, 5 deletions
diff --git a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerJob2.java b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerJob2.java
index 3bcfc65cdd..51be068de3 100644
--- a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerJob2.java
+++ b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerJob2.java
@@ -33,7 +33,7 @@ public abstract class IndexerJob2 implements IIndexJob {
protected IIndex fProjectIndex = null;
protected ICDTIndexer fSourceIndexer = null;
- public static final String FAMILY= "BasicTypeIndexerJob"; //$NON-NLS-1$
+ public static final String FAMILY= "IndexerJob2"; //$NON-NLS-1$
public IndexerJob2(IndexManager indexManager, IProject project) {
fProject = project;
diff --git a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerTypesJob2.java b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerTypesJob2.java
index 7956dc6280..25990d688b 100644
--- a/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerTypesJob2.java
+++ b/core/org.eclipse.cdt.core/browser/org/eclipse/cdt/internal/core/browser/cache/IndexerTypesJob2.java
@@ -167,10 +167,7 @@ public class IndexerTypesJob2 extends IndexerJob2 {
offsetType = offsetType / 10;
m *= 10;
}
- int mod = 1;
- while( offset / ( mod * 10 )> 0 )
- mod *= 10;
- int value = offset % mod;
+ int value = offset - ( offsetType * m );
// int value = Integer.valueOf(String.valueOf(offset).substring(1)).intValue();
TypeReference typeReference = null;

Back to the top