CPD Results

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

Duplications

File Line
org/trialox/jaxrs/headerDelegate/CookieProvider.java 45
org/trialox/jaxrs/headerDelegate/NewCookieProvider.java 52
        MutableNewCookie cookie = null;
        for (String bite : bites) {
            String crumbs[] = bite.split("=", 2);
            String name = crumbs.length > 0 ? crumbs[0].trim() : "";
            String value = crumbs.length > 1 ? crumbs[1].trim() : "";
            if (value.startsWith("\"") && value.endsWith("\"") && value.length() > 1) {
                value = value.substring(1, value.length() - 1);
            }
            if (cookie == null) {