Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

/** Methods for printing log files. */
Expand Down Expand Up @@ -107,7 +107,7 @@ private static int compareTimestamps(Timestamp t1, Timestamp t2) {
* (earliest first).
*/
private static void printEntriesGroupedByAction(PrintLogCommand options) throws IOException {
Map<String, Multiset<LogEntry>> actionMap = new HashMap<>();
Map<String, Multiset<LogEntry>> actionMap = new LinkedHashMap<>();
int numSkipped = 0;
try (InputStream in = new FileInputStream(options.file)) {
LogEntry entry;
Expand Down