mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Removed warnings.
This commit is contained in:
parent
591d1d3a21
commit
a86bb76c6a
1 changed files with 5 additions and 6 deletions
|
@ -111,9 +111,9 @@ public class TokenDuple implements ITokenDuple {
|
||||||
List newArgs = new ArrayList( 1 );
|
List newArgs = new ArrayList( 1 );
|
||||||
newArgs.add( args[ args.length - 1 ] );
|
newArgs.add( args[ args.length - 1 ] );
|
||||||
return new TokenDuple( first, last, newArgs );
|
return new TokenDuple( first, last, newArgs );
|
||||||
} else {
|
}
|
||||||
return new TokenDuple( first, last );
|
return new TokenDuple( first, last );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ITokenDuple getLeadingSegments(){
|
public ITokenDuple getLeadingSegments(){
|
||||||
|
@ -158,9 +158,8 @@ public class TokenDuple implements ITokenDuple {
|
||||||
foundArgs = true;
|
foundArgs = true;
|
||||||
}
|
}
|
||||||
return new TokenDuple( first, last, ( foundArgs ? newArgs : null ) );
|
return new TokenDuple( first, last, ( foundArgs ? newArgs : null ) );
|
||||||
} else {
|
}
|
||||||
return new TokenDuple( first, last );
|
return new TokenDuple( first, last );
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getSegmentCount()
|
public int getSegmentCount()
|
||||||
|
|
Loading…
Add table
Reference in a new issue