move ods5.txt to ressources folder

This commit is contained in:
Prémel-Cabic Arnaud 2019-03-04 11:33:57 +01:00
parent e6d1827bdc
commit 5f4b6180ff
2 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class Anagram extends HttpServlet {
Scanner s = null;
List<String> list = new ArrayList<String>();
s = new Scanner(this.getClass().getClassLoader().getResourceAsStream("/ods5.txt"));
s = new Scanner(this.getClass().getClassLoader().getResourceAsStream("/ressources/ods5.txt"));
while (s.hasNext()){
list.add(s.next());
}