eclipse-jkube / jkube

Build and Deploy java applications on Kubernetes
https://www.eclipse.dev/jkube/
Eclipse Public License 2.0
760 stars 502 forks source link

GradleUtil: Explicit type argument Configuration can be replaced with <> #3368

Open manusa opened 1 month ago

manusa commented 1 month ago

Description

The class GradleUtil presents the issue: Explicit type argument Configuration can be replaced with <>.

The following line: https://github.com/eclipse-jkube/jkube/blob/edd44d90d52a013f33d22cd38f682b59facef53b/gradle-plugin/kubernetes/src/main/java/org/eclipse/jkube/gradle/plugin/GradleUtil.java#L117 should be changed to:

    return new ArrayList<>(gradleProject.getConfigurations()).stream()

:red_circle: Before you start :red_circle:

:point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down: :point_down:

Make sure you read the contributing guide first.

Pay special attention to the ECA agreement section and the requirement to sign-off your commit.

This is a first-timers-only issue. These issues are especially created for contributors who are contributing to the project for the first time.

If you have already contributed to this project in the past, please don't ask to be assigned one of these issues and look for good-first-issues or help-wanted issues instead in order to continue you contributor journey in the project.

pujakarakoti07 commented 3 weeks ago

can I get this issue to fix?