Skip to content

Commit

Permalink
Added (Object) casts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin McCluney committed Jul 3, 2024
1 parent ce93023 commit 12f9e7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified CCDD.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion ccdd.build.number
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions src/CCDD/CcddMessageIDHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ protected List<String[]> 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;
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 12f9e7c

Please sign in to comment.