Skip to content

Commit

Permalink
Fixing spotless violations
Browse files Browse the repository at this point in the history
Signed-off-by: Ankit Jain <[email protected]>
  • Loading branch information
jainankitk committed Aug 29, 2024
1 parent 601e350 commit b22e94b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/main/java/org/opensearch/search/ResourceType.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ public static ResourceType fromName(String s) {
}
throw new IllegalArgumentException("Unknown resource type: [" + s + "]");
}

public static void writeTo(StreamOutput out, ResourceType resourceType) throws IOException {
out.writeString(resourceType.getName());
}

public String getName() {
return name;
}
Expand Down

0 comments on commit b22e94b

Please sign in to comment.