Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collab advanced #241

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

MatthiasHofstaetter
Copy link

What it does

How to test

Follow-ups

Changelog

  • This PR should be mentioned in the changelog
  • This PR introduces a breaking change (if yes, provide more details below for the changelog and the migration guide)


package org.eclipse.glsp.server.utils;

public class CollaborationUtil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor checkstyle issue:
Since this is a utility class it should have a private constructor:

public final class CollaborationUtil {
   private CollaborationUtil() {

   }

   public static final String FALLBACK_SUBCLIENT_ID = "FALLBACK_SUBCLIENT_ID";
}

@@ -88,7 +88,7 @@ public List<Action> submitInitialModel(final RequestModelAction requestAction) {
* Therefore we temporarily store the action later retrival
*/
this.requestModelAction = Optional.of(requestAction);
return submitModel();
return submitModel(requestAction.getSubclientId());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like an accidental change to me. The subClientId should not be used as reason here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants