CPD Results

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

Duplications

File Line
de/smartics/properties/integration/cdi/extension/ConfigurationPropertiesCdiBean.java 155
de/smartics/properties/integration/cdi/extension/PropertySetTypeCdiBean.java 129
    return qualifiers;
  }

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

  @Override
  public Set<Class<? extends Annotation>> getStereotypes()
  {
    return Collections.emptySet();
  }

  @Override
  public Set<Type> getTypes()
  {
    final Set<Type> types = new HashSet<Type>();
    types.add(type);
    return types;
  }

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

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

  @Override
  public Object create(final CreationalContext<Object> ctx)
  {
    final ConfigurationKey<?> actualKey =
File Line
de/smartics/properties/integration/cdi/extension/ConfigurationPropertiesFactoryCdiBean.java 120
de/smartics/properties/integration/cdi/extension/PropertySetTypeCdiBean.java 128
    final Set<Annotation> qualifiers = new HashSet<Annotation>();
    return qualifiers;
  }

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

  @Override
  public Set<Class<? extends Annotation>> getStereotypes()
  {
    return Collections.emptySet();
  }

  @Override
  public Set<Type> getTypes()
  {
    final Set<Type> types = new HashSet<Type>();
    types.add(type);
    return types;
  }

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

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

  @Override
  public Object create(final CreationalContext<Object> ctx)
  {
File Line
de/smartics/properties/integration/cdi/extension/ConfigurationPropertiesCdiBean.java 155
de/smartics/properties/integration/cdi/extension/ConfigurationPropertiesFactoryCdiBean.java 121
    return qualifiers;
  }

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

  @Override
  public Set<Class<? extends Annotation>> getStereotypes()
  {
    return Collections.emptySet();
  }

  @Override
  public Set<Type> getTypes()
  {
    final Set<Type> types = new HashSet<Type>();
    types.add(type);
    return types;
  }

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

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

  @Override
  public Object create(final CreationalContext<Object> ctx)
  {