Examples of markAsFixed()


Examples of org.wikipediacleaner.api.check.CheckWiki.markAsFixed()

 
        public Page call() throws Exception
        {
          CheckWiki checkWiki = APIFactory.getCheckWiki();
          if (checkWiki != null) {
            checkWiki.markAsFixed(pageFixed, errorNumber);
          }
          return pageFixed;
        }});
    }
  }
View Full Code Here

Examples of org.wikipediacleaner.api.check.CheckWiki.markAsFixed()

            false);
        countModified++;
        for (CheckErrorAlgorithm usedAlgorithm : usedAlgorithms) {
          CheckErrorPage errorPage = CheckError.analyzeError(usedAlgorithm, page.getAnalysis(newContents, true));
          if ((errorPage != null) && (!errorPage.getErrorFound())) {
            checkWiki.markAsFixed(page, usedAlgorithm.getErrorNumberString());
            if (selectedAlgorithms.contains(usedAlgorithm)) {
              countMarked++;
            } else {
              countMarkedOther++;
            }
View Full Code Here

Examples of org.wikipediacleaner.api.check.CheckWiki.markAsFixed()

      }
    } else if (algorithm.isFullDetection()) {
      Boolean errorDetected = checkWiki.isErrorDetected(
          page, algorithm.getErrorNumber());
      if (Boolean.FALSE.equals(errorDetected)) {
        checkWiki.markAsFixed(page, algorithm.getErrorNumberString());
        countMarked++;
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.