Skip to content

Commit

Permalink
CLJ-2883 Simplify bridge method checking in reflector
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Sep 9, 2024
1 parent 13a2f67 commit 7c564a7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/jvm/clojure/lang/Reflector.java
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,7 @@ static public List<Method> getMethods(Class c, int arity, String name, boolean g
{
try
{
if(method.isBridge()
&& c.getMethod(method.getName(), method.getParameterTypes())
.equals(method))
if(method.isBridge())
bridgeMethods.add(method);
else
methods.add(method);
Expand Down

0 comments on commit 7c564a7

Please sign in to comment.