Fix sonar finding (#1518)

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2023-12-14 11:06:14 +02:00
committed by GitHub
parent 94d39a12c6
commit 8f8dbb4fa2

View File

@@ -69,6 +69,8 @@ public class JpaTargetType extends AbstractJpaTypeEntity implements TargetType,
/**
* Constructor, legacy support where <code>key</code> is set to passed <code>name</code>.
*
* @deprecated will be removed
*
* @param name
* of the type
* @param description
@@ -76,7 +78,7 @@ public class JpaTargetType extends AbstractJpaTypeEntity implements TargetType,
* @param colour
* of the type
*/
@Deprecated
@Deprecated(forRemoval = true)
public JpaTargetType(final String name, final String description, final String colour) {
this(name, name, description, colour);
}