What is the intended behavior for a binding like: filterRegex(R1, R2).through(MyFilter.class); ?
I observe that this is internally translated into: filterRegex(R1).through(MyFilter.class); filterRegex(R2).through(MyFilter.class); Which means that when a request matches both R1 and R2 regexes then MyFilter will be invoked 2 times, once for matching R1 and once for matching R2. However, I hoped that the filterRegex with varargs is more than just a convenience and that it would only invoke MyFilter at most once (when any of the given regexes matches). Anyway, is there a way to achieve that? -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/3d6c72a4-f179-4736-9ffb-6fd838bb0e31n%40googlegroups.com.