Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(http): always initialize final coalesceDuration
Browse files Browse the repository at this point in the history
fix a warning
  • Loading branch information
vicb committed Aug 19, 2014
1 parent 181f014 commit e5cf378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core_dom/http.dart
Expand Up @@ -764,6 +764,6 @@ class Http {
class HttpConfig {
final Duration coalesceDuration;

HttpConfig();
HttpConfig(): coalesceDuration = null;
HttpConfig.withOptions({this.coalesceDuration});
}

0 comments on commit e5cf378

Please sign in to comment.