=all some more fixes to make it build in Eclipse
This commit is contained in:
parent
6aed4332e1
commit
1091aee6a8
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ public abstract class Util {
|
||||||
}
|
}
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public static scala.collection.immutable.Map<String, String> convertMapToScala(Map<String, String> map) {
|
public static scala.collection.immutable.Map<String, String> convertMapToScala(Map<String, String> map) {
|
||||||
return Map$.MODULE$.apply(scala.collection.JavaConverters.mapAsScalaMapConverter(map).asScala().toSeq());
|
return emptyMap.$plus$plus(scala.collection.JavaConverters.mapAsScalaMapConverter(map).asScala());
|
||||||
}
|
}
|
||||||
@SuppressWarnings("unchecked") // contains an upcast
|
@SuppressWarnings("unchecked") // contains an upcast
|
||||||
public static <T, U extends T> scala.Option<U> convertOptionToScala(Option<T> o) {
|
public static <T, U extends T> scala.Option<U> convertOptionToScala(Option<T> o) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue