CPD Results

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

Duplications

File Project Line
org/synchronoss/cpo/cassandra/CassandraCpoAdapter.java cassandra 772
org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java jdbc 838
throw new CpoException("NULL bean passed into retrieveBean or retrieveBeans");
    }

    try {
      criteriaClass = metaDescriptor.getMetaClass(criteria);
      resultClass = metaDescriptor.getMetaClass(result);
      if (useRetrieve) {
        localLogger.info(buildCpoClassLogLine(criteria.getClass(), Crud.RETRIEVE, groupName));
        cpoFunctions = criteriaClass.getFunctionGroup(Crud.RETRIEVE, groupName).getFunctions();
      } else {
        localLogger.info(buildCpoClassLogLine(criteria.getClass(), Crud.LIST, groupName));
        cpoFunctions = criteriaClass.getFunctionGroup(Crud.LIST, groupName).getFunctions();
      }

      CpoFunction cpoFunction = cpoFunctions.getFirst();