MCPcopy Create free account
hub / github.com/apache/nutch / removeMarkIfExist

Method removeMarkIfExist

src/java/org/apache/nutch/storage/Mark.java:55–60  ·  view source on GitHub ↗

Remove the mark only if the mark is present on the page. @param page The page to remove the mark from. @return If the mark was present.

(WebPage page)

Source from the content-addressed store, hash-verified

53 * @return If the mark was present.
54 */
55 public Utf8 removeMarkIfExist(WebPage page) {
56 if (checkMark(page) != null) {
57 return removeMark(page);
58 }
59 return null;
60 }
61
62 public Utf8 getName() {
63 return name;

Callers 1

reduceMethod · 0.80

Calls 2

checkMarkMethod · 0.95
removeMarkMethod · 0.95

Tested by

no test coverage detected