Skip to content

Commit

Permalink
[ruby] remove unnecessary filterNot
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDreyer committed May 9, 2024
1 parent 6685355 commit 8792a3e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ class AstCreator(
.flatMap(_._2)
.filter(x => x.name.contains(":program"))
.flatMap(_.methods)
.filterNot(x => x.name.contains("<init>") || x.name.contains("<clinit>"))
.map { method =>
val methodRefNode = NewMethodRef()
.code(s"def ${method.name} (...)")
Expand Down

0 comments on commit 8792a3e

Please sign in to comment.