From ed0be0b0d48b9552a753b49b1be016a335a4adb4 Mon Sep 17 00:00:00 2001 From: Tobias Ortmayr Date: Wed, 20 Sep 2023 09:45:30 +0200 Subject: [PATCH] Remove accidential commited code --- .../features/core/model/RequestModelActionHandler.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/features/core/model/RequestModelActionHandler.java b/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/features/core/model/RequestModelActionHandler.java index c99f372c..42f4bec9 100644 --- a/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/features/core/model/RequestModelActionHandler.java +++ b/plugins/org.eclipse.glsp.server/src/org/eclipse/glsp/server/features/core/model/RequestModelActionHandler.java @@ -22,14 +22,11 @@ import org.eclipse.glsp.server.actions.AbstractActionHandler; import org.eclipse.glsp.server.actions.Action; import org.eclipse.glsp.server.actions.ActionDispatcher; -import org.eclipse.glsp.server.actions.MessageAction; -import org.eclipse.glsp.server.actions.StatusAction; import org.eclipse.glsp.server.di.DiagramModule; import org.eclipse.glsp.server.features.progress.ProgressMonitor; import org.eclipse.glsp.server.features.progress.ProgressService; import org.eclipse.glsp.server.features.sourcemodelwatcher.SourceModelWatcher; import org.eclipse.glsp.server.model.GModelState; -import org.eclipse.glsp.server.types.Severity; import org.eclipse.glsp.server.utils.ClientOptionsUtil; import org.eclipse.glsp.server.utils.StatusActionUtil; @@ -82,8 +79,6 @@ public List executeAction(final RequestModelAction action) { if (!isReconnecting) { sourceModelWatcher.ifPresent(watcher -> watcher.startWatching()); } - this.actionDispatcher.dispatch(new StatusAction(Severity.WARNING, "foo")); - this.actionDispatcher.dispatch(new MessageAction(Severity.WARNING, "foo")); return modelSubmissionHandler.submitInitialModel(action); }