Преглед изворни кода

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

hello-world: standardize starter implementation
FridaTveit пре 9 година
родитељ
комит
2e3d325f6c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      exercises/hello-world/src/main/java/HelloWorld.java

+ 1
- 1
exercises/hello-world/src/main/java/HelloWorld.java Прегледај датотеку

@@ -1,5 +1,5 @@
1 1
 public class HelloWorld {
2 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
 }