Skip to content

Commit d42f53e

Browse files
yui-knkkares
authored andcommittedJan 15, 2018
Remove not used methods (#4973)
1 parent 2614c77 commit d42f53e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed
 

‎core/src/main/java/org/jruby/IncludedModule.java

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ public void setMetaClass(RubyClass newRubyClass) {
3434
throw new UnsupportedOperationException("An included class is only a wrapper for a module");
3535
}
3636

37-
public void setMethods(Map newMethods) {
38-
throw new UnsupportedOperationException("An included class is only a wrapper for a module");
39-
}
40-
4137
@Override
4238
public String getName() {
4339
return origin.getName();

‎core/src/main/java/org/jruby/IncludedModuleWrapper.java

-4
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ public void addMethod(String name, DynamicMethod method) {
8585
throw new UnsupportedOperationException("An included class is only a wrapper for a module");
8686
}
8787

88-
public void setMethods(Map newMethods) {
89-
throw new UnsupportedOperationException("An included class is only a wrapper for a module");
90-
}
91-
9288
public RubyModule getDelegate() {
9389
return origin;
9490
}

0 commit comments

Comments
 (0)
Please sign in to comment.