diff options
author | waynedunican <wayne.dunican@est.tech> | 2024-08-12 21:18:12 +0100 |
---|---|---|
committer | waynedunican <wayne.dunican@est.tech> | 2024-08-13 09:21:16 +0100 |
commit | 63d23a4aa0f3aeae9d6470b95dfa8f87b2d85aa8 (patch) | |
tree | 74aa5c14f66dc5760eb00ea8f18c278174cbc56e /integrity-monitor/src/main/java/org/onap | |
parent | 34cad0af615db1ed4b85b8e4e1b77d0948289eed (diff) |
Fix sonar issues in common
- SONAR Fix instanceOf issues
- SONAR Remove public modifiers
- SONAR Remove unused imports
- SONAR Remove exceptions that can't be thrown from method body
Issue-ID: POLICY-5106
Change-Id: I745d0101036d3421f02db22481514be0b79f5103
Signed-off-by: waynedunican <wayne.dunican@est.tech>
Diffstat (limited to 'integrity-monitor/src/main/java/org/onap')
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java index a771ba09..3ee607f2 100644 --- a/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/jpa/ResourceRegistrationEntity.java @@ -3,7 +3,7 @@ * Integrity Monitor * ================================================================================ * Copyright (C) 2017-2018, 2020-2021 AT&T Intellectual Property. All rights reserved. - * Modifications Copyright (C) 2023 Nordix Foundation. + * Modifications Copyright (C) 2023-2024 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,6 @@ import jakarta.persistence.Entity; import jakarta.persistence.GeneratedValue; import jakarta.persistence.GenerationType; import jakarta.persistence.Id; -import jakarta.persistence.NamedQueries; import jakarta.persistence.NamedQuery; import jakarta.persistence.Table; import java.io.Serial; |