Skip to content

Commit

Permalink
add option field
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Lou <mloufra@amazon.com>
  • Loading branch information
mloufra committed Dec 6, 2022
1 parent 1ae4284 commit 9cba4e3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
import org.opensearch.common.io.stream.StreamOutput;
import org.opensearch.common.io.stream.Writeable;

public class ExtensionDenpendency implements Writeable {
public class ExtensionDependency implements Writeable {
private String uniqueId;
private String version;

public ExtensionDenpendency(String uniqueId, String version){
public ExtensionDependency(String uniqueId, String version){
this.uniqueId = uniqueId;
this.version = version;
}

public ExtensionDenpendency(StreamInput in) throws IOException {
public ExtensionDependency(StreamInput in) throws IOException {
uniqueId = in.readString();
version = in.readString();
}
Expand All @@ -43,7 +43,7 @@ public String toString() {
public boolean equals(Object obj) {
if (this == obj) return true;
if (obj == null || getClass() != obj.getClass()) return false;
ExtensionDenpendency that = (ExtensionDenpendency) obj;
ExtensionDependency that = (ExtensionDependency) obj;
return Objects.equals(uniqueId, that.uniqueId) && Objects.equals(version, that.version);
}

Expand Down

0 comments on commit 9cba4e3

Please sign in to comment.