Skip to content

Commit

Permalink
Rebase with upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis committed Nov 8, 2023
1 parent ebbf016 commit eab03af
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,14 @@
@ToolAnnotation(CatIndexTool.NAME)
public class CatIndexTool implements Tool {
public static final String NAME = "CatIndexTool";
private static final String DEFAULT_DESCRIPTION = "Use this tool to get index information.";

@Setter
@Getter
private String name = CatIndexTool.NAME;
@Setter
@Getter
private String alias;
private static String DEFAULT_DESCRIPTION = "Use this tool to get index information.";
@Getter
@Setter
private String description = DEFAULT_DESCRIPTION;
Expand Down Expand Up @@ -295,16 +298,6 @@ public void onFailure(final Exception e) {
}, size);
}

@Override
public String getName() {
return CatIndexTool.NAME;
}

@Override
public void setName(String s) {

}

@Override
public boolean validate(Map<String, String> parameters) {
if (parameters == null || parameters.size() == 0) {
Expand Down

0 comments on commit eab03af

Please sign in to comment.