From 7a1ab1e347d5b29f1fe041e587081ce1cd6058d0 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Fri, 11 Apr 2008 05:39:11 +0000 Subject: [PATCH] Compiler warnings. --- .../org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java index 17d54eefebb..4c13f45b5ee 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java @@ -247,7 +247,7 @@ public abstract class PDOMBinding extends PDOMNamedNode implements IIndexFragmen protected static String getConstantNameForValue(PDOMLinkage linkage, int value) { Class c= linkage.getClass(); Field[] fields= c.getFields(); - for(int i=0; i
  • -1 if b0 < b1 + * @return
    • -1 if b0 < b1 *
    • 0 if b0 == b1 *
    • 1 if b0 > b1 *
    @@ -360,7 +360,7 @@ public abstract class PDOMBinding extends PDOMNamedNode implements IIndexFragmen */ public int pdomCompareTo(PDOMBinding other) { int cmp = comparePDOMBindingQNs(this, other); - if(cmp==0) { + if (cmp == 0) { int t1 = getNodeType(); int t2 = other.getNodeType(); return t1 < t2 ? -1 : (t1 > t2 ? 1 : 0);