mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-16 18:57:01 +00:00
Rename short report methods:
- singleLineReport() -> shortReportLine() - singleLineReportTo() -> shortReportLineTo() - singleLineReportData() -> shortReportMap()
This commit is contained in:
1 parent
3b75b28168
commit
df6e31697d
16 files changed
+71
-89
No files matched your search
@@ -662,15 +662,15 @@ public class ArchiveUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Utility method to get a String singleLineReport from Reporter
|
||||
* @param rep Reporter to get singleLineReport from
|
||||
* Utility method to get a String shortReportLine from Reporter
|
||||
* @param rep Reporter to get shortReportLine from
|
||||
* @return String of report
|
||||
*/
|
||||
public static String singleLineReport(Reporter rep) {
|
||||
public static String shortReportLine(Reporter rep) {
|
||||
StringWriter sw = new StringWriter();
|
||||
PrintWriter pw = new PrintWriter(sw);
|
||||
try {
|
||||
rep.singleLineReportTo(pw);
|
||||
rep.shortReportLineTo(pw);
|
||||
} catch (IOException e) {
|
||||
// not really possible
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in new issue
Block a user