Skip to content

Commit

Permalink
Revert "Restore some 19 methods still in use by json"
Browse files Browse the repository at this point in the history
This reverts commit c60310f.
  • Loading branch information
headius committed Apr 4, 2024
1 parent 9ecab65 commit 823dce1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions core/src/main/java/org/jruby/RubyString.java
Original file line number Diff line number Diff line change
Expand Up @@ -6496,12 +6496,6 @@ public RubySymbol intern() {
return symbol;
}

// Must remain in place until json has migrated to the new method for some time (https://github.com/flori/json/pull/576)
@Deprecated
public RubySymbol intern19() {
return intern();
}

@JRubyMethod
public IRubyObject ord(ThreadContext context) {
final Ruby runtime = context.runtime;
Expand Down
6 changes: 0 additions & 6 deletions core/src/main/java/org/jruby/util/ConvertBytes.java
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,6 @@ public static RubyInteger byteListToInum(Ruby runtime, ByteList str, int off, in
return (RubyInteger) new ConvertBytes(runtime, str, off, end, base, badcheck).byteListToInum(true);
}

// Must remain in place until json has migrated to the new method for some time (https://github.com/flori/json/pull/576)
@Deprecated
public static RubyInteger byteListToInum19(Ruby runtime, ByteList str, int base, boolean badcheck) {
return byteListToInum(runtime, str, base, badcheck);
}

private final static byte[] conv_digit = new byte[128];
private final static boolean[] digit = new boolean[128];
private final static boolean[] space = new boolean[128];
Expand Down
6 changes: 0 additions & 6 deletions core/src/main/java/org/jruby/util/ConvertDouble.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
package org.jruby.util;

public class ConvertDouble {
// Must remain in place until json has migrated to the new method for some time (https://github.com/flori/json/pull/576)
@Deprecated
public static double byteListToDouble19(ByteList bytes, boolean strict) {
return byteListToDouble(bytes, strict);
}

/**
* Converts supplied ByteList into a double. strict-mode will not like
* extra text non-numeric text or multiple sequention underscores.
Expand Down

0 comments on commit 823dce1

Please sign in to comment.