Skip to content

Commit 3997daa

Browse files
author
Robert Henigan
authored
Merge pull request #1627 from smartdevicelink/feature/issue_1626_deprecated_issue
Fix deprecated keyword issue in class javadoc
2 parents c60d308 + b51682c commit 3997daa

8 files changed

Lines changed: 14 additions & 10 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
* <td>The information about the park brake: - true, if active - false if not.</td>
9090
* <td>
9191
* @since SmartDeviceLink 2.0.0
92-
* @deprecated in SmartDeviceLink 7.1.0
92+
* @property-deprecated in SmartDeviceLink 7.1.0
9393
* </td>
9494
* </tr>
9595
* <tr>
@@ -99,7 +99,7 @@
9999
* <td>The information about the park brake: - true, if active - false if not.</td>
100100
* <td>
101101
* @since SmartDeviceLink 2.0.0
102-
* @deprecated in SmartDeviceLink 7.1.0
102+
* @property-deprecated in SmartDeviceLink 7.1.0
103103
* </td>
104104
* </tr>
105105
* <tr>
@@ -109,7 +109,7 @@
109109
* <td>The information about the park brake: - true, if active - false if not.</td>
110110
* <td>
111111
* @since SmartDeviceLink 2.0.0
112-
* @deprecated in SmartDeviceLink 7.1.0
112+
* @property-deprecated in SmartDeviceLink 7.1.0
113113
* </td>
114114
* </tr>
115115
* <tr>
@@ -119,7 +119,7 @@
119119
* <td>References signal "DrStatRr_B_Actl".</td>
120120
* <td>
121121
* @since SmartDeviceLink 2.0.0
122-
* @deprecated in SmartDeviceLink 7.1.0
122+
* @property-deprecated in SmartDeviceLink 7.1.0
123123
* </td>
124124
* </tr>
125125
* <tr>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* <th>SmartDeviceLink Ver. Available</th>
5353
* </tr>
5454
* <tr>
55-
* <td>@Deprecated <s>displayType</s></td>
55+
* <td>@property-deprecated <s>displayType</s></td>
5656
* <td><s>DisplayType</s></td>
5757
* <td><s>The type of display</s>
5858
* </td>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
* <td>Subscribable</td>
114114
* <td>
115115
* @since SmartDeviceLink 2.0.0
116-
* @deprecated in SmartDeviceLink 7.1.0
116+
* @property-deprecated in SmartDeviceLink 7.1.0
117117
* </td>
118118
* </tr>
119119
* <tr>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
* <td>{"string_min_length": 0, "string_max_length": 500}</td>
123123
* <td>
124124
* @since SmartDeviceLink 1.0.0
125-
* @deprecated in SmartDeviceLink 7.1.0
125+
* @property-deprecated in SmartDeviceLink 7.1.0
126126
* </td>
127127
* </tr>
128128
* <tr>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
* <td>Subscribable</td>
122122
* <td>
123123
* @since SmartDeviceLink 2.0.0
124-
* @deprecated in SmartDeviceLink 7.1.0
124+
* @property-deprecated in SmartDeviceLink 7.1.0
125125
* </td>
126126
* </tr>
127127
* <tr>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
* <td>Subscribable</td>
117117
* <td>
118118
* @since SmartDeviceLink 2.0.0
119-
* @deprecated in SmartDeviceLink 7.1.0
119+
* @property-deprecated in SmartDeviceLink 7.1.0
120120
* </td>
121121
* </tr>
122122
* <tr>

generator/templates/base_template.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
* <td>{%- for d in param.description %}{{d}}{%- endfor %}</td>
6464
* <td>{%- if param.mandatory is eq true %}Y{%- else %}N{%- endif %}</td>
6565
* <td>{%- for k in param.values %}{{ '{' if loop.first}}"{{k}}": {{param.values[k]}}{{ ', ' if not loop.last else '}'}}{%- endfor %}</td>
66-
{%- if param.since is defined and param.since is not none %}{% set see, deprecated, since, history, spacing = param.see, param.deprecated, param.since, param.history, ' * ' %}
66+
{%- if param.since is defined and param.since is not none %}{% set see, deprecated, since, history, spacing, headerParam = param.see, param.deprecated, param.since, param.history, ' * ', 'true' %}
6767
* <td>
6868
{%- include "javadoc_version_info.java" %}
6969
* </td>

generator/templates/javadoc_version_info.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
{%- endif %}
55
{%- if deprecated is defined and deprecated is not none %}
66
{{spacing}}{{prefix}}@since SmartDeviceLink {{history[0].since}}
7+
{%- if headerParam is defined and headerParam is not none %}
8+
{{spacing}}{{prefix}}@property-deprecated in SmartDeviceLink {{since}}
9+
{%- else %}
710
{{spacing}}{{prefix}}@deprecated in SmartDeviceLink {{since}}
11+
{%- endif %}
812
{%- elif history is defined and history is not none %}
913
{{spacing}}{{prefix}}@since SmartDeviceLink {{history[0].since}}
1014
{%- else %}

0 commit comments

Comments
 (0)