public boolean removeByLine(int line) {
		boolean updated = problems.remove(line) != null;
		if (updated)
			Unchecked.checkedForEach(listeners, ProblemInvalidationListener::onProblemInvalidation,
					(listener, t) -> logger.error("Exception thrown when removing problem from tracking", t));
		return updated;
	}
@Test
	void removeByLine() {
		ProblemTracking tracking = new ProblemTracking();
		tracking.add(new Problem(0, 0, ERROR, LINT, "message"));
		tracking.add(new Problem(1, 0, ERROR, LINT, "message"));

		assertEquals(2, tracking.getProblems().size());
		assertTrue(tracking.removeByLine(1));
		assertEquals(1, tracking.getProblems().size());
	}