1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-01-04 11:12:04 -08:00
parent d47055dbd7
commit 83a8040a2b

View file

@ -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;
}