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

Modified the injection framework to use String for the workspace temp… #11792

Conversation

ScrewTSW
Copy link
Member

…late instead of the enum

What does this PR do?

Changes template referencing to String instead of locked down enum

What issues does this PR fix or reference?

https://app.zenhub.com/workspace/o/redhat-developer/che-functional-tests/issues/294

Release Notes

Docs PR

@riuvshin
Copy link
Contributor

Can one of the admins verify this patch?

2 similar comments
@riuvshin
Copy link
Contributor

Can one of the admins verify this patch?

@riuvshin
Copy link
Contributor

Can one of the admins verify this patch?

@benoitf benoitf added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Oct 31, 2018
public String getTemplateFileName() {
return templateFileName;
}
public WorkspaceTemplate() {}
Copy link
Contributor

Choose a reason for hiding this comment

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

In constant class constructor is usually private.

@@ -80,7 +79,7 @@
};

/** It is Map[node-name, Pair[tab-name, line-number]] */
private static final Map<String, Pair<String, Integer>> PROJECT_SYMBOL_EXPECTED_TEXT =
private static final ImmutableMap<String, Pair<String, Integer>> PROJECT_SYMBOL_EXPECTED_TEXT =
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

@@ -163,7 +163,7 @@ public void importProject(
format(
Resources.toString(getResource("projects/jdt-ls-project-files/project"), UTF_8),
projectName)
.getBytes());
.getBytes(UTF_8));
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch!

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
@dmytro-ndp dmytro-ndp merged commit 749f2cd into eclipse-che:master Nov 5, 2018
@benoitf benoitf added this to the 6.14.0 milestone Nov 5, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Nov 5, 2018
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