Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-georgiou-sonarsource committed Feb 16, 2023
1 parent eed9667 commit 46c60cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ public class StaticFieldVisible
internal static double Pi6 = 3.14; // Noncompliant
protected internal static double Pi7 = 3.14; // Noncompliant

private static double Pi8 = 3.14;

[ThreadStatic]
public static int value; // Compliant, thread static field values are not shared between threads
}
Expand Down

0 comments on commit 46c60cf

Please sign in to comment.