eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Impossible "potential match" with a referenced library of a projects classpath

Open
#1,193 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

I use the Eclipse-SDK IDE and open the `Platfom` class then I search for references of `getLog(Bundle)` in the workspace then JDT offers a completely unrelated "potential match"

![grafik](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/1331477/808ae73d-82b6-4e48-b2e3-b41c5cf05af9)

Why is it unrelated:

1. `org.eclipse.core.runtime.Platform` and `org.apache.commons.logging.LogFactory` have nothing in common
2. The arguments of both functions do not match (`Platfom` has `Bundle` parameter and `LogFactory` has `Class` parameter)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.