summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2022-02-23 09:33:43 -0500
committerGitHub <noreply@github.com>2022-02-23 09:33:43 -0500
commit5a3a650a1bef3ce59b4d83bb1c0d612e750ab021 (patch)
treea447cdf9979d63d6d1025da52bc594fc2784f9c2
parente5398b4b4bf759f3fb506723993abe2d109e824d (diff)
parent10b1977611cdffb2cc132c1b2e9723d136e6554d (diff)
downloadsdl_android-5a3a650a1bef3ce59b4d83bb1c0d612e750ab021.tar.gz
Merge pull request #1793 from smartdevicelink/bugfix/issue_1792
Fix Typos
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/managers/file/filetypes/SdlFile.java4
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/transport/SdlRouterService.java6
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/transport/utl/SdlDeviceListener.java2
-rw-r--r--android/sdl_android/src/main/java/com/smartdevicelink/util/AndroidTools.java2
-rw-r--r--base/src/main/java/com/smartdevicelink/managers/screen/SoftButtonObject.java2
-rw-r--r--base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java2
-rw-r--r--base/src/main/java/com/smartdevicelink/proxy/rpc/AddCommand.java2
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 a0c0d9369..eeb62b158 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 class SdlFile implements Cloneable {
}
/**
- * 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 class SdlFile implements Cloneable {
}
/**
- * 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 70790e1b5..db281a351 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 @@ public class SdlRouterService extends Service {
/**
* 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 @@ public class SdlRouterService extends Service {
/**
* 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 @@ public class SdlRouterService extends Service {
/**
* 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 84349aad1..8e3682f50 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 class SdlDeviceListener {
/**
* 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 237d7c2dd..4f554f0d7 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 class AndroidTools {
*
* @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<VehicleType> 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 9eac0a1ff..2a9994ead 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 class SoftButtonObject implements Cloneable {
}
/**
- * Set the the SoftButtonState list
+ * Set the SoftButtonState list
*
* @param states a list of the object's soft button states. <strong>states should be unique for every SoftButtonObject. A SoftButtonState instance cannot be reused for multiple SoftButtonObjects.</strong>
*/
diff --git a/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java b/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java
index 3ef92f936..8072a4b23 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 class RPCStruct implements Cloneable {
}
/**
- * 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.
* <br><br><b> NOTE:</b> 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 3458e361a..311279eb8 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 class AddCommand extends RPCRequest {
}
/**
- * <p>Sets an Unique Command ID that identifies the command. Is returned in an
+ * <p>Sets a Unique Command ID that identifies the command. Is returned in an
* <i>{@linkplain OnCommand}</i> notification to identify the command
* selected by the user</p>
*