diff options
author | Julian Kast <Julian.kast@livio.io> | 2020-10-28 09:56:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 09:56:01 -0400 |
commit | 9d2d40c82c3ad19f955a4b3f3e4475be4aac8559 (patch) | |
tree | 80a0a0efe735dfe0bb825b71d76f60c015018e0b | |
parent | 29f0b65f5f8ea7d4a00fdc6b9ebcc84ac717dd6f (diff) | |
parent | 9dc7569bcec6cca5102bcde11d147f1eecc6bba5 (diff) | |
download | sdl_android-9d2d40c82c3ad19f955a4b3f3e4475be4aac8559.tar.gz |
Merge pull request #1537 from smartdevicelink/bugfix/issue_1536
Add missing `Use @link` annotations to some deprecated APIs
3 files changed, 8 insertions, 8 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/OnSystemRequest.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/OnSystemRequest.java index 940a727eb..c07c4e2e0 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/OnSystemRequest.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/OnSystemRequest.java @@ -311,7 +311,7 @@ public class OnSystemRequest extends RPCNotification { /**
* @param offset of the data attached
- * @deprecated as of SmartDeviceLink 4.0
+ * @deprecated as of SmartDeviceLink 4.0. Use {@link #setOffset(Long)} instead.
*/
public OnSystemRequest setOffset(Integer offset) {
if (offset == null) {
@@ -377,7 +377,7 @@ public class OnSystemRequest extends RPCNotification { /**
* @param length of the data attached
- * @deprecated as of SmartDeviceLink 4.0
+ * @deprecated as of SmartDeviceLink 4.0. Use {@link #setLength(Long)} instead.
*/
public OnSystemRequest setLength(Integer length) {
if (length == null) {
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/PutFile.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/PutFile.java index 638fb6273..0c37d25ea 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/PutFile.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/PutFile.java @@ -268,7 +268,7 @@ public class PutFile extends RPCRequest { /**
* @param offset Optional offset in bytes for resuming partial data chunks
- * @deprecated as of SmartDeviceLink 4.0
+ * @deprecated as of SmartDeviceLink 4.0. Use {@link #setOffset(Long)} instead.
*/
public PutFile setOffset(Integer offset) {
if (offset == null) {
@@ -305,7 +305,7 @@ public class PutFile extends RPCRequest { /**
* @param length Optional length in bytes for resuming partial data chunks. If offset is set to 0, then length is
* the total length of the file to be downloaded
- * @deprecated as of SmartDeviceLink 4.0
+ * @deprecated as of SmartDeviceLink 4.0. Use {@link #setLength(Long)} instead.
*/
public PutFile setLength(Integer length) {
if (length == null) {
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/TouchEvent.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/TouchEvent.java index 42f4caad2..cfa91a20b 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/TouchEvent.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/TouchEvent.java @@ -132,7 +132,7 @@ public class TouchEvent extends RPCStruct { * Use getTimestamps
*
* @return
- * @deprecated 4.0.2
+ * @deprecated in 4.0.2. Use {@link #getTimestamps()}()} instead.
*/
@Deprecated
public List<Long> getTs() {
@@ -170,7 +170,7 @@ public class TouchEvent extends RPCStruct { * Use setTimestamps.
*
* @param ts
- * @deprecated 4.0.2
+ * @deprecated in 4.0.2. Use {@link #setTimestamps(List)} instead.
*/
@Deprecated
public TouchEvent setTs(List<Long> ts) {
@@ -182,7 +182,7 @@ public class TouchEvent extends RPCStruct { * Use getTouchCoordinates
*
* @return
- * @deprecated 4.0.2
+ * @deprecated in 4.0.2. Use {@link #getTouchCoordinates()} instead.
*/
@Deprecated
public List<TouchCoord> getC() {
@@ -198,7 +198,7 @@ public class TouchEvent extends RPCStruct { * Use setTouchCoordinates
*
* @return
- * @deprecated 4.0.2
+ * @deprecated in 4.0.2. Use {@link #setTouchCoordinates(List)} instead.
*/
@Deprecated
public TouchEvent setC(List<TouchCoord> c) {
|