Skip to content

Commit

Permalink
fix example scope bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin King committed Dec 21, 2008
1 parent 66145f0 commit a8fd26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/en/modules/example.xml
Expand Up @@ -8,7 +8,7 @@
we'll define a Web Bean to hold the username and password entered during
login:</para>

<programlisting role="JAVA"><![CDATA[@Named
<programlisting role="JAVA"><![CDATA[@Named @RequestScoped
public class Credentials {
private String username;
Expand Down Expand Up @@ -69,7 +69,7 @@ public class Login {
return user!=null;
}
@Produces @LoggedIn User getCurrentUser() {
@Produces @LoggedIn @Dependent User getCurrentUser() {
return user;
}
Expand Down

0 comments on commit a8fd26f

Please sign in to comment.