aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Han-Wen Nienhuys <hanwen@google.com>2015-09-23 13:30:00 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2015-09-24 14:14:17 +0000
commitfaa0e4a024deda8f9ee37095ad329c2bd34950a3 (patch)
treea40205ef5b79a2176a96012a1db8114db093eacb /src
parent51c1640feea06a5c86eaf4f64f78ed926e101939 (diff)
Remove unused EventCollectionApparatus#customMask.
-- Change-Id: I84c08e8146bbfb2c8be069a650e9b3e5806f342d Reviewed-on: https://bazel-review.googlesource.com/#/c/2021 MOS_MIGRATED_REVID=103740102
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/google/devtools/build/lib/events/util/EventCollectionApparatus.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/events/util/EventCollectionApparatus.java b/src/test/java/com/google/devtools/build/lib/events/util/EventCollectionApparatus.java
index c7f85d6fcb..c753110e5b 100644
--- a/src/test/java/com/google/devtools/build/lib/events/util/EventCollectionApparatus.java
+++ b/src/test/java/com/google/devtools/build/lib/events/util/EventCollectionApparatus.java
@@ -29,17 +29,12 @@ import java.util.Set;
* An apparatus for reporting / collecting events.
*/
public class EventCollectionApparatus {
-
- private Set<EventKind> customMask;
-
/**
* Determine which events the {@link #collector()} created by this apparatus
* will collect. Default: {@link EventKind#ERRORS_AND_WARNINGS}.
*/
public EventCollectionApparatus(Set<EventKind> mask) {
- this.customMask = mask;
-
- eventCollector = new EventCollector(customMask);
+ eventCollector = new EventCollector(mask);
reporter = new Reporter(eventCollector);
printingEventHandler = new PrintingEventHandler(EventKind.ERRORS_AND_WARNINGS_AND_OUTPUT);
reporter.addHandler(printingEventHandler);