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

Side by Side Diff: java/org/chromium/distiller/SchemaOrgParser.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.TimingInfo; 7 import org.chromium.distiller.proto.DomDistillerProtos.TimingInfo;
8 8
9 import com.google.gwt.dom.client.Element; 9 import com.google.gwt.dom.client.Element;
10 import com.google.gwt.dom.client.Node;
11 import com.google.gwt.dom.client.NodeList; 10 import com.google.gwt.dom.client.NodeList;
12 11
13 import java.util.ArrayList; 12 import java.util.ArrayList;
14 import java.util.HashMap; 13 import java.util.HashMap;
15 import java.util.List; 14 import java.util.List;
16 import java.util.Map; 15 import java.util.Map;
17 16
18 /** 17 /**
19 * This class recognizes and parses schema.org markup tags, and returns the prop erties that matter 18 * This class recognizes and parses schema.org markup tags, and returns the prop erties that matter
20 * to distilled content. 19 * to distilled content.
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 return author; 490 return author;
492 } 491 }
493 492
494 private static String concat(String first, String second) { 493 private static String concat(String first, String second) {
495 String concat = first; 494 String concat = first;
496 if (!concat.isEmpty() && !second.isEmpty()) concat += " "; 495 if (!concat.isEmpty() && !second.isEmpty()) concat += " ";
497 concat += second; 496 concat += second;
498 return concat; 497 return concat;
499 } 498 }
500 } 499 }
OLDNEW
« no previous file with comments | « java/org/chromium/distiller/PagingLinksFinder.java ('k') | java/org/chromium/distiller/StringUtil.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698