Skip to content

Commit

Permalink
Remove direct uses of Reporter (mostly in internal code).
Browse files Browse the repository at this point in the history
--
MOS_MIGRATED_REVID=106604357
  • Loading branch information
ulfjack authored and lberki committed Oct 30, 2015
1 parent 1d535c6 commit 51538de
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import com.google.devtools.build.lib.events.Event;
import com.google.devtools.build.lib.events.EventCollector;
import com.google.devtools.build.lib.events.EventHandler;
import com.google.devtools.build.lib.events.EventKind;
import com.google.devtools.build.lib.events.PrintingEventHandler;
import com.google.devtools.build.lib.events.Reporter;
Expand Down Expand Up @@ -68,6 +69,10 @@ public void setFailFast(boolean failFast) {
}
}

public void addHandler(EventHandler eventHandler) {
reporter.addHandler(eventHandler);
}

/**
* @return the event reporter for this apparatus
*/
Expand Down

0 comments on commit 51538de

Please sign in to comment.