mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
removed unnecesary Arrays.fill() from ambiguity nodes
This commit is contained in:
parent
fb951de0fa
commit
628c4193a9
2 changed files with 0 additions and 2 deletions
|
@ -57,7 +57,6 @@ public abstract class CASTAmbiguity extends CASTNode {
|
||||||
public boolean accept(ASTVisitor visitor) {
|
public boolean accept(ASTVisitor visitor) {
|
||||||
IASTNode [] nodez = getNodes();
|
IASTNode [] nodez = getNodes();
|
||||||
int [] issues = new int[ nodez.length ];
|
int [] issues = new int[ nodez.length ];
|
||||||
Arrays.fill( issues, 0 );
|
|
||||||
for( int i = 0; i < nodez.length; ++i )
|
for( int i = 0; i < nodez.length; ++i )
|
||||||
{
|
{
|
||||||
IASTNode s = nodez[i];
|
IASTNode s = nodez[i];
|
||||||
|
|
|
@ -57,7 +57,6 @@ public abstract class CPPASTAmbiguity extends CPPASTNode {
|
||||||
// if( debugging )
|
// if( debugging )
|
||||||
// printNode();
|
// printNode();
|
||||||
int[] issues = new int[nodez.length];
|
int[] issues = new int[nodez.length];
|
||||||
Arrays.fill(issues, 0);
|
|
||||||
for (int i = 0; i < nodez.length; ++i) {
|
for (int i = 0; i < nodez.length; ++i) {
|
||||||
IASTNode s = nodez[i];
|
IASTNode s = nodez[i];
|
||||||
s.accept( visitor );
|
s.accept( visitor );
|
||||||
|
|
Loading…
Add table
Reference in a new issue