Skip to content

Commit 367c5ea

Browse files
committed
fix broken link in CONTRIBUTING.md
1 parent d0f5a9b commit 367c5ea

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[issues]: https://github.com/botblock/JavaBotBlockAPI/issues
2-
[Code of Conduct]: ./CODE_OF_CONDUCT.md
2+
[Code of Conduct]: https://github.com/botblock/JavaBotBlockAPI/blob/master/CODE_OF_CONDUCT.md
33
[BotBlock API]: https://botblock.org/api/docs
44

55
## Contributing Guidelines
@@ -108,13 +108,27 @@ Here is an example of the different parts being used:
108108
* When the provided String is empty/null.
109109
*
110110
* @since v1.0.0
111+
*
112+
* @deprecated Use {@link #getFooBar() getFooBar()} instead.
111113
*/
114+
@Deprecated
112115
public String getFooBar(String foo) throws IllegalArgumentException{
113116
if(foo.isEmpty())
114117
throw new IllegalArgumentException("foo may not be empty");
115118

116119
return foo + "Bar";
117120
}
121+
122+
/**
123+
* Returns "foobar".
124+
*
125+
* @return {@code "foobar"}
126+
*
127+
* @since v1.0.1
128+
*/
129+
public String getFooBar(){
130+
return "foobar";
131+
}
118132
```
119133

120134
## [Code of Conduct]

0 commit comments

Comments
 (0)