mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Cosmetics.
This commit is contained in:
parent
d47055dbd7
commit
83a8040a2b
1 changed files with 6 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* Anton Leherbauer (Wind River Systems) - initial API and implementation
|
||||
* Sergey Prigogin, Google
|
||||
* Sergey Prigogin (Google)
|
||||
* Andrew Ferguson (Symbian)
|
||||
* Andrew Gvozdev
|
||||
*******************************************************************************/
|
||||
|
@ -42,8 +42,7 @@ public class AbstractAutoEditTest extends BaseTestCase {
|
|||
* Split out from CAutoIndentTest.
|
||||
*/
|
||||
protected static class AutoEditTester {
|
||||
|
||||
private IAutoEditStrategy tabsToSpacesConverter=null;
|
||||
private IAutoEditStrategy tabsToSpacesConverter;
|
||||
private Map<String, IAutoEditStrategy> fStrategyMap = new HashMap<String, IAutoEditStrategy>();
|
||||
IDocument fDoc;
|
||||
private String fPartitioning;
|
||||
|
@ -236,8 +235,8 @@ public class AbstractAutoEditTest extends BaseTestCase {
|
|||
protected CharSequence[] getTestContents() {
|
||||
try {
|
||||
return TestSourceReader.getContentsForTest(CTestPlugin.getDefault().getBundle(), "ui", this.getClass(), getName(), 2);
|
||||
} catch(IOException ioe) {
|
||||
fail(ioe.getMessage());
|
||||
} catch (IOException e) {
|
||||
fail(e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@ -245,8 +244,8 @@ public class AbstractAutoEditTest extends BaseTestCase {
|
|||
protected CharSequence[] getTestContents1() {
|
||||
try {
|
||||
return TestSourceReader.getContentsForTest(CTestPlugin.getDefault().getBundle(), "ui", this.getClass(), getName(), 1);
|
||||
} catch(IOException ioe) {
|
||||
fail(ioe.getMessage());
|
||||
} catch (IOException e) {
|
||||
fail(e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue