Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/cache/cache.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ abstract class Cache<K, V> {
/**
* An unbounded cache.
*/
class UnboundedCache<K, V> implements Cache<K, V> {
class UnboundedCache<K, V> extends Cache<K, V> {
Map<K, V> _entries = new HashMap<K, V>();
int _hits = 0;
int _misses = 0;
Expand Down
5 changes: 2 additions & 3 deletions test/core_dom/http_spec.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ var VALUE = 'val';
var CACHED_VALUE = 'cached_value';

class FakeCache extends UnboundedCache<String, HttpResponse> {
get(x) => x == 'f' ? new HttpResponse(200, CACHED_VALUE) : null;
put(_,__) => null;

HttpResponse get(x) => x == 'f' ? new HttpResponse(200, CACHED_VALUE) : null;
HttpResponse put(_,__) => null;
}

class SubstringRewriter extends UrlRewriter {
Expand Down