Skip to content

Commit a30b9c4

Browse files
committed
Style tweaks
1 parent 576f800 commit a30b9c4

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

geocss/src/main/scala/org/geoscript/geocss/Translator.scala

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -426,17 +426,16 @@ class Translator(val baseURL: Option[java.net.URL]) {
426426
/**
427427
* Applies the specified vendor options to the symbolizer, taking them from the collected properties values
428428
*/
429-
def applyVendorOptions(sym: Symbolizer, props : Map[String, Seq[Value]], vendorOptions : Seq[(String, String)]) : Unit = {
430-
for (
431-
(cssName, sldName) <- vendorOptions;
432-
value <- props.get(cssName)
433-
) {
434-
sym.getOptions().put(
435-
sldName,
436-
value.collect({ case Literal(x) => x }).mkString(" ")
437-
)
438-
}
439-
429+
def applyVendorOptions(sym: Symbolizer, props: Map[String, Seq[Value]], vendorOptions: Seq[(String, String)]): Unit = {
430+
for {
431+
(cssName, sldName) <- vendorOptions
432+
value <- props.get(cssName)
433+
} {
434+
sym.getOptions().put(
435+
sldName,
436+
value.collect({ case Literal(x) => x }).mkString(" ")
437+
)
438+
}
440439
}
441440

442441
val lineSyms: Seq[(Double, LineSymbolizer)] =

0 commit comments

Comments
 (0)