Skip to content

Commit 480e95b

Browse files
algolia-botmillotp
andcommitted
fix(specs): event.status can be null (generated)
algolia/api-clients-automation#4727 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent ad3e10a commit 480e95b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

algoliasearch/src/main/java/com/algolia/model/ingestion/Event.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public Event setStatus(EventStatus status) {
6161
}
6262

6363
/** Get status */
64-
@javax.annotation.Nonnull
64+
@javax.annotation.Nullable
6565
public EventStatus getStatus() {
6666
return status;
6767
}

algoliasearch/src/main/java/com/algolia/model/ingestion/EventStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public static EventStatus fromValue(String value) {
4343
return b;
4444
}
4545
}
46-
throw new IllegalArgumentException("Unexpected value '" + value + "'");
46+
return null;
4747
}
4848
}

algoliasearch/src/main/java/com/algolia/model/ingestion/SourceDocker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public SourceDocker setImage(String image) {
2222
return this;
2323
}
2424

25-
/** Shortname of the image, as returned by the referential. */
25+
/** Name of the connector. */
2626
@javax.annotation.Nonnull
2727
public String getImage() {
2828
return image;

0 commit comments

Comments
 (0)