Skip to main content
summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorSergey Prigogin2016-03-02 17:34:20 -0500
committerSergey Prigogin2016-03-02 17:34:20 -0500
commit3e27134c477217c2b8d84eb094f10d65aafe9f2b (patch)
tree0d63beba7b3ae3e494537d674f55e0e6dca31845 /util
parent62dc7c36eab51f3d1e3cee5cfcdaa9fac853d610 (diff)
downloadorg.eclipse.cdt-3e27134c477217c2b8d84eb094f10d65aafe9f2b.tar.gz
org.eclipse.cdt-3e27134c477217c2b8d84eb094f10d65aafe9f2b.tar.xz
org.eclipse.cdt-3e27134c477217c2b8d84eb094f10d65aafe9f2b.zip
Cosmetics.
Diffstat (limited to 'util')
-rw-r--r--util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java b/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java
index 35675f8166..dcd934e42a 100644
--- a/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java
+++ b/util/org.eclipse.cdt.util/src/org/eclipse/cdt/internal/core/parser/util/DOMSearchUtil.java
@@ -69,16 +69,16 @@ public class DOMSearchUtil {
{
shouldVisitNames = true;
}
- public List<IASTName> nameList = new ArrayList<IASTName>();
+ public List<IASTName> nameList = new ArrayList<>();
@Override
public int visit(IASTName name) {
- nameList.add( name );
+ nameList.add(name);
return PROCESS_CONTINUE;
}
- public IASTName getName( int idx ){
- if( idx < 0 || idx >= nameList.size() )
+ public IASTName getName(int idx) {
+ if (idx < 0 || idx >= nameList.size())
return null;
return nameList.get(idx);
}

Back to the top