Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Unified Diff: java/org/chromium/distiller/filters/heuristics/ListAtEndFilter.java

Issue 1725243002: Fix some warnings in Eclipse (Closed) Base URL: git@github.com:chromium/dom-distiller.git@master
Patch Set: address comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: java/org/chromium/distiller/filters/heuristics/ListAtEndFilter.java
diff --git a/java/org/chromium/distiller/filters/heuristics/ListAtEndFilter.java b/java/org/chromium/distiller/filters/heuristics/ListAtEndFilter.java
index e7e5a92fa3b8cda67a2ad2e3c844e7094d1460fd..3bae4124aca21ec8395164c404b3d94b3cebe453 100644
--- a/java/org/chromium/distiller/filters/heuristics/ListAtEndFilter.java
+++ b/java/org/chromium/distiller/filters/heuristics/ListAtEndFilter.java
@@ -37,8 +37,9 @@ public final class ListAtEndFilter implements BoilerpipeFilter {
private ListAtEndFilter() {
}
- public boolean process(final TextDocument doc) {
- boolean changes = false;
+ @Override
+ public boolean process(final TextDocument doc) {
+ boolean changes = false;
int tagLevel = Integer.MAX_VALUE;
for (TextBlock tb : doc.getTextBlocks()) {

Powered by Google App Engine
This is Rietveld 408576698