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

Made eclipse config.xml files optional. #64

Closed
wants to merge 1 commit into from
Closed

Made eclipse config.xml files optional. #64

wants to merge 1 commit into from

Conversation

velo
Copy link
Contributor

@velo velo commented Aug 7, 2015

Revert "Rework resource usage"

This reverts commit bdd925b.

Revert "Rework resource usage"

This reverts commit bdd925b.
@@ -583,7 +604,7 @@ private void createCodeFormatter() throws MojoExecutionException {
try {
this.resourceManager.addSearchPath(FileResourceLoader.ID,
this.basedir.getAbsolutePath());
configInput = this.resourceManager.getResourceAsInputStream(newConfigFile);
configInput = this.resourceManager.getResourceAsInputStream(this.configFile);
Copy link
Member

Choose a reason for hiding this comment

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

This was the bug I was mentioning. The 'this' reference here is to the wrong field which would otherwise break usage for javascript anyway. The this should be removed. It should be using the 'configFile directly passed into the private method.

@hazendaz
Copy link
Member

hazendaz commented Sep 8, 2015

It appears to me this was already done on master. I found a few other minor related glitches in this for error logging. Should we close this PR now?

@velo
Copy link
Contributor Author

velo commented Sep 8, 2015

No, this was not done...

Since reverting was going to break other stuff I left it behind.

@hazendaz
Copy link
Member

hazendaz commented Sep 8, 2015

OK - I was looking at that wrong. You are correct. This wasn't done. It can stay for now :)

@hazendaz hazendaz closed this Sep 8, 2015
@hazendaz
Copy link
Member

hazendaz commented Sep 8, 2015

Interesting. velo-merge deleting deleted the PR. It did put a revert branch out there with the changes so they are not lost.

@hazendaz hazendaz deleted the revert branch October 3, 2017 04:28
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.

2 participants