Skip to content

Commit da15227

Browse files
author
David Reed
committed
Inlining variable 'c' because the type 'Class<?>' might be confusing at this stage
1 parent 70e23a8 commit da15227

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎koans/src/beginner/AboutStrings.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ public class AboutStrings {
99

1010
@Koan
1111
public void implicitStrings(){
12-
Class<?> c = "just a plain ole string".getClass();
13-
assertEquals(c, __);
12+
assertEquals("just a plain ole string".getClass(), __);
1413
}
1514

1615
@Koan

0 commit comments

Comments
 (0)