1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 06:32:10 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2014-11-17 18:12:53 -08:00
parent 73a74679fe
commit a3962a9bd8

View file

@ -187,7 +187,7 @@ public class BaseTestCase extends TestCase {
}
};
final CCorePlugin corePlugin = CCorePlugin.getDefault();
if (corePlugin != null) { //Iif we don't run a JUnit Plugin Test
if (corePlugin != null) { // Iff we don't run as a JUnit Plugin Test.
corePlugin.getLog().addLogListener(logListener);
}
@ -200,8 +200,8 @@ public class BaseTestCase extends TestCase {
}
if (statusLog.size() != fExpectedLoggedNonOK) {
StringBuffer msg= new StringBuffer("Expected number (" + fExpectedLoggedNonOK + ") of ");
msg.append("non-OK status objects in log differs from actual (" + statusLog.size() + ").\n");
StringBuilder msg= new StringBuilder("Expected number (" + fExpectedLoggedNonOK + ") of ");
msg.append("Non-OK status objects in log differs from actual (" + statusLog.size() + ").\n");
Throwable cause= null;
if (!statusLog.isEmpty()) {
synchronized (statusLog) {