Подскажите пжт, почему валидатор не видит этот метод, в идее все корректно работает.Спасибо
package com.javarush.task.task18.task1801;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.IOException;
/*
Максимальный байт
*/
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String key = reader.readLine();
FileInputStream fileInputStream = new FileInputStream(key);
byte [] a = fileInputStream.readAllBytes();
byte max = a[0];
for (int i = 0; i < a.length; i++) {
if (a[i] > max){max = a[i];}
}
reader.close();
fileInputStream.close();
System.out.println(max);
}
}