From 10b1977611cdffb2cc132c1b2e9723d136e6554d Mon Sep 17 00:00:00 2001 From: theresalech Date: Tue, 22 Feb 2022 16:08:28 -0500 Subject: [PATCH] Fix Typos --- .../smartdevicelink/managers/file/filetypes/SdlFile.java | 4 ++-- .../com/smartdevicelink/transport/SdlRouterService.java | 6 +++--- .../smartdevicelink/transport/utl/SdlDeviceListener.java | 2 +- .../main/java/com/smartdevicelink/util/AndroidTools.java | 2 +- .../smartdevicelink/managers/screen/SoftButtonObject.java | 2 +- base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java | 2 +- .../main/java/com/smartdevicelink/proxy/rpc/AddCommand.java | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java b/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java index a0c0d93699..eeb62b158b 100644 --- a/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java +++ b/android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java @@ -252,7 +252,7 @@ public boolean isPersistent() { } /** - * Sets the the name of the static file. Static files comes pre-shipped with the head unit + * Sets the name of the static file. Static files comes pre-shipped with the head unit * * @param staticIcon a StaticIconName enum value representing the name of a static file that comes pre-shipped with the head unit */ @@ -261,7 +261,7 @@ public void setStaticIcon(boolean staticIcon) { } /** - * Gets the the name of the static file. Static files comes pre-shipped with the head unit + * Gets the name of the static file. Static files comes pre-shipped with the head unit * * @return a StaticIconName enum value representing the name of a static file that comes pre-shipped with the head unit */ diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java b/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java index 70790e1b53..db281a351f 100644 --- a/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java +++ b/android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java @@ -2467,7 +2467,7 @@ protected void setSDLConnectedStatus(String address, boolean hasSDLConnected) { /** * Checks to see if a device address has connected to SDL before. * - * @param address the mac address of the device in quesiton + * @param address the mac address of the device in question * @return if this is the first status check of this device */ protected boolean isFirstStatusCheck(String address) { @@ -2478,7 +2478,7 @@ protected boolean isFirstStatusCheck(String address) { /** * Checks to see if a device address has connected to SDL before. * - * @param address the mac address of the device in quesiton + * @param address the mac address of the device in question * @return if an SDL connection has ever been established with this device */ protected boolean hasSDLConnected(String address) { @@ -2973,7 +2973,7 @@ private LocalRouterService(Intent intent, int version, long timeStamp, Component /** * Check if input is newer than this version * - * @param service a reference to another possible router service that is in quesiton + * @param service a reference to another possible router service that is in question * @return if the supplied service is newer than this one */ public boolean isNewer(@SuppressWarnings("deprecation") LocalRouterService service) { diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/SdlDeviceListener.java b/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/SdlDeviceListener.java index 84349aad16..8e3682f509 100644 --- a/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/SdlDeviceListener.java +++ b/android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/SdlDeviceListener.java @@ -352,7 +352,7 @@ public static boolean isFeatureSupported(List sdlAppInfoList) { /** * Callback for the SdlDeviceListener. It will return if the supplied device makes a bluetooth - * connection on the SDL UUID RFCOMM chanel or not. Most of the time the only callback that + * connection on the SDL UUID RFCOMM channel or not. Most of the time the only callback that * matters will be the onTransportConnected. */ public interface Callback { diff --git a/android/sdl_android/src/main/java/com/smartdevicelink/util/AndroidTools.java b/android/sdl_android/src/main/java/com/smartdevicelink/util/AndroidTools.java index 237d7c2dd1..4f554f0d77 100644 --- a/android/sdl_android/src/main/java/com/smartdevicelink/util/AndroidTools.java +++ b/android/sdl_android/src/main/java/com/smartdevicelink/util/AndroidTools.java @@ -331,7 +331,7 @@ public static void saveVehicleType(Context context, VehicleType vehicleType, Str * * @param context a context to access Android system services through. * @param component a component name of a LocalRouterService. - * @param manifestFieldId a string resources id that indicates an unique name for the vehicle data in the manifest. + * @param manifestFieldId a string resources id that indicates a unique name for the vehicle data in the manifest. * @return The list of vehicle types, or null if an error occurred or field was not found. */ public static @Nullable List getVehicleTypesFromManifest(Context context, ComponentName component, int manifestFieldId) { diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java b/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java index 9eac0a1ff9..2a9994ead1 100644 --- a/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java +++ b/base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java @@ -270,7 +270,7 @@ public List getStates() { } /** - * Set the the SoftButtonState list + * Set the SoftButtonState list * * @param states a list of the object's soft button states. states should be unique for every SoftButtonObject. A SoftButtonState instance cannot be reused for multiple SoftButtonObjects. */ diff --git a/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java b/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java index 3ef92f9364..8072a4b23a 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java +++ b/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java @@ -117,7 +117,7 @@ public JSONObject serializeJSON(byte protocolVersion) throws JSONException { } /** - * This method should clean the the RPC to make sure it is compliant with the spec. + * This method should clean the RPC to make sure it is compliant with the spec. *

NOTE: Super needs to be called at the END of the method * * @param rpcVersion the rpc spec version that has been negotiated. If value is null the diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/AddCommand.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/AddCommand.java index 3458e361a2..311279eb82 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/AddCommand.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/AddCommand.java @@ -176,7 +176,7 @@ public Integer getCmdID() { } /** - *

Sets an Unique Command ID that identifies the command. Is returned in an + *

Sets a Unique Command ID that identifies the command. Is returned in an * {@linkplain OnCommand} notification to identify the command * selected by the user

*