Fork me on GitHub

CPD Results

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

Duplications

File Project Line
com/github/triceo/splitlog/DefaultFollower.java splitlog-core: the client library 162
com/github/triceo/splitlog/DefaultMergingFollower.java splitlog-core: the client library 178
            builder.append("getFollowed()=").append(this.getFollowed()).append(", ");
        }
        builder.append("isStopped()=").append(this.isStopped()).append("]");
        return builder.toString();
    }

    @Override
    public boolean write(final OutputStream stream, final SimpleMessageCondition condition,
        final MessageComparator order, final MessageFormatter formatter) {
        if (stream == null) {
            throw new IllegalArgumentException("Stream may not be null.");
        } else if (condition == null) {
            throw new IllegalArgumentException("Condition may not be null.");
        } else if (order == null) {
            throw new IllegalArgumentException("Comparator may not be null.");
        }