Skip to content

Commit

Permalink
feat(main): remove deprecated methods helloWorld() and hello()
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove deprecated methods helloWorld() and hello()
use greet("Hello", "World") instead
  • Loading branch information
Tobias Schulte authored and Tobias Schulte committed Mar 17, 2017
1 parent 6d93295 commit ccf09e1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/main/java/de/gliderpilot/semanticrelease/test/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,6 @@ 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);
}

public static String greet(String greeting, String who) {
return greeting + " " + who;
}
Expand Down

0 comments on commit ccf09e1

Please sign in to comment.