Skip to content

Commit

Permalink
NOSONAR for static field in instance method
Browse files Browse the repository at this point in the history
After all, it is meant to be like that.
  • Loading branch information
LorenzoBettini committed Nov 17, 2023
1 parent 8c24dee commit 9d1deea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class GlobalAdapterFactoryEditingDomainProvider extends DefaultAdapterFac
@Override
public AdapterFactoryEditingDomain get() {
if (singleton == null) {
singleton = super.get();
singleton = super.get(); // NOSONAR we have to use a static field in an instance method
}
return singleton;
}
Expand Down

0 comments on commit 9d1deea

Please sign in to comment.