Apache Commons logo

Commons JCS™

CPD Results

The following document contains the results of PMD's CPD 5.1.2.

Duplications

File Line
org/apache/commons/jcs/jcache/extras/cdi/CacheManagerBean.java 47
org/apache/commons/jcs/jcache/extras/cdi/CacheProviderBean.java 47
        types.add(CacheManager.class);
        types.add(Object.class);

        qualifiers = new HashSet<Annotation>();
        qualifiers.add(DefaultLiteral.INSTANCE);
        qualifiers.add(AnyLiteral.INSTANCE);
    }

    @Override
    public Set<Type> getTypes()
    {
        return types;
    }

    @Override
    public Set<Annotation> getQualifiers()
    {
        return qualifiers;
    }

    @Override
    public Class<? extends Annotation> getScope()
    {
        return ApplicationScoped.class;
    }

    @Override
    public String getName()
    {
        return null;
    }

    @Override
    public boolean isNullable()
    {
        return false;
    }

    @Override
    public Set<InjectionPoint> getInjectionPoints()
    {
        return emptySet();
    }

    @Override
    public Class<?> getBeanClass()
    {
        return CacheManager.class;