Open GoogleCodeExporter opened 9 years ago
This is WAI. You have two bindings for
@Named("string") String
in PM1 it's bound to "foo" and in PM2 it's bound to "bar".
If you don't expose the binding, it is OK because everything is private and
nothing conflicts. Once you expose one of them, it prevents the other from
being private because "exposing" means that the parents & other children can
see & use it, and PM2 now would have two bindings for @Named("string") String,
which isn't OK.
Original comment by sberlin
on 4 Dec 2013 at 9:33
Original issue reported on code.google.com by
muntea...@gmail.com
on 4 Dec 2013 at 8:18