You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by li...@apache.org on 2012/01/18 00:19:59 UTC

[9/14] git commit: Revert "Fixing the build for weld"

Revert "Fixing the build for weld"

This reverts commit 060f5efdb3834dcf38d6a63b53d50032b9cc0db1.


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/d908fa2e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/d908fa2e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/d908fa2e

Branch: refs/heads/master
Commit: d908fa2e31c5d3de83551489f46add2b36efc04a
Parents: 80cad55
Author: Jason Porter <li...@apache.org>
Authored: Tue Jan 17 16:13:13 2012 -0700
Committer: Jason Porter <li...@apache.org>
Committed: Tue Jan 17 16:13:13 2012 -0700

----------------------------------------------------------------------
 .../deltaspike/core/api/literal/NamedLiteral.java  |   48 ---------------
 .../api/metadata/NamedAnnotationRedefiner.java     |    2 +-
 2 files changed, 1 insertions(+), 49 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/d908fa2e/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/NamedLiteral.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/NamedLiteral.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/NamedLiteral.java
deleted file mode 100644
index 5aa0d89..0000000
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/NamedLiteral.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.deltaspike.core.api.literal;
-
-import javax.enterprise.util.AnnotationLiteral;
-import javax.inject.Named;
-
-/**
- * Literal for {@link javax.inject.Named} qualifier.
- */
-public class NamedLiteral extends AnnotationLiteral<Named> implements Named
-{
-    private static final long serialVersionUID = -1457223276475846060L;
-
-    private final String value;
-
-    public NamedLiteral(String value)
-    {
-        this.value = value;
-    }
-
-    public NamedLiteral()
-    {
-        this.value = "";
-    }
-
-    @Override public String value()
-    {
-        return value;
-    }
-}

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/d908fa2e/deltaspike/core/api/src/test/java/org/apache/deltaspike/test/api/metadata/NamedAnnotationRedefiner.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/test/java/org/apache/deltaspike/test/api/metadata/NamedAnnotationRedefiner.java b/deltaspike/core/api/src/test/java/org/apache/deltaspike/test/api/metadata/NamedAnnotationRedefiner.java
index 5f17a90..ddf9003 100644
--- a/deltaspike/core/api/src/test/java/org/apache/deltaspike/test/api/metadata/NamedAnnotationRedefiner.java
+++ b/deltaspike/core/api/src/test/java/org/apache/deltaspike/test/api/metadata/NamedAnnotationRedefiner.java
@@ -21,10 +21,10 @@ package org.apache.deltaspike.test.api.metadata;
 
 import org.apache.deltaspike.core.api.literal.AlternativeLiteral;
 import org.apache.deltaspike.core.api.literal.ApplicationScopedLiteral;
-import org.apache.deltaspike.core.api.literal.NamedLiteral;
 import org.apache.deltaspike.core.api.metadata.AnnotationRedefiner;
 import org.apache.deltaspike.core.api.metadata.RedefinitionContext;
 import org.apache.deltaspike.core.api.metadata.builder.AnnotationBuilder;
+import org.apache.webbeans.annotation.NamedLiteral;
 
 import javax.inject.Named;