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

Side by Side Diff: java/org/chromium/distiller/PageParameterParser.java

Issue 1725243002: Fix some warnings in Eclipse (Closed) Base URL: git@github.com:chromium/dom-distiller.git@master
Patch Set: rebase Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.distiller; 5 package org.chromium.distiller;
6 6
7 import org.chromium.distiller.proto.DomDistillerProtos;
8 import org.chromium.distiller.proto.DomDistillerProtos.TimingInfo; 7 import org.chromium.distiller.proto.DomDistillerProtos.TimingInfo;
9 8
10 import com.google.gwt.dom.client.AnchorElement; 9 import com.google.gwt.dom.client.AnchorElement;
11 import com.google.gwt.dom.client.Document; 10 import com.google.gwt.dom.client.Document;
12 import com.google.gwt.dom.client.Element; 11 import com.google.gwt.dom.client.Element;
13 import com.google.gwt.dom.client.Node; 12 import com.google.gwt.dom.client.Node;
14 import com.google.gwt.dom.client.NodeList; 13 import com.google.gwt.dom.client.NodeList;
15 import com.google.gwt.dom.client.Style; 14 import com.google.gwt.dom.client.Style;
16 import com.google.gwt.regexp.shared.MatchResult; 15 import com.google.gwt.regexp.shared.MatchResult;
17 import com.google.gwt.regexp.shared.RegExp; 16 import com.google.gwt.regexp.shared.RegExp;
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 } 347 }
349 348
350 /** 349 /**
351 * @returns true if number is >= 0 && < MAX_NUM_FOR_PAGE_PARAM. 350 * @returns true if number is >= 0 && < MAX_NUM_FOR_PAGE_PARAM.
352 */ 351 */
353 private static boolean isPlainPageNumber(int number) { 352 private static boolean isPlainPageNumber(int number) {
354 return number >= 0 && number <= MAX_NUM_FOR_PAGE_PARAM; 353 return number >= 0 && number <= MAX_NUM_FOR_PAGE_PARAM;
355 } 354 }
356 355
357 } 356 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698