Skip to content

Commit eb0a8c7

Browse files
author
ditmarlange
committed
Parameterproblem gefixed
1 parent 2edc683 commit eb0a8c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RN4/src/router/Router.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ public Router() throws IOException {
164164
*/
165165

166166
public static void main(String[] args) throws IOException {
167-
nl = new NetworkLayer(args[1]);
168-
Scanner in = new Scanner(new FileReader(argv[0]));
167+
nl = new NetworkLayer(Integer.valueOf(args[1]));
168+
Scanner in = new Scanner(new FileReader(args[0]));
169169
while (in.hasNextLine()) {
170170
String line = in.nextLine();
171171
String[] stary = line.split(";");

0 commit comments

Comments
 (0)