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

Unified Diff: pkg/fixnum/int64.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/dartdoc/search.dart ('k') | pkg/logging/logging.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/int64.dart
diff --git a/pkg/fixnum/int64.dart b/pkg/fixnum/int64.dart
index aa46f00dccd603fb465811aab6b55ba91135548d..1b344bae23b4dd9ac28d445eaea8433c694d5f79 100644
--- a/pkg/fixnum/int64.dart
+++ b/pkg/fixnum/int64.dart
@@ -63,7 +63,7 @@ class int64 implements intx {
* The maximum positive value attainable by an [int64], namely
* 9,223,372,036,854,775,807.
*/
- static int64 get MAX_VALUE() {
+ static int64 get MAX_VALUE {
if (_MAX_VALUE == null) {
_MAX_VALUE = new int64._bits(_MASK, _MASK, _MASK_2 >> 1);
}
@@ -74,7 +74,7 @@ class int64 implements intx {
* The minimum positive value attainable by an [int64], namely
* -9,223,372,036,854,775,808.
*/
- static int64 get MIN_VALUE() {
+ static int64 get MIN_VALUE {
if (_MIN_VALUE == null) {
_MIN_VALUE = new int64._bits(0, 0, _SIGN_BIT_VALUE);
}
@@ -84,7 +84,7 @@ class int64 implements intx {
/**
* An [int64] constant equal to 0.
*/
- static int64 get ZERO() {
+ static int64 get ZERO {
if (_ZERO == null) {
_ZERO = new int64();
}
@@ -94,7 +94,7 @@ class int64 implements intx {
/**
* An [int64] constant equal to 1.
*/
- static int64 get ONE() {
+ static int64 get ONE {
if (_ONE == null) {
_ONE = new int64._bits(1, 0, 0);
}
@@ -104,7 +104,7 @@ class int64 implements intx {
/**
* An [int64] constant equal to 2.
*/
- static int64 get TWO() {
+ static int64 get TWO {
if (_TWO == null) {
_TWO = new int64._bits(2, 0, 0);
}
@@ -765,7 +765,7 @@ class int64 implements intx {
// without loss of precision.
static bool _haveBigIntsCached = null;
- static bool get _haveBigInts() {
+ static bool get _haveBigInts {
if (_haveBigIntsCached == null) {
var x = 9007199254740992;
// Defeat compile-time constant folding.
« no previous file with comments | « pkg/dartdoc/search.dart ('k') | pkg/logging/logging.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698