Skip to content

Commit

Permalink
Enabling spotless for all modules (opensearch-project#651)
Browse files Browse the repository at this point in the history
* Enabling spotless for _types module

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for cat module

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for cluster module

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for core module

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for dangling_indices, features, ingest, shutdown, tasks modules

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for indices module

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for nodes and snapshot modules

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for remaining opensearch module

Signed-off-by: Vacha Shah <[email protected]>

* Enabling spotless for rest of the code including tests

Signed-off-by: Vacha Shah <[email protected]>

* Fixing spotless from merge conflicts

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
  • Loading branch information
VachaShah authored Oct 9, 2023
1 parent 1b8b788 commit dc41a99
Show file tree
Hide file tree
Showing 1,569 changed files with 270,860 additions and 270,961 deletions.
2 changes: 1 addition & 1 deletion java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ tasks.withType<Jar> {
spotless {
java {

target("**/json/**/*.java", "**/transport/**/*.java", "**/util/**/*.java")
target("**/*.java")

// Use the default importOrder configuration
importOrder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@

package org.opensearch.client;

import org.opensearch.client.transport.TransportOptions;
import org.opensearch.client.transport.Transport;
import javax.annotation.Nullable;
import org.opensearch.client.json.JsonpDeserializer;
import org.opensearch.client.json.JsonpMapperBase;

import javax.annotation.Nullable;
import org.opensearch.client.transport.Transport;
import org.opensearch.client.transport.TransportOptions;

public abstract class ApiClient<T extends Transport, Self extends ApiClient<T, Self>> {

Expand Down
Loading

0 comments on commit dc41a99

Please sign in to comment.