Skip to content

Commit

Permalink
Remove all occurrences of @OverRide
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed May 19, 2013
1 parent 63f4d55 commit 32cb334
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
and may cause an error if used as pub package.

## Version 0.1.3 (2013-05-19) ##
* Removed all occurrences of @override
2 changes: 0 additions & 2 deletions lib/src/simple_event_bus.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ class SimpleEventBus implements EventBus {
Map<EventType, BroadcastStreamController> streamControllers =
new Map<EventType, BroadcastStreamController>();

@override
Stream/*<T>*/ on(EventType/*<T>*/ eventType) {
return streamControllers.putIfAbsent(eventType, () => _createStreamController(eventType))
.stream;
}

@override
void fire(EventType/*<T>*/ eventType, /*<T>*/ data) {
if (!eventType.isTypeT(data)) {
throw new ArgumentError('Provided data is not of same type as generic type of EventType.');
Expand Down
1 change: 0 additions & 1 deletion lib/src/stream_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class BroadcastStreamController<T> extends StreamController<T> {
/**
* Returns the cached broadcast [Stream].
*/
@override
Stream<T> get stream {
if(_broadcastCache == null) {
_broadcastCache = super.stream.asBroadcastStream();
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: event_bus
version: 0.1.2
version: 0.1.3
author: Marco Jakob <majakob@gmx.ch>
description: A simple Event Bus using Dart Streams for decoupling applications
homepage: https://github.com/marcojakob/dart-event-bus
Expand Down

0 comments on commit 32cb334

Please sign in to comment.