diff --git a/CHANGELOG.md b/CHANGELOG.md index 2efd5d9..a893c47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,4 +10,7 @@ Changelog ## Version 0.1.2 (2013-05-17) ## * Change in README: contained wrong license (Apache instead of MIT). * Remove import 'package:meta/meta.dart' in event_bus.dart as it is not needed - and may cause an error if used as pub package. \ No newline at end of file + and may cause an error if used as pub package. + +## Version 0.1.3 (2013-05-19) ## +* Removed all occurrences of @override \ No newline at end of file diff --git a/lib/src/simple_event_bus.dart b/lib/src/simple_event_bus.dart index 2aca636..22aa93a 100644 --- a/lib/src/simple_event_bus.dart +++ b/lib/src/simple_event_bus.dart @@ -10,13 +10,11 @@ class SimpleEventBus implements EventBus { Map streamControllers = new Map(); - @override Stream/**/ on(EventType/**/ eventType) { return streamControllers.putIfAbsent(eventType, () => _createStreamController(eventType)) .stream; } - @override void fire(EventType/**/ eventType, /**/ data) { if (!eventType.isTypeT(data)) { throw new ArgumentError('Provided data is not of same type as generic type of EventType.'); diff --git a/lib/src/stream_controller.dart b/lib/src/stream_controller.dart index bdf0dd4..4624988 100644 --- a/lib/src/stream_controller.dart +++ b/lib/src/stream_controller.dart @@ -24,7 +24,6 @@ class BroadcastStreamController extends StreamController { /** * Returns the cached broadcast [Stream]. */ - @override Stream get stream { if(_broadcastCache == null) { _broadcastCache = super.stream.asBroadcastStream(); diff --git a/pubspec.yaml b/pubspec.yaml index b7f1395..2dc5d6b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: event_bus -version: 0.1.2 +version: 0.1.3 author: Marco Jakob description: A simple Event Bus using Dart Streams for decoupling applications homepage: https://github.com/marcojakob/dart-event-bus