Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2008-04-11 05:39:11 +0000
committerSergey Prigogin2008-04-11 05:39:11 +0000
commit7a1ab1e347d5b29f1fe041e587081ce1cd6058d0 (patch)
tree8a3af07027ad049518c584859c5061c4e97398c8 /core/org.eclipse.cdt.core
parent54534b7ef08288305fab9279a9a3aa6aebdbf351 (diff)
downloadorg.eclipse.cdt-7a1ab1e347d5b29f1fe041e587081ce1cd6058d0.tar.gz
org.eclipse.cdt-7a1ab1e347d5b29f1fe041e587081ce1cd6058d0.tar.xz
org.eclipse.cdt-7a1ab1e347d5b29f1fe041e587081ce1cd6058d0.zip
Compiler warnings.
Diffstat (limited to 'core/org.eclipse.cdt.core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/PDOMBinding.java6
1 files 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 17d54eefeb..4c13f45b5e 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<? extends PDOMLinkage> c= linkage.getClass();
Field[] fields= c.getFields();
- for(int i=0; i<fields.length; i++) {
+ for (int i = 0; i < fields.length; i++) {
try {
fields[i].setAccessible(true);
if((fields[i].getModifiers() & Modifier.STATIC) != 0) {
@@ -320,7 +320,7 @@ public abstract class PDOMBinding extends PDOMNamedNode implements IIndexFragmen
* The first non-zero comparison is returned as the result.
* @param b0
* @param b1
- * @return<ul><li> -1 if b0 &lt; b1
+ * @return <ul><li> -1 if b0 &lt; b1
* <li> 0 if b0 == b1
* <li> 1 if b0 &gt; b1
* </ul>
@@ -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);

Back to the top