Skip to content

Commit 1311cd3

Browse files
committed
Change invocationCount to private in CacheTest
Updated the visibility of the invocationCount field from public static to private in CacheTest to improve encapsulation and restrict access.
1 parent a532d9a commit 1311cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testng-core/src/test/java/test/dataprovider/issue3236/CacheTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
public class CacheTest {
1313

14-
public static final AtomicInteger invocationCount = new AtomicInteger(0);
14+
private final AtomicInteger invocationCount = new AtomicInteger(0);
1515
private String currentUuid;
1616

1717
@Test(dataProvider = "dp", retryAnalyzer = MyRetry.class)

0 commit comments

Comments
 (0)