Update NewsRepository.java

Error correction