This repository was archived by the owner on Aug 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/it/tozzi/mail/uudecoder Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77 <groupId >it.tozzi.mail</groupId >
88 <artifactId >uudecoder</artifactId >
9- <version >0 .0.3 </version >
9+ <version >1 .0.0 </version >
1010 <name >UUDecoder</name >
1111 <description >Extracts uuencoded attachments from (email) text message</description >
1212
2222 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
2323 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2424 <sources .encoding>UTF-8</sources .encoding>
25- <java .version>11 </java .version>
25+ <java .version>1.8 </java .version>
2626
2727 <maven-compiler-plugin .version>3.8.1</maven-compiler-plugin .version>
2828 <javax .mail.version>1.6.2</javax .mail.version>
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ private static boolean internalContainsUUencodedAttachments(String content) thro
221221 }
222222
223223 String fileName = firstLine .substring (9 );
224- if (fileName == null || fileName .isBlank ()) {
224+ if (fileName == null || fileName .trim (). isEmpty ()) {
225225 logger .warn ("File name not present" );
226226 return false ;
227227 }
Original file line number Diff line number Diff line change 11package it .tozzi .mail .uudecoder .exception ;
22
3- import lombok .Getter ;
4-
53/**
64 *
75 * @author biagio.tozzi
108public class UUDecoderException extends Exception {
119
1210 private static final long serialVersionUID = -8770023882303941631L ;
13-
14- @ Getter
15- private String error ;
1611
1712 public UUDecoderException (String error , Exception e ) {
18- super (e );
19- this .error = error ;
13+ super (error , e );
2014 }
2115
2216}
You can’t perform that action at this time.
0 commit comments