bazelbuild / bazelbuild/rules_java

Fix return type for JavaInfo.getSourceJars()

Đang mở
#333 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
P2
Ngôn ngữ chính
Starlark
Star
103
Fork
102
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.