According to the verification I am only failing when both dates are null. Any suggestions why is it like that ?
package com.codegym.task.task39.task3913;
import java.io.IOException;
import java.nio.file.Paths;
import java.text.ParseException;
import java.util.Date;
public class Solution {
public static void main(String[] args) throws IOException, ParseException {
LogParser logParser = new LogParser(Paths.get("/home/volodya/Downloads/test-files/"));
System.out.println(logParser.getNumberOfUniqueIPs(null, null));
System.out.println(logParser.getUniqueIPs(null, null));
System.out.println(logParser.getIPsForEvent(Event.LOGIN,null, new Date()));
System.out.println(logParser.getIPsForUser("George Bentley" ,null, null));
System.out.println(logParser.getIPsForStatus(Status.OK, null, null));
}
}