fix build issue related to URL deprecation (#1999)
This commit is contained in:
parent
7325c729ce
commit
c8960e2783
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ import java.net.URL
|
||||||
import java.util.{ Date, HashMap, ServiceLoader, UUID }
|
import java.util.{ Date, HashMap, ServiceLoader, UUID }
|
||||||
import java.util.jar.JarInputStream
|
import java.util.jar.JarInputStream
|
||||||
|
|
||||||
import scala.annotation.tailrec
|
import scala.annotation.{ nowarn, tailrec }
|
||||||
import scala.collection.immutable
|
import scala.collection.immutable
|
||||||
import scala.concurrent.duration._
|
import scala.concurrent.duration._
|
||||||
import scala.reflect.ClassTag
|
import scala.reflect.ClassTag
|
||||||
|
|
@ -158,6 +158,7 @@ class BundleDescriptorBuilder(name: String) {
|
||||||
/**
|
/**
|
||||||
* Build the actual PojoSR BundleDescriptor instance
|
* Build the actual PojoSR BundleDescriptor instance
|
||||||
*/
|
*/
|
||||||
|
@nowarn("msg=deprecated")
|
||||||
def build: BundleDescriptor = {
|
def build: BundleDescriptor = {
|
||||||
val file: File = tinybundleToJarFile(name)
|
val file: File = tinybundleToJarFile(name)
|
||||||
new BundleDescriptor(
|
new BundleDescriptor(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue