Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removing the Application scope from the ResourceBundle

  • Loading branch information...
commit 8151fe5b15d13ca839c2752cf0ccf0b7c3ab1642 1 parent 356143a
@LightGuard LightGuard authored
View
2  open18_java_ee_6/src/main/java/org/open18/ui/UiProducers.java
@@ -25,7 +25,7 @@
import java.util.ResourceBundle;
public class UiProducers {
- @Produces @Named("messages") @ApplicationScoped
+ @Produces @Named("messages")
public ResourceBundle getBundle() {
final Locale requestLocale = FacesContext.getCurrentInstance().getExternalContext().getRequestLocale();
return ResourceBundle.getBundle("messages", requestLocale);
Please sign in to comment.
Something went wrong with that request. Please try again.