Przeglądaj źródła

Merge pull request #556 from exercism/533-hello-world-starter

hello-world: standardize starter implementation
FridaTveit 9 lat temu
rodzic
commit
2e3d325f6c

+ 1
- 1
exercises/hello-world/src/main/java/HelloWorld.java Wyświetl plik

1
 public class HelloWorld {
1
 public class HelloWorld {
2
     public static String hello(String name) {
2
     public static String hello(String name) {
3
-        return null;
3
+        throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
4
     }
4
     }
5
 }
5
 }