We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1726749 commit 314f273Copy full SHA for 314f273
singleton/src/test/java/com/iluwatar/singleton/ThreadSafeDoubleCheckLockingTest.java
@@ -43,10 +43,10 @@ public ThreadSafeDoubleCheckLockingTest() {
43
}
44
45
/**
46
- * Test creating new instance by refection.
+ * Test creating new instance by reflection.
47
*/
48
@Test
49
- void testCreatingNewInstanceByRefection() throws Exception {
+ void testCreatingNewInstanceByReflection() throws Exception {
50
ThreadSafeDoubleCheckLocking.getInstance();
51
var constructor = ThreadSafeDoubleCheckLocking.class.getDeclaredConstructor();
52
constructor.setAccessible(true);
0 commit comments