geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1796442 - /geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/inject/literal/NamedLiteral.java
Date Sat, 27 May 2017 19:48:24 GMT
Author: struberg
Date: Sat May 27 19:48:23 2017
New Revision: 1796442

URL: http://svn.apache.org/viewvc?rev=1796442&view=rev
Log:
GERONIMO-6553 fix @Named Literal

Modified:
    geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/inject/literal/NamedLiteral.java

Modified: geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/inject/literal/NamedLiteral.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/inject/literal/NamedLiteral.java?rev=1796442&r1=1796441&r2=1796442&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/inject/literal/NamedLiteral.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_2.0_spec/src/main/java/javax/enterprise/inject/literal/NamedLiteral.java
Sat May 27 19:48:23 2017
@@ -33,9 +33,9 @@ public final class NamedLiteral extends
 
     private final String value;
 
-    public static NamedLiteral of(String s)
+    public static NamedLiteral of(String name)
     {
-        return null;
+        return new NamedLiteral(name);
     }
 
     private NamedLiteral(String value)



Mime
View raw message