Skip to content

Commit d63b5e6

Browse files
committed
fix typo
1 parent 8a2c779 commit d63b5e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

singleton/src/test/java/com/iluwatar/singleton/ThreadSafeDoubleCheckLockingTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public ThreadSafeDoubleCheckLockingTest() {
4343
}
4444

4545
/**
46-
* Test creating new instance by refection.
46+
* Test creating new instance by reflection.
4747
*/
4848
@Test
49-
void testCreatingNewInstanceByRefection() throws Exception {
49+
void testCreatingNewInstanceByReflection() throws Exception {
5050
ThreadSafeDoubleCheckLocking.getInstance();
5151
var constructor = ThreadSafeDoubleCheckLocking.class.getDeclaredConstructor();
5252
constructor.setAccessible(true);

0 commit comments

Comments
 (0)