Skip to content

Commit 291486d

Browse files
author
Ajay Kannan
committed
style fix
1 parent c993853 commit 291486d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

gcloud-java-datastore/src/main/java/com/google/gcloud/datastore/testing/LocalGcdHelper.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,7 @@ private void processLogLine(String previousLine, String nextLine) {
274274
writeLog(currentLogLevel, currentLog);
275275
currentLog = new StringBuilder();
276276
currentLogLevel = nextLogLevel;
277-
if (!previousLine.contains(GCD_LOGGING_CLASS)) {
278-
collectionMode = false;
279-
} else {
280-
collectionMode = true;
281-
}
277+
collectionMode = previousLine.contains(GCD_LOGGING_CLASS);
282278
} else if (collectionMode) {
283279
if (currentLog.length() > LOG_LENGTH_LIMIT) {
284280
collectionMode = false;

0 commit comments

Comments
 (0)