set fallback value for message
This commit is contained in:
parent
6845afb1dd
commit
0d0942ad46
@ -73,4 +73,10 @@ public class DocumentRequest {
|
||||
return Optional.ofNullable(originDocumentId);
|
||||
}
|
||||
|
||||
|
||||
public Set<AzureOcrFeature> getFeatures() {
|
||||
|
||||
return features == null ? Collections.emptySet() : features;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user