Skip to content

Commit 8cdd8df

Browse files
committed
removed Locale reference because ScalaJS doesn't have it
1 parent 7f76986 commit 8cdd8df

File tree

1 file changed

+1
-3
lines changed
  • commons-core/src/main/scala/com/avsystem/commons/meta

1 file changed

+1
-3
lines changed

commons-core/src/main/scala/com/avsystem/commons/meta/Mapping.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package com.avsystem.commons
22
package meta
33

4-
import java.util.Locale
5-
64
import com.avsystem.commons.meta.Mapping.{ConcatIterable, KeyFilteredIterable}
75
import com.avsystem.commons.serialization.GenCodec
86

@@ -20,7 +18,7 @@ final class Mapping[+V](private val wrapped: IIterable[(String, V)], caseInsensi
2018
extends IMap[String, V] with MapLike[String, V, Mapping[V]] {
2119

2220
private def normKey(key: String): String =
23-
if (caseInsensitive) key.toLowerCase(Locale.ENGLISH) else key
21+
if (caseInsensitive) key.toLowerCase else key
2422

2523
private[this] lazy val vector = {
2624
val keys = new mutable.HashSet[String]

0 commit comments

Comments
 (0)