vttranlina commented on code in PR #1126:
URL: https://github.com/apache/james-project/pull/1126#discussion_r946476062
##########
third-party/rspamd/src/main/java/org/apache/james/rspamd/model/AnalysisResult.java:
##########
@@ -94,15 +102,18 @@ public String getDescription() {
private final float score;
private final float requiredScore;
private final Optional<String> desiredRewriteSubject;
+ private final boolean hasVirus;
public AnalysisResult(@JsonProperty("action") Action action,
@JsonProperty("score") float score,
@JsonProperty("required_score") float requiredScore,
- @JsonProperty("subject") Optional<String>
desiredRewriteSubject) {
+ @JsonProperty("subject") Optional<String>
desiredRewriteSubject,
Review Comment:
Do we still need `@JsonProperty` here?
I see `AnalysisResultDeserializer` already
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]