Skip to content

Commit

Permalink
feat(main): deprecate helloWorld() and hello(String who)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schulte authored and Tobias Schulte committed Mar 17, 2017
1 parent 372b5f4 commit fdaf3e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/de/gliderpilot/semanticrelease/test/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@ public static void main(String[] args) {
System.out.println(greet("Hello", "World"));
}

/**
* @deprecated Use greet("Hello", "World") instead.
*/
@Deprecated
public static String helloWorld() {
return hello("World");
}

/**
* @deprecated Use greet("Hello", who) instead.
*/
@Deprecated
public static String hello(String who) {
return greet("Hello", who);
}
Expand Down

0 comments on commit fdaf3e1

Please sign in to comment.