diff --git a/code_samples/max_opened_projects/src/main/java/org/intellij/sdk/maxOpenProjects/ProjectCloseListener.java b/code_samples/max_opened_projects/src/main/java/org/intellij/sdk/maxOpenProjects/ProjectCloseListener.java index f5907233b73..001afd1a8c7 100644 --- a/code_samples/max_opened_projects/src/main/java/org/intellij/sdk/maxOpenProjects/ProjectCloseListener.java +++ b/code_samples/max_opened_projects/src/main/java/org/intellij/sdk/maxOpenProjects/ProjectCloseListener.java @@ -8,9 +8,9 @@ import org.jetbrains.annotations.NotNull; /** - * Listener to detect project close. + * Listener to detect project closing. */ -public class ProjectCloseListener implements ProjectManagerListener { +final class ProjectCloseListener implements ProjectManagerListener { @Override public void projectClosed(@NotNull Project project) {