Re: Re: Creating org.apache.commons.lang3.text.translate.LookupTranslator
Alexander Myltsev <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <CADJNC9iF1-j7mh5aUHXhhmF45qsg-5cyHvn73BwzsvXeN5-Hkw@mail.gmail.com> |
Seth, On Aug 24, 2015 00:49, "Seth Tisue" <[email protected]> wrote: > > what Vlad said. > > but also, you don't need `map` at all here. this works fine: > > new LookupTranslator( > EntityArrays.BASIC_UNESCAPE.asInstanceOf[Array[Array[CharSequence]]]: _*) Great, thanks! Could you explain why this work in Java without any cast? > > (btw, this would have been better on scala-user, not scala-language) You are right! > > -- > You received this message because you are subscribed to a topic in the Google Groups "scala-language" group. > To unsubscribe from this topic, visit https://groups.google.com/d/topic/scala-language/bXj5dMvzG3Y/unsubscribe. > To unsubscribe from this group and all its topics, send an email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.