This commit is contained in:
Keir Nellyer 2016-06-24 17:56:01 +01:00
parent daae2f7a3a
commit 45418b3a4d

View File

@ -33,6 +33,9 @@ public class ReportHandleCommand extends CommandBase<ReportPlugin>
{
ReportManager reportManager = Plugin.getReportManager();
ReportRepository reportRepository = reportManager.getReportRepository();
// TODO check if already handling report
Map<Report, Double> reportPriorities = Collections.synchronizedMap(new HashMap<>());
// the below fetches the ids of all unhandled reports and gets a Report object for each of these ids