Skip to content

Commit a3201a7

Browse files
committed
Merge pull request #235 from arend-von-reinersdorff/master
Fixed scope of MySingletonScopedBean to really be @Singelton
2 parents 55542ad + b6bebf5 commit a3201a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cdi/scopes/src/main/java/org/javaee7/cdi/bean/scopes/MySingletonScopedBean.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
*/
4040
package org.javaee7.cdi.bean.scopes;
4141

42-
import javax.enterprise.context.RequestScoped;
42+
import javax.inject.Singleton;
4343

4444
/**
4545
* @author Arun Gupta
4646
*/
47-
@RequestScoped
47+
@Singleton
4848
public class MySingletonScopedBean {
4949
public String getID() {
5050
return this + "";

0 commit comments

Comments
 (0)