renoth
(Johannes Renoth)
1
This code gives a warning that the rule unnecessary import is violated, the import DEFAULT_ALIAS is necessary for compilation however.
package com.sonarqube;
import static Entity.DEFAULT_ALIAS;
[…]
@Entity
@DefaultAlias(DEFAULT_ALIAS)
public class Entity {
public static final String DEFAULT_ALIAS = "alias";
[…]
}
Quentin
(Quentin Jaquier)
3
Hello @renoth,
Thanks for the feedback!
This issue is similar to the one reported here:
There is now a ticket to track it!
Best,
Quentin
system
(system)
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.