Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DefaultServiceEnricher : Remove unused import #2814

Closed
2 tasks
rohanKanojia opened this issue Mar 13, 2024 · 1 comment · Fixed by #2824
Closed
2 tasks

DefaultServiceEnricher : Remove unused import #2814

rohanKanojia opened this issue Mar 13, 2024 · 1 comment · Fixed by #2824
Assignees
Labels
first-timers-only Is this your first time contributing? This could be a good place to start! good first issue Good for newcomers
Milestone

Comments

@rohanKanojia
Copy link
Member

Component

JKube Kit

Task description

Description

This import in DefaultServiceEnricher doesn't seem to be getting used anywhere in the class.

https://github.com/eclipse/jkube/blob/c4ee9d4e9432297c50d9385a8c06d1fea0f75e3a/jkube-kit/enricher/generic/src/main/java/org/eclipse/jkube/enricher/generic/DefaultServiceEnricher.java#L20

Generally it's better to keep imports tidy.

We should remove this unused import.

Expected Behavior

Unused import is removed from DefaultServiceEnricher

Acceptance Criteria

  • Unused import is removed from DefaultServiceEnricher
  • project compiles cleanly after running mvn clean install

Before you start 🔴

👇 👇 👇 👇 👇 👇 👇 👇 👇 👇👇👇👇👇👇👇
Make sure you read the contributing guide first. Pay special attention to the ECA agreement section and the requirement to sign-off your commit.

How to manually test my changes

Kubernetes

If you don't have a real Kubernetes cluster available (most probably), you can use Minikube or Kind to test with a local cluster.

OpenShift

If you don't have a real OpenShift cluster available (most probably), you can use Red Hat's developer Sandbox for Red Hat OpenShift. The only requirement is to have a Red Hat account.

Once you have your Sandbox environment, you'll need to download the oc tool from the cluster console.
(Press the ? icon and from the context menu select Command line tools, you'll be redirected to https://$subdomain.openshiftapps.com/command-lines-tools where you'll be able to download the CLI for your platform)

@rohanKanojia rohanKanojia added good first issue Good for newcomers first-timers-only Is this your first time contributing? This could be a good place to start! labels Mar 13, 2024
@Abdulrahman295
Copy link
Contributor

Hello. Can I work on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-timers-only Is this your first time contributing? This could be a good place to start! good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants