Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: runtime/lib/byte_array.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/unittest/html_enhanced_config.dart ('k') | runtime/lib/date_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/byte_array.dart
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart
index b0cccea6300d5c0542318a3ad61637caac7c163c..f4737c1974cd9b7a3de73f7d08749ae426d953d4 100644
--- a/runtime/lib/byte_array.dart
+++ b/runtime/lib/byte_array.dart
@@ -833,7 +833,7 @@ abstract class _ByteArrayBase {
return this.length === 0;
}
- int get length() {
+ int get length {
return _length();
}
@@ -2312,7 +2312,7 @@ class _ByteArrayViewBase {
return this.length === 0;
}
- abstract int get length();
+ abstract int get length;
// Methods implementing the List interface.
@@ -2385,7 +2385,7 @@ class _Int8ArrayView extends _ByteArrayViewBase implements Int8List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2457,7 +2457,7 @@ class _Uint8ArrayView extends _ByteArrayViewBase implements Uint8List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2529,7 +2529,7 @@ class _Int16ArrayView extends _ByteArrayViewBase implements Int16List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2601,7 +2601,7 @@ class _Uint16ArrayView extends _ByteArrayViewBase implements Uint16List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2673,7 +2673,7 @@ class _Int32ArrayView extends _ByteArrayViewBase implements Int32List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2745,7 +2745,7 @@ class _Uint32ArrayView extends _ByteArrayViewBase implements Uint32List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2817,7 +2817,7 @@ class _Int64ArrayView extends _ByteArrayViewBase implements Int64List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2889,7 +2889,7 @@ class _Uint64ArrayView extends _ByteArrayViewBase implements Uint64List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -2961,7 +2961,7 @@ class _Float32ArrayView extends _ByteArrayViewBase implements Float32List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
@@ -3033,7 +3033,7 @@ class _Float64ArrayView extends _ByteArrayViewBase implements Float64List {
_rangeCheck(array.lengthInBytes(), _offset, _length * _BYTES_PER_ELEMENT);
}
- get length() {
+ get length {
return _length;
}
« no previous file with comments | « pkg/unittest/html_enhanced_config.dart ('k') | runtime/lib/date_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698