Skip to content
Permalink
Browse files
Removed unused constructors.
  • Loading branch information
nirvdrum committed Dec 11, 2014
1 parent e3ff922 commit ca99b12e2cd13fb4f3b29d1a857d76aff4da76dd
Showing with 0 additions and 8 deletions.
  1. +0 −8 core/src/main/java/org/jruby/RubyEncoding.java
@@ -85,14 +85,6 @@ public static RubyClass createEncodingClass(Ruby runtime) {
private RubyEncoding(Ruby runtime, byte[] name, int p, int end, boolean isDummy) {
this(runtime, new ByteList(name, p, end), null, isDummy);
}

private RubyEncoding(Ruby runtime, byte[] name, boolean isDummy) {
this(runtime, name, 0, name.length, isDummy);
}

private RubyEncoding(Ruby runtime, Encoding encoding) {
this(runtime, new ByteList(encoding.getName()), encoding, false);
}

private RubyEncoding(Ruby runtime, byte[] name, Encoding encoding, boolean isDummy) {
this(runtime, new ByteList(name), encoding, isDummy);

0 comments on commit ca99b12

Please sign in to comment.