Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions core/src/main/java/org/jruby/RubyKernel.java
Original file line number Diff line number Diff line change
Expand Up @@ -2547,42 +2547,36 @@ public static IRubyObject rand(ThreadContext context, IRubyObject recv, IRubyObj
}

@Deprecated
@JRubyMethod(name = "tainted?")
public static RubyBoolean tainted_p(ThreadContext context, IRubyObject self) {
context.runtime.getWarnings().warnDeprecatedForRemoval("Object#tainted?", "3.2");
return context.fals;
}

@Deprecated
@JRubyMethod(name = "taint")
public static IRubyObject taint(ThreadContext context, IRubyObject self) {
context.runtime.getWarnings().warnDeprecatedForRemoval("Object#taint", "3.2");
return self;
}

@Deprecated
@JRubyMethod(name = "untaint")
public static IRubyObject untaint(ThreadContext context, IRubyObject self) {
context.runtime.getWarnings().warnDeprecatedForRemoval("Object#untaint", "3.2");
return self;
}

@Deprecated
@JRubyMethod(name = "untrusted?")
public static RubyBoolean untrusted_p(ThreadContext context, IRubyObject self) {
context.runtime.getWarnings().warnDeprecatedForRemoval("Object#untrusted?", "3.2");
return context.fals;
}

@Deprecated
@JRubyMethod(name = "untrust")
public static IRubyObject untrust(ThreadContext context, IRubyObject self) {
context.runtime.getWarnings().warnDeprecatedForRemoval("Object#untrust", "3.2");
return self;
}

@Deprecated
@JRubyMethod(name = "trust")
public static IRubyObject trust(ThreadContext context, IRubyObject self) {
context.runtime.getWarnings().warnDeprecatedForRemoval("Object#trust", "3.2");
return self;
Expand Down