Skip to content

Commit 82789aa

Browse files
committed
Make methods look for the same method that has the same signature rather than owner.
1 parent a9cbd66 commit 82789aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/the/bytecode/club/bytecodeviewer/gui/components/actions

src/main/java/the/bytecode/club/bytecodeviewer/gui/components/actions/GoToAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void actionPerformed(ActionEvent e)
127127
}
128128
else
129129
{
130-
methods.stream().filter(classMethodLocation -> classMethodLocation.owner.equals(method.owner)).forEach(classMethodLocation ->
130+
methods.stream().filter(classMethodLocation -> classMethodLocation.signature.equals(method.signature)).forEach(classMethodLocation ->
131131
{
132132
if (classMethodLocation.decRef.equalsIgnoreCase("declaration"))
133133
{

0 commit comments

Comments
 (0)