CPD Results

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

Duplications

FileLine
org/apache/geronimo/timer/ThreadPooledTimer.java121
org/apache/geronimo/timer/ThreadPooledTimer.java148
    public WorkInfo scheduleAtFixedRate(String key, UserTaskFactory userTaskFactory, Object userId, Object userInfo, Date firstTime, long period) throws PersistenceException, RollbackException, SystemException {
        if (firstTime ==null) {
            throw new IllegalArgumentException("No time supplied");
        }
        if (firstTime.getTime() < 0) {
            throw new IllegalArgumentException("Negative time: " + firstTime.getTime());
        }
        if (period < 0) {
            throw new IllegalArgumentException("Negative period: " + period);
        }
        WorkInfo worker = createWorker(key, userTaskFactory, executorTaskFactory, userId, userInfo, firstTime, new Long(period), true);