File tree 11 files changed +20
-11
lines changed
jvm-native/src/main/scala
11 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import java.net.URL
4
4
import java .{util => ju }
5
5
6
6
/**
7
- * To workaround missing implementation in Scala.js
7
+ * To workaround missing implementations
8
8
*/
9
9
class PlatformClassLoader (cl : ClassLoader ) extends ClassLoaderLike {
10
10
def getResources (name : String ): ju.Enumeration [URL ] = ???
Original file line number Diff line number Diff line change 1
1
package org .ekrich .config .impl
2
2
3
3
/**
4
- * To workaround missing implementation in Scala.js
4
+ * To workaround missing implementations
5
5
*/
6
6
class PlatformThread (thread : Thread ) extends ThreadLike {
7
7
def getContextClassLoader (): ClassLoader = ???
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package org.ekrich.config.impl
3
3
import java .net .{URI , URL }
4
4
5
5
/**
6
- * To workaround missing implementation in Scala.js
6
+ * To workaround missing implementations
7
7
*/
8
8
class PlatformUri (uri : URI ) extends UriLike {
9
9
def toURL (): URL = ???
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import java.net.URL
4
4
import java .{util => ju }
5
5
6
6
/**
7
- * To workaround missing implementation in Scala.js
7
+ * To workaround missing implementations
8
8
*/
9
9
class PlatformClassLoader (cl : ClassLoader ) extends ClassLoaderLike {
10
10
def getResources (name : String ): ju.Enumeration [URL ] = cl.getResources(name)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package org.ekrich.config.impl
3
3
import java .net .{URI , URL }
4
4
5
5
/**
6
- * To workaround missing implementation in Scala.js
6
+ * To workaround missing implementations
7
7
*/
8
8
class PlatformUri (uri : URI ) extends UriLike {
9
9
def toURL (): URL = uri.toURL()
Original file line number Diff line number Diff line change 1
1
package org .ekrich .config .impl
2
2
3
3
/**
4
- * To workaround missing implementation in Scala.js
4
+ * To workaround missing implementations in Scala.js and Scala Native
5
5
*/
6
6
class PlatformThread (thread : Thread ) extends ThreadLike {
7
7
def getContextClassLoader (): ClassLoader = thread.getContextClassLoader()
Original file line number Diff line number Diff line change
1
+ package org .ekrich .config .impl
2
+
3
+ /**
4
+ * To workaround missing implementations
5
+ */
6
+ class PlatformThread (thread : Thread ) extends ThreadLike {
7
+ def getContextClassLoader (): ClassLoader = ???
8
+ }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import java.net.URL
4
4
import java .{util => ju }
5
5
6
6
/**
7
- * To workaround missing implementation in Scala.js
7
+ * To workaround missing implementations in Scala.js and Scala Native
8
8
*/
9
9
trait ClassLoaderLike {
10
10
def getResources (name : String ): ju.Enumeration [URL ]
Original file line number Diff line number Diff line change 1
1
package org .ekrich .config .impl
2
2
3
3
/**
4
- * To workaround missing implementation in Scala.js
4
+ * To workaround missing implementations in Scala.js and Scala Native
5
5
*/
6
6
trait ThreadLike {
7
7
def getContextClassLoader (): ClassLoader
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package org.ekrich.config.impl
3
3
import java .net .URL
4
4
5
5
/**
6
- * To workaround missing implementation in Scala.js
6
+ * To workaround missing implementations in Scala.js and Scala Native
7
7
*/
8
8
trait UriLike {
9
9
def toURL (): URL
Original file line number Diff line number Diff line change 3
3
*/
4
4
package org .ekrich .config
5
5
6
- import org .ekrich .config .impl .ConfigImpl
7
- import org .ekrich .config .impl .Parseable
8
6
import java .io .{File , Reader }
9
7
import java .net .URL
10
8
import java .{util => ju }
11
9
import java .util .Properties
12
10
import java .util .concurrent .Callable
13
11
12
+ import org .ekrich .config .impl .ConfigImpl
13
+ import org .ekrich .config .impl .Parseable
14
+
14
15
/**
15
16
* Contains static methods for creating [[Config ]] instances.
16
17
*
You can’t perform that action at this time.
0 commit comments