Skip to content

Commit 3a4643b

Browse files
zanninsozanninso
authored andcommitted
docs: change the methode name to be alinged with the tests for the singleton-bleurprint
1 parent e597bdc commit 3a4643b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
public class ExerciseRunner {
22
public static void main(String[] args) {
3-
System.out.println(Singleton.get???().whoAreYou());
3+
System.out.println(Singleton.get???().ShowMessage());
44
}
55
}

subjects/java/checkpoints/singleton-blueprint/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Singleton {
1616
public Singleton get???() {
1717
}
1818

19-
public String whoAreYou() {
19+
public String ShowMessage() {
2020
return "Hello, I am a singleton!"
2121
}
2222
}
@@ -29,7 +29,7 @@ Here is a possible `ExerciseRunner.java` to test your class:
2929
```java
3030
public class ExerciseRunner {
3131
public static void main(String[] args) {
32-
System.out.println(Singleton.get???().whoAreYou());
32+
System.out.println(Singleton.get???().ShowMessage());
3333
}
3434
}
3535
```

0 commit comments

Comments
 (0)