Skip to content

Commit

Permalink
JAMES-2993 Preview.Factory - change modifier access
Browse files Browse the repository at this point in the history
  • Loading branch information
vttranlina authored and Arsnael committed Jun 22, 2021
1 parent 2039267 commit 7b829b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ public Preview fromMessageAsString(String messageAsString) throws IOException {
return fromInputStream(new ByteArrayInputStream(messageAsString.getBytes(StandardCharsets.UTF_8)));
}

private Preview fromInputStream(InputStream inputStream) throws IOException {
public Preview fromInputStream(InputStream inputStream) throws IOException {
return fromMime4JMessage(parse(inputStream));
}

private Preview fromMime4JMessage(Message mimeMessage) throws IOException {
public Preview fromMime4JMessage(Message mimeMessage) throws IOException {
MessageContentExtractor.MessageContent messageContent = messageContentExtractor.extract(mimeMessage);
return messageContent.extractMainTextContent(htmlTextExtractor)
.map(Preview::compute)
Expand Down

0 comments on commit 7b829b7

Please sign in to comment.