diff options
author | mihaylov <mihaylov@epfl.ch> | 2007-02-20 19:20:29 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2007-02-20 19:20:29 +0000 |
commit | 3e829735e9a655b09744b2e6ed80210dbeaeca01 (patch) | |
tree | 0bc88c54e17af474e2110113b8d8699f193c3a3a /src/library | |
parent | 199cec961a4405d49ed41752fbd97e8bed574074 (diff) | |
download | scala-3e829735e9a655b09744b2e6ed80210dbeaeca01.tar.gz scala-3e829735e9a655b09744b2e6ed80210dbeaeca01.tar.bz2 scala-3e829735e9a655b09744b2e6ed80210dbeaeca01.zip |
Made Boxed{Byte,Short,Char,Int}.cannonical final
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/runtime/BoxedByte.java | 2 | ||||
-rw-r--r-- | src/library/scala/runtime/BoxedChar.java | 2 | ||||
-rw-r--r-- | src/library/scala/runtime/BoxedInt.java | 2 | ||||
-rw-r--r-- | src/library/scala/runtime/BoxedShort.java | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/library/scala/runtime/BoxedByte.java b/src/library/scala/runtime/BoxedByte.java index 2ab7d7dc29..82e4108688 100644 --- a/src/library/scala/runtime/BoxedByte.java +++ b/src/library/scala/runtime/BoxedByte.java @@ -18,7 +18,7 @@ public final class BoxedByte extends BoxedNumber private static final int MinHashed = -128; private static final int MaxHashed = 127; - private static BoxedByte[] canonical = new BoxedByte[MaxHashed - MinHashed + 1]; + private static final BoxedByte[] canonical = new BoxedByte[MaxHashed - MinHashed + 1]; static { for (int i = MinHashed; i <= MaxHashed; i++) diff --git a/src/library/scala/runtime/BoxedChar.java b/src/library/scala/runtime/BoxedChar.java index 0a6d0b5582..0b64e7afa0 100644 --- a/src/library/scala/runtime/BoxedChar.java +++ b/src/library/scala/runtime/BoxedChar.java @@ -18,7 +18,7 @@ public class BoxedChar extends BoxedNumber private static final int MinHashed = 0; private static final int MaxHashed = 255; - private static BoxedChar[] canonical = new BoxedChar[MaxHashed - MinHashed + 1]; + private static final BoxedChar[] canonical = new BoxedChar[MaxHashed - MinHashed + 1]; static { for (int i = MinHashed; i <= MaxHashed; i++) diff --git a/src/library/scala/runtime/BoxedInt.java b/src/library/scala/runtime/BoxedInt.java index fa4135c041..1633df7456 100644 --- a/src/library/scala/runtime/BoxedInt.java +++ b/src/library/scala/runtime/BoxedInt.java @@ -18,7 +18,7 @@ public final class BoxedInt extends BoxedNumber private static final int MinHashed = -128; private static final int MaxHashed = 1024; - private static BoxedInt[] canonical = new BoxedInt[MaxHashed - MinHashed + 1]; + private static final BoxedInt[] canonical = new BoxedInt[MaxHashed - MinHashed + 1]; static { for (int i = MinHashed; i <= MaxHashed; i++) diff --git a/src/library/scala/runtime/BoxedShort.java b/src/library/scala/runtime/BoxedShort.java index 89c79f4bde..2aa9a62f27 100644 --- a/src/library/scala/runtime/BoxedShort.java +++ b/src/library/scala/runtime/BoxedShort.java @@ -18,7 +18,7 @@ public final class BoxedShort extends BoxedNumber private static final int MinHashed = -128; private static final int MaxHashed = 127; - private static BoxedShort[] canonical = new BoxedShort[MaxHashed - MinHashed + 1]; + private static final BoxedShort[] canonical = new BoxedShort[MaxHashed - MinHashed + 1]; static { for (int i = MinHashed; i <= MaxHashed; i++) |