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

Remove Generated Array Instantiation #366

Merged
merged 12 commits into from
Jul 10, 2023
Merged

Conversation

SentryMan
Copy link
Collaborator

@SentryMan SentryMan commented Jul 7, 2023

Before:

  private final Class<?>[] autoProvides =
      new Class<?>[] {
        com.jojo.helidon.api.client.ApiClient.class,
        com.jojo.helidon.api.service.ServiceClass.class,
        io.avaje.http.client.HttpClient.class,
        io.helidon.nima.webserver.WebServer.class,
        io.helidon.nima.webserver.http.HttpService.class,
      };

After:

  private final Class<?>[] autoProvides = {
        com.jojo.helidon.api.client.ApiClient.class,
        com.jojo.helidon.api.service.ServiceClass.class,
        io.avaje.http.client.HttpClient.class,
        io.helidon.nima.webserver.WebServer.class,
        io.helidon.nima.webserver.http.HttpService.class,
      };

Also fixes a weird situation with Intellij where Aspects.Import doesn't exist on the cp.

In addition, adds Generated code to README.

@rob-bygrave rob-bygrave added this to the 9.3 milestone Jul 10, 2023
@rob-bygrave rob-bygrave merged commit 4252d60 into avaje:master Jul 10, 2023
3 checks passed
@SentryMan SentryMan deleted the array branch July 10, 2023 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants