Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/org/jruby/RubyString.java
Original file line number Diff line number Diff line change
@@ -1674,10 +1674,12 @@ public IRubyObject str_eql_p19(ThreadContext context, IRubyObject other) {
/** rb_str_upcase / rb_str_upcase_bang
*
*/
@Deprecated
public RubyString upcase(ThreadContext context) {
return upcase19(context);
}

@Deprecated
public IRubyObject upcase_bang(ThreadContext context) {
return upcase_bang19(context);
}
@@ -1750,10 +1752,12 @@ private IRubyObject multiByteUpcase(Ruby runtime, Encoding enc, byte[]bytes, int
/** rb_str_downcase / rb_str_downcase_bang
*
*/
@Deprecated
public RubyString downcase(ThreadContext context) {
return downcase19(context);
}

@Deprecated
public IRubyObject downcase_bang(ThreadContext context) {
return downcase_bang19(context);
}

0 comments on commit 95a3cf9

Please sign in to comment.