Fix sonar finding (#1518)
Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user