Skip to content

Commit 7fb702f

Browse files
Add Use @link to deprecated apis in OnSystemRequest & TouchEvent
1 parent 29f0b65 commit 7fb702f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

base/src/main/java/com/smartdevicelink/proxy/rpc/OnSystemRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public OnSystemRequest setFileType(FileType fileType) {
311311

312312
/**
313313
* @param offset of the data attached
314-
* @deprecated as of SmartDeviceLink 4.0
314+
* @deprecated as of SmartDeviceLink 4.0. Use {@link #setOffset(Long)} instead.
315315
*/
316316
public OnSystemRequest setOffset(Integer offset) {
317317
if (offset == null) {
@@ -377,7 +377,7 @@ public Long getLength() {
377377

378378
/**
379379
* @param length of the data attached
380-
* @deprecated as of SmartDeviceLink 4.0
380+
* @deprecated as of SmartDeviceLink 4.0. Use {@link #setLength(Long)} instead.
381381
*/
382382
public OnSystemRequest setLength(Integer length) {
383383
if (length == null) {

base/src/main/java/com/smartdevicelink/proxy/rpc/TouchEvent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public Integer getId() {
132132
* Use getTimestamps
133133
*
134134
* @return
135-
* @deprecated 4.0.2
135+
* @deprecated in 4.0.2. Use {@link #getTimestamps()}()} instead.
136136
*/
137137
@Deprecated
138138
public List<Long> getTs() {
@@ -170,7 +170,7 @@ public TouchEvent setTimestamps(@NonNull List<Long> ts) {
170170
* Use setTimestamps.
171171
*
172172
* @param ts
173-
* @deprecated 4.0.2
173+
* @deprecated in 4.0.2. Use {@link #setTimestamps(List)} instead.
174174
*/
175175
@Deprecated
176176
public TouchEvent setTs(List<Long> ts) {
@@ -182,7 +182,7 @@ public TouchEvent setTs(List<Long> ts) {
182182
* Use getTouchCoordinates
183183
*
184184
* @return
185-
* @deprecated 4.0.2
185+
* @deprecated in 4.0.2. Use {@link #getTouchCoordinates()} instead.
186186
*/
187187
@Deprecated
188188
public List<TouchCoord> getC() {
@@ -198,7 +198,7 @@ public List<TouchCoord> getTouchCoordinates() {
198198
* Use setTouchCoordinates
199199
*
200200
* @return
201-
* @deprecated 4.0.2
201+
* @deprecated in 4.0.2. Use {@link #setTouchCoordinates(List)} instead.
202202
*/
203203
@Deprecated
204204
public TouchEvent setC(List<TouchCoord> c) {

0 commit comments

Comments
 (0)