Skip to content

Commit

Permalink
fix compilation problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Jul 26, 2010
1 parent 8d9b931 commit 010f4e2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 33 deletions.
@@ -1,19 +1,3 @@
/*
* JBoss, Home of Professional Open Source
* Copyright 2010, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed 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.jboss.weld.extensions.bean.generic;

import static java.lang.annotation.ElementType.FIELD;
Expand All @@ -25,7 +9,6 @@
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import javax.enterprise.util.AnnotationLiteral;
import javax.inject.Qualifier;

/**
Expand All @@ -39,22 +22,9 @@
*
*/
@Retention(RUNTIME)
@Target({ METHOD, FIELD, PARAMETER, TYPE })
@Target({ METHOD, FIELD, PARAMETER, TYPE})
@Qualifier
public @interface GenericProduct
{

public static final GenericProduct INSTANCE = new GenericProductLiteral();

class GenericProductLiteral extends AnnotationLiteral<GenericProduct> implements GenericProduct
{

private static final long serialVersionUID = 2768505716290514234L;



private GenericProductLiteral() {}

}

}
@@ -0,0 +1,15 @@
package org.jboss.weld.extensions.bean.generic;

import javax.enterprise.util.AnnotationLiteral;


public class GenericProductLiteral extends AnnotationLiteral<GenericProduct> implements GenericProduct
{

public static final GenericProduct INSTANCE = new GenericProductLiteral();

private static final long serialVersionUID = 2768505716290514234L;

public GenericProductLiteral() {}

}
Expand Up @@ -19,8 +19,8 @@
import javax.enterprise.inject.Produces;
import javax.inject.Inject;

import org.jboss.weld.extensions.bean.generic.Generic;
import org.jboss.weld.extensions.bean.generic.GenericProduct;
import org.jboss.weld.extensions.bean.generic.Generic;

/**
* A generic bean for the config annotation Message
Expand Down
Expand Up @@ -19,8 +19,8 @@
import javax.enterprise.inject.Produces;
import javax.inject.Inject;

import org.jboss.weld.extensions.bean.generic.Generic;
import org.jboss.weld.extensions.bean.generic.GenericProduct;
import org.jboss.weld.extensions.bean.generic.Generic;

/**
* A generic bean for the config annotation Message
Expand Down

0 comments on commit 010f4e2

Please sign in to comment.