File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
library/src/scala/runtime Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,10 @@ public static int anyHash(Object x) {
125125 private static int anyHashNumber (Number x ) {
126126 if (x instanceof java .lang .Long )
127127 return longHash (((java .lang .Long )x ).longValue ());
128-
128+
129129 if (x instanceof java .lang .Double )
130130 return doubleHash (((java .lang .Double )x ).doubleValue ());
131-
131+
132132 if (x instanceof java .lang .Float )
133133 return floatHash (((java .lang .Float )x ).floatValue ());
134134
@@ -148,6 +148,7 @@ public static void releaseFence() throws Throwable {
148148 * Used by the synthetic `productElement` and `productElementName` methods in case classes.
149149 * Delegating the exception-throwing to this function reduces the bytecode size of the case class.
150150 */
151+ @ Deprecated
151152 public static final <T > T ioobe (int n ) throws IndexOutOfBoundsException {
152153 throw new IndexOutOfBoundsException (String .valueOf (n ));
153154 }
You can’t perform that action at this time.
0 commit comments