Skip to content

Commit 34bffbb

Browse files
committed
Fix now superfluous () in JavaConverterTest
1 parent 0777fa7 commit 34bffbb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc-tool/test/JavaConverterTest.scala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class JavaConverterTest {
5151
def returnValue = new TypeReference("String", new NoLink("title", "target"), List())
5252
def paramLists = List(paramList)
5353
}
54-
assertSerializedCorrectly(df, df.asJava())
54+
assertSerializedCorrectly(df, df.asJava)
5555
val trt = new Trait {
5656
def symbol = NoSymbol
5757
def name = "someTrait"
@@ -67,7 +67,7 @@ class JavaConverterTest {
6767
def companionPath = "path" :: "to" :: "companion" :: Nil
6868
def companionPath_=(xs: List[String]) = Unit
6969
}
70-
assertSerializedCorrectly(trt, trt.asJava())
70+
assertSerializedCorrectly(trt, trt.asJava)
7171
val cls = new Class {
7272
def symbol = NoSymbol
7373
def name = "test"
@@ -83,7 +83,7 @@ class JavaConverterTest {
8383
def companionPath_=(xs: List[String]) = Unit
8484
def constructors = List(List(paramList))
8585
}
86-
assertSerializedCorrectly(cls, cls.asJava())
86+
assertSerializedCorrectly(cls, cls.asJava)
8787
val caseClass = new CaseClass {
8888
def symbol = NoSymbol
8989
def name = "test"
@@ -99,7 +99,7 @@ class JavaConverterTest {
9999
def companionPath = "path" :: "to" :: "companion" :: Nil
100100
def companionPath_=(xs: List[String]) = Unit
101101
}
102-
assertSerializedCorrectly(caseClass, caseClass.asJava())
102+
assertSerializedCorrectly(caseClass, caseClass.asJava)
103103
val obj = new EObject {
104104
def symbol = NoSymbol
105105
def name = "someObject"
@@ -114,7 +114,7 @@ class JavaConverterTest {
114114
def companionPath = "path" :: "to" :: "companion" :: Nil
115115
def companionPath_=(xs: List[String]) = Unit
116116
}
117-
assertSerializedCorrectly(obj, obj.asJava())
117+
assertSerializedCorrectly(obj, obj.asJava)
118118
val typeAlias = new TypeAlias {
119119
def symbol = NoSymbol
120120
def name = "typeAlias"
@@ -126,7 +126,7 @@ class JavaConverterTest {
126126
def typeParams = "String" :: "String" :: Nil
127127
def alias = Some(new TypeReference("String", new NoLink("title", "target"), List()))
128128
}
129-
assertSerializedCorrectly(typeAlias, typeAlias.asJava())
129+
assertSerializedCorrectly(typeAlias, typeAlias.asJava)
130130
val vl = new Val {
131131
val kind = "val"
132132
def symbol = NoSymbol
@@ -140,7 +140,7 @@ class JavaConverterTest {
140140
def implicitlyAddedFrom = Some(
141141
new TypeReference("String", new NoLink("title", "target"), List()))
142142
}
143-
assertSerializedCorrectly(vl, vl.asJava())
143+
assertSerializedCorrectly(vl, vl.asJava)
144144
val pkg = new Package {
145145
def symbol = NoSymbol
146146
def name = "test"
@@ -151,7 +151,7 @@ class JavaConverterTest {
151151
def members = trt :: typeAlias :: Nil
152152
def superTypes = new NoLink("title", "query") :: Nil
153153
}
154-
assertSerializedCorrectly(pkg, pkg.asJava())
154+
assertSerializedCorrectly(pkg, pkg.asJava)
155155
}
156156

157157
def assertEach[E, C[E] <: Seq[E]](expected: C[E], serialized: Any)(pairwiseAssertion: (E, Any) => Unit): Unit = {

0 commit comments

Comments
 (0)