move ods5.txt to ressources folder
This commit is contained in:
parent
e6d1827bdc
commit
5f4b6180ff
@ -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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user