bazelbuild / bazelbuild/rules_java

Fix return type for JavaInfo.getSourceJars()

Offen
#333 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
P2
Vorherrschende Sprache
Starlark
Sterne
103
Forks
102
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

getSourceJars() returns SkylarkList now.

Should be NestedSet as was before in JavaSkylarkApiProvider and to be consistent with other methods which returns collection of Jar files.

Also consider some cleaning in scope of this task, as this method can be already used by someone.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating JavaInfo.getSourceJars() and the related JavaSkylarkApiProvider API. Compare its current SkylarkList return type with the prior NestedSet type and the other collection-returning methods, then inspect existing uses before deciding what cleanup is in scope. Done means the API type is corrected and affected uses remain consistent.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.