Skip to content

Commit 8db2b18

Browse files
committed
Improve deprecated JavaDocs
1 parent 1071230 commit 8db2b18

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/main/java/at/jddev0/lang/DataObject.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,14 +2044,14 @@ public static final class FunctionPointerObject {
20442044
/**
20452045
* Pointer to a predefined function
20462046
*
2047-
* @deprecated Use the new LangNativeFunction system instead
2047+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
20482048
*/
20492049
@Deprecated
20502050
public static final int PREDEFINED = 2;
20512051
/**
20522052
* Function which is defined in the language
20532053
*
2054-
* @deprecated Use the new LangNativeFunction system instead
2054+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
20552055
*/
20562056
@Deprecated
20572057
public static final int EXTERNAL = 3;
@@ -2182,7 +2182,7 @@ public FunctionPointerObject(LangNativeFunction nativeFunction) {
21822182
/**
21832183
* For pointer to predefined function/linker function
21842184
*
2185-
* @deprecated Use the new LangNativeFunction system instead
2185+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
21862186
*/
21872187
@Deprecated
21882188
public FunctionPointerObject(String langPath, String langFile, String functionName, LangPredefinedFunctionObject predefinedFunction) {
@@ -2200,7 +2200,7 @@ public FunctionPointerObject(String langPath, String langFile, String functionNa
22002200
/**
22012201
* For pointer to predefined function/linker function
22022202
*
2203-
* @deprecated Use the new LangNativeFunction system instead
2203+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22042204
*/
22052205
@Deprecated
22062206
public FunctionPointerObject(String langPath, String langFile, LangPredefinedFunctionObject predefinedFunction) {
@@ -2209,7 +2209,7 @@ public FunctionPointerObject(String langPath, String langFile, LangPredefinedFun
22092209
/**
22102210
* For pointer to predefined function/linker function
22112211
*
2212-
* @deprecated Use the new LangNativeFunction system instead
2212+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22132213
*/
22142214
@Deprecated
22152215
public FunctionPointerObject(String functionName, LangPredefinedFunctionObject predefinedFunction) {
@@ -2218,7 +2218,7 @@ public FunctionPointerObject(String functionName, LangPredefinedFunctionObject p
22182218
/**
22192219
* For pointer to predefined function/linker function
22202220
*
2221-
* @deprecated Use the new LangNativeFunction system instead
2221+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22222222
*/
22232223
@Deprecated
22242224
public FunctionPointerObject(LangPredefinedFunctionObject predefinedFunction) {
@@ -2228,7 +2228,7 @@ public FunctionPointerObject(LangPredefinedFunctionObject predefinedFunction) {
22282228
/**
22292229
* For pointer to external function
22302230
*
2231-
* @deprecated Use the new LangNativeFunction system instead
2231+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22322232
*/
22332233
@Deprecated
22342234
public FunctionPointerObject(String langPath, String langFile, String functionName, LangExternalFunctionObject externalFunction) {
@@ -2246,7 +2246,7 @@ public FunctionPointerObject(String langPath, String langFile, String functionNa
22462246
/**
22472247
* For pointer to external function
22482248
*
2249-
* @deprecated Use the new LangNativeFunction system instead
2249+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22502250
*/
22512251
@Deprecated
22522252
public FunctionPointerObject(String langPath, String langFile, LangExternalFunctionObject externalFunction) {
@@ -2255,7 +2255,7 @@ public FunctionPointerObject(String langPath, String langFile, LangExternalFunct
22552255
/**
22562256
* For pointer to external function
22572257
*
2258-
* @deprecated Use the new LangNativeFunction system instead
2258+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22592259
*/
22602260
@Deprecated
22612261
public FunctionPointerObject(String functionName, LangExternalFunctionObject externalFunction) {
@@ -2264,7 +2264,7 @@ public FunctionPointerObject(String functionName, LangExternalFunctionObject ext
22642264
/**
22652265
* For pointer to external function
22662266
*
2267-
* @deprecated Use the new LangNativeFunction system instead
2267+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
22682268
*/
22692269
@Deprecated
22702270
public FunctionPointerObject(LangExternalFunctionObject externalFunction) {
@@ -2316,15 +2316,15 @@ public LangNativeFunction getNativeFunction() {
23162316
}
23172317

23182318
/**
2319-
* @deprecated Use the new LangNativeFunction system instead
2319+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
23202320
*/
23212321
@Deprecated
23222322
public LangPredefinedFunctionObject getPredefinedFunction() {
23232323
return predefinedFunction;
23242324
}
23252325

23262326
/**
2327-
* @deprecated Use the new LangNativeFunction system instead
2327+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
23282328
*/
23292329
@Deprecated
23302330
public LangExternalFunctionObject getExternalFunction() {

src/main/java/at/jddev0/lang/LangInterpreter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3934,14 +3934,14 @@ public void setVar(final int SCOPE_ID, String varName, DataObject[] arr, boolean
39343934
setVar(SCOPE_ID, varName, new DataObject().setArray(arr), ignoreFinal);
39353935
}
39363936
/**
3937-
* @deprecated Use the new LangNativeFunction system instead
3937+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
39383938
*/
39393939
@Deprecated
39403940
public void setVar(final int SCOPE_ID, String varName, LangExternalFunctionObject function) {
39413941
setVar(SCOPE_ID, varName, function, false);
39423942
}
39433943
/**
3944-
* @deprecated Use the new LangNativeFunction system instead
3944+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
39453945
*/
39463946
@Deprecated
39473947
public void setVar(final int SCOPE_ID, String varName, LangExternalFunctionObject function, boolean ignoreFinal) {
@@ -4001,14 +4001,14 @@ public void addPredefinedFunction(String funcName, LangNativeFunction function)
40014001
* If function already exists, it will be overridden<br>
40024002
* Function can be accessed with "func.[funcName]"/"fn.[funcName]" or with "linker.[funcName]"/"ln.[funcName]" and can't be removed nor changed by the Lang file
40034003
*
4004-
* @deprecated Use the new LangNativeFunction system instead
4004+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
40054005
*/
40064006
@Deprecated
40074007
public void addPredefinedFunction(String funcName, LangPredefinedFunctionObject function) {
40084008
interpreter.funcs.put(funcName, function);
40094009
}
40104010
/**
4011-
* @deprecated Use the new LangNativeFunction system instead
4011+
* @deprecated [Will be removed in 1.0.0-beta-06] Use the new LangNativeFunction system instead
40124012
*/
40134013
@Deprecated
40144014
public void addPredefinedFunctions(Map<String, ? extends LangPredefinedFunctionObject> funcs) {

0 commit comments

Comments
 (0)