mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-21 15:28:52 -05:00
Omit empty elements
This commit is contained in:
parent
aa7234982d
commit
b8d9f75de8
@ -12,7 +12,6 @@ import java.io.StringWriter;
|
||||
import java.net.URL;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.IntStream;
|
||||
import java.util.stream.Stream;
|
||||
@ -338,7 +337,7 @@ public class AnimeList {
|
||||
|
||||
@Override
|
||||
public String marshal(Integer i) throws Exception {
|
||||
return Objects.toString(i, "");
|
||||
return i == null ? null : Integer.toString(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user