diff options
author | BrettyWhite <geekman3454@protonmail.com> | 2019-09-16 13:10:55 -0400 |
---|---|---|
committer | BrettyWhite <geekman3454@protonmail.com> | 2019-09-16 13:10:55 -0400 |
commit | 134346eb00a50bc788d07ef23614f62188a35810 (patch) | |
tree | ac8bd7e08fe45a4a0b68dbcb4736f69edf367e13 | |
parent | f4bc7da93ccd53bb85571e35c54e1100924de2c5 (diff) | |
download | sdl_android-feature/mandatory_params.tar.gz |
add in non-null to settersfeature/mandatory_params
5 files changed, 7 insertions, 7 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsent.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsent.java index 3daa3804e..fd53bedf2 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsent.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsent.java @@ -35,7 +35,7 @@ public class GetInteriorVehicleDataConsent extends RPCRequest { * Sets the Module Type for this class * @param type the Module Type to be set */ - public void setModuleType(ModuleType type) { + public void setModuleType(@NonNull ModuleType type) { setParameters(KEY_MODULE_TYPE, type); } @@ -51,7 +51,7 @@ public class GetInteriorVehicleDataConsent extends RPCRequest { * Sets the Module Ids for this class * @param ids the ids to be set */ - public void setModuleIds(List<String> ids) { + public void setModuleIds(@NonNull List<String> ids) { setParameters(KEY_MODULE_ID, ids); } diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsentResponse.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsentResponse.java index 7a77be967..e223ba6bf 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsentResponse.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/GetInteriorVehicleDataConsentResponse.java @@ -32,7 +32,7 @@ public class GetInteriorVehicleDataConsentResponse extends RPCResponse { * Sets the list of allowances for this class * @param allowances the allowances to be set */ - public void setAllowances(List<Boolean> allowances) { + public void setAllowances(@NonNull List<Boolean> allowances) { setParameters(KEY_ALLOWED, allowances); } diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/Grid.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/Grid.java index b90a35d64..238efada0 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/Grid.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/Grid.java @@ -39,7 +39,7 @@ public class Grid extends RPCStruct { * Sets the column of this Grid * @param col the column to be set */ - public void setColumn(Integer col) { + public void setColumn(@NonNull Integer col) { setValue(KEY_COLUMN, col); } @@ -55,7 +55,7 @@ public class Grid extends RPCStruct { * Sets the row's value of this Grid * @param row the row to be set */ - public void setRow(Integer row) { + public void setRow(@NonNull Integer row) { setValue(KEY_ROW, row); } diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/ModuleInfo.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/ModuleInfo.java index ae428319b..fd7be795f 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/ModuleInfo.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/ModuleInfo.java @@ -34,7 +34,7 @@ public class ModuleInfo extends RPCStruct { * Sets the Module ID for this Module * @param id the id to be set */ - public void setModuleId(String id) { + public void setModuleId(@NonNull String id) { setValue(KEY_MODULE_ID, id); } diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/ReleaseInteriorVehicleDataModule.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/ReleaseInteriorVehicleDataModule.java index a45ec70b2..fb00c9779 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/ReleaseInteriorVehicleDataModule.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/ReleaseInteriorVehicleDataModule.java @@ -32,7 +32,7 @@ public class ReleaseInteriorVehicleDataModule extends RPCRequest { * Sets the Module Type for this class * @param type the Module Type to be set */ - public void setModuleType(ModuleType type) { + public void setModuleType(@NonNull ModuleType type) { setParameters(KEY_MODULE_TYPE, type); } |