Browse Source

Commit5

master
Michal Malawski 1 year ago
parent
commit
9915535a64
2 changed files with 4 additions and 2 deletions
  1. 1
    1
      src/Helpers.java
  2. 3
    1
      src/Main.java

+ 1
- 1
src/Helpers.java View File

@@ -7,7 +7,7 @@ import java.util.ArrayList;
public class Helpers {

// Lesen einer Textdatei in ein Stringarray
public static String[] readTextdatei(String name) {
public static String[] readTextdatei(String name ) {
String line;
ArrayList<String> result = new ArrayList<String>();
try {

+ 3
- 1
src/Main.java View File

@@ -1,5 +1,7 @@

public class Main {
public static void main(String[] args) {
System.out.println("Hello!");
Helpers.readTextdatei("passwd");
Helpers.writeTextdatei("");
}
}

Loading…
Cancel
Save