mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Cosmetics.
This commit is contained in:
parent
dd919f8f93
commit
73a74679fe
1 changed files with 4 additions and 4 deletions
|
@ -334,7 +334,7 @@ public abstract class IndexBindingResolutionTestBase extends BaseTestCase {
|
|||
{
|
||||
shouldVisitNames = true;
|
||||
}
|
||||
public List<IASTName> nameList = new ArrayList<IASTName>();
|
||||
public List<IASTName> nameList = new ArrayList<>();
|
||||
|
||||
@Override
|
||||
public int visit(IASTName name) {
|
||||
|
@ -559,8 +559,8 @@ public abstract class IndexBindingResolutionTestBase extends BaseTestCase {
|
|||
|
||||
public SinglePDOMTestNamedFilesStrategy(boolean cpp) {
|
||||
this.cpp = cpp;
|
||||
astSources = new ArrayList<StringBuilder>();
|
||||
asts = new ArrayList<IASTTranslationUnit>();
|
||||
astSources = new ArrayList<>();
|
||||
asts = new ArrayList<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -596,7 +596,7 @@ public abstract class IndexBindingResolutionTestBase extends BaseTestCase {
|
|||
Bundle b = CTestPlugin.getDefault().getBundle();
|
||||
testData = TestSourceReader.getContentsForTest(b, "parser", IndexBindingResolutionTestBase.this.getClass(), getName(), 0);
|
||||
|
||||
List<IFile> astFiles = new ArrayList<IFile>();
|
||||
List<IFile> astFiles = new ArrayList<>();
|
||||
for (int i = 0; i < testData.length; i++) {
|
||||
StringBuilder contents = testData[i];
|
||||
int endOfLine = contents.indexOf("\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue