app/src/main/java/org/andstatus/app/data/checker/DataChecker.java
/**
     * @return number of changed items (or needed to change)
     */
@return number of changed items (or needed to change)
@return number of changed items ( or needed to change )
public long fix() {
        StopWatch stopWatch = StopWatch.createStarted();
        logger.logProgress(checkerName() + " checker started");
        long changedCount = fixInternal();
        logger.logProgress(checkerName() + " checker ended in " + stopWatch.getTime(TimeUnit.SECONDS) + " sec, " +
            (changedCount > 0
                ? (countOnly ? "need to change " : "changed ") + changedCount + " items"
                : " no changes were needed"));
        DbUtils.waitMs(checkerName(), changedCount == 0 ? 1000 : 3000);
        return changedCount;
    }
public long fix ( ) { StopWatch stopWatch = StopWatch . createStarted ( ) ; logger . logProgress ( checkerName ( ) + " checker started" ) ; long changedCount = fixInternal ( ) ; logger . logProgress ( checkerName ( ) + " checker ended in " + stopWatch . getTime ( TimeUnit . SECONDS ) + " sec, " + ( changedCount > 0 ? ( countOnly ? "need to change " : "changed " ) + changedCount + " items" : " no changes were needed" ) ) ; DbUtils . waitMs ( checkerName ( ) , changedCount == 0 ? 1000 : 3000 ) ; return changedCount ; }
@return number of changed items (or needed to change)
@return number of changed items ( or needed to change )