Просмотр исходного кода

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

hello-world: standardize starter implementation
FridaTveit 9 лет назад
Родитель
Сommit
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
 }