mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-09 07:24:41 +00:00
Fix HER-1953 all api xml elements are camelcase except sizeTotalsReport fields
* CrawledBytesHistotable.java
camelcase notModified, dupByHash, notModifiedCount, dupByHashCount, novelCount
* CrawlJob.java
sizeTotalsReportData() - camelcase totalCount
This commit is contained in:
1 parent
6adc3c285f
commit
f704ca5bc7
2 files changed
+6
-6
No files matched your search
@@ -817,7 +817,7 @@ public class CrawlJob implements Comparable<CrawlJob>, ApplicationListener<Appli
|
||||
// stats.crawledBytesSummary() also includes totals, so add those in here
|
||||
TreeMap<String, Long> map = new TreeMap<String,Long>(stats.getCrawledBytes());
|
||||
map.put("total", stats.getCrawledBytes().getTotalBytes());
|
||||
map.put("total-count", stats.getCrawledBytes().getTotalUrls());
|
||||
map.put("totalCount", stats.getCrawledBytes().getTotalUrls());
|
||||
return map;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,12 +30,12 @@ public class CrawledBytesHistotable extends Histotable<String>
|
||||
implements CoreAttributeConstants {
|
||||
private static final long serialVersionUID = 7923431123239026213L;
|
||||
|
||||
public static final String NOTMODIFIED = "not-modified";
|
||||
public static final String DUPLICATE = "dup-by-hash";
|
||||
public static final String NOTMODIFIED = "notModified";
|
||||
public static final String DUPLICATE = "dupByHash";
|
||||
public static final String NOVEL = "novel";
|
||||
public static final String NOTMODIFIEDCOUNT = "not-modified-count";
|
||||
public static final String DUPLICATECOUNT = "dup-by-hash-count";
|
||||
public static final String NOVELCOUNT = "novel-count";
|
||||
public static final String NOTMODIFIEDCOUNT = "notModifiedCount";
|
||||
public static final String DUPLICATECOUNT = "dupByHashCount";
|
||||
public static final String NOVELCOUNT = "novelCount";
|
||||
|
||||
public CrawledBytesHistotable() {
|
||||
super();
|
||||
|
||||
Reference in new issue
Block a user