Skip to content

Commit

Permalink
fix(ZNTA-1597): Remove duplicate project option
Browse files Browse the repository at this point in the history
  • Loading branch information
djansen-redhat committed Feb 15, 2018
1 parent c4a6aae commit 2958aeb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
Expand Up @@ -114,5 +114,6 @@ private void printFind(String jsonResponse) throws Exception {
log.info("Content: {}", contents);
}
}
log.info("");
}
}
Expand Up @@ -25,6 +25,5 @@
public interface GlossarySearchOptions extends ConfigurableGlossaryOptions {

public String getFilter();
public String getProject();
public boolean getRaw();
}
Expand Up @@ -28,19 +28,13 @@ public class GlossarySearchOptionsImpl extends ConfigurableGlossaryOptionsImpl
implements GlossarySearchOptions {

private String filter;
private String project;
private boolean raw;

@Override
public String getFilter() {
return filter;
}

@Override
public String getProject() {
return this.project;
}

@Override
public boolean getRaw() {
return this.raw;
Expand All @@ -52,12 +46,6 @@ public void setFilter(String filter) {
this.filter = filter;
}

@Option(name = "--project-glossary", metaVar = "PROJECT",
usage = "Project Glossary ID to restrict search.")
public void setProject(String project) {
this.project = project;
}

@Option(name = "--raw", metaVar = "RAW",
usage = "Print the raw JSON response.")
public void setRaw(boolean raw) {
Expand Down

0 comments on commit 2958aeb

Please sign in to comment.