-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intentionally added uncovered parts in the SUT
- Loading branch information
1 parent
22bdcf4
commit 0f75507
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
com.examples.myproject/src/main/java/com/examples/myproject/App.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
package com.examples.myproject; | ||
|
||
public class App { | ||
public String sayHello(String name) { | ||
if (name == null) | ||
return "Hello"; | ||
else | ||
return "Hello " + name; | ||
} | ||
|
||
public String sayHello() { | ||
return "Hello"; | ||
return sayHello(null); | ||
} | ||
} |