Skip to content

Commit e1402ed

Browse files
committed
Merge pull request scala#3474 from soc/topic/osgi-feature-warnings
Fix feature warnings in test.osgi.comp
2 parents fa02c15 + e8cca3c commit e1402ed

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/osgi/src/BasicReflection.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package tools.test.osgi
22
package reflection
33
package basic
44

5+
import scala.language.higherKinds
6+
57
import org.junit.Assert._
68
import org.ops4j.pax.exam.CoreOptions._
79

test/osgi/src/ScalaOsgiHelper.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package tools.test.osgi
2-
2+
33
import org.ops4j.pax.exam.CoreOptions._
44
import org.ops4j.pax.exam
55
import java.io.File
@@ -12,7 +12,7 @@ trait ScalaOsgiHelper {
1212
}
1313

1414
private def filteredBundleFiles(names: String*): Array[exam.Option] =
15-
for(bundle <- allBundleFiles; if names exists (bundle.getName contains))
15+
for(bundle <- allBundleFiles; if names exists (bundle.getName contains _))
1616
yield makeBundle(bundle)
1717

1818
private def makeBundle(file: File): exam.Option =
@@ -34,5 +34,5 @@ trait ScalaOsgiHelper {
3434
val bundles = filteredBundleFiles("scala-library")
3535
bundles ++ Array[exam.Option](felix(), equinox(), junitBundles())
3636
}
37-
37+
3838
}

0 commit comments

Comments
 (0)