While reviewing your code I found out that there are extra characters which make intellij report errors, even if command line build worked fine. I removed them, even if diff does not show them. I did switch java.version property from 1.8 as your code already use Optional.isEmpty which is added in Java 11.
While reviewing your code I found out that there are extra characters which make intellij report errors, even if command line build worked fine. I removed them, even if diff does not show them. I did switch
java.version
property from 1.8 as your code already useOptional.isEmpty
which is added in Java 11.