Skip to content

Commit

Permalink
Revert change in ValidationService
Browse files Browse the repository at this point in the history
  • Loading branch information
BolZer committed Oct 31, 2024
1 parent ad46f33 commit a68ae73
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ public final class ValidationService implements IValidationService {
}

@Override
public ValidationResult validateXml(InputStream inputStream)
throws Exception {
public @NonNull ValidationResult validateXml(
@NonNull InputStream inputStream
) throws Exception {
var bytesFromSteam = inputStream.readAllBytes();

var charset = determineCharsetForXmlPayload(bytesFromSteam);
Expand Down

0 comments on commit a68ae73

Please sign in to comment.