From 12f9e7cac0ffc14ddfc50965d9b73630869d1f9c Mon Sep 17 00:00:00 2001 From: Kevin McCluney Date: Wed, 3 Jul 2024 11:03:51 -0500 Subject: [PATCH] Added (Object) casts. --- CCDD.jar | Bin 6744796 -> 6744796 bytes ccdd.build.number | 2 +- src/CCDD/CcddMessageIDHandler.java | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CCDD.jar b/CCDD.jar index 7e4151666cc7aea1bdd78cfef4c834e8caa985fb..7de7b2b051ed405aab23feb6f1ac478f2cbdfb21 100644 GIT binary patch delta 490 zcmX}pIWL0&9LMo`S`>Awo4To69e;J-_kHzo-v%8GO(X`xKVp%Hp@TQz1>i}%2cykI zVzZEr5?_nq^8$X~-|Ne*{S~gcNxLK7W^>wXLG#+>HIB`5QHfG9RO~7am1vb1l~@(0 zN}Ni(N`i_@B~c|wC0Qj!B~>NuLDHW>MuU0r9ZE+A+{i>0vXO&an?I|bz=n0aQo$~|v#>BvAPvXG4&d}Bk_|SxA zw4fD&HngJyo#;Y0deDnL^kV>n7{V|{Fp4pZV*-;M1& diff --git a/ccdd.build.number b/ccdd.build.number index c8e89fa6..25c9d216 100644 --- a/ccdd.build.number +++ b/ccdd.build.number @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Wed Jul 03 10:55:21 CDT 2024 +#Wed Jul 03 11:03:20 CDT 2024 build.number=12 diff --git a/src/CCDD/CcddMessageIDHandler.java b/src/CCDD/CcddMessageIDHandler.java index dc4413ef..cd872cc4 100644 --- a/src/CCDD/CcddMessageIDHandler.java +++ b/src/CCDD/CcddMessageIDHandler.java @@ -557,7 +557,7 @@ protected List getMessageOwnersNamesAndIDs(MessageIDSortOrder sortOrde // Check if the list of messages does not include the second sub-message. This // indicates that the parent has no 'real' sub-messages - if (!tlmMsgs.contains(parentMsg + "_1")) + if (!tlmMsgs.contains((Object) (parentMsg + "_1"))) { // Store the parent message name in place of the default sub-message name tlmMsg[1] = parentMsg; @@ -644,13 +644,13 @@ private void updateUsageAndDuplicates(String ownerType, else if (isGetDuplicates) { // Get the index of the owner and ID pair with a matching message ID, if one exists - int index = duplicates.indexOf(ownerAndID[1]); + int index = duplicates.indexOf((Object) ownerAndID[1]); // Check if this ID isn't already in the list if (index == -1) { // Get the index of the ID in the list of potential duplicates - int pdIndex = potentialDuplicates.indexOf(ownerAndID[1]); + int pdIndex = potentialDuplicates.indexOf((Object) ownerAndID[1]); if (pdIndex != -1) {