File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 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
112115public 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]
You can’t perform that action at this time.
0 commit comments