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

XWiki 7941 : PR leak when displaying TextArea properties #115

Closed
wants to merge 4 commits into from

Conversation

tdelafosse
Copy link
Contributor

No description provided.

@mflorea
Copy link
Member

mflorea commented May 27, 2013

The code style is not consistent, especially the indentation of comments. Make sure you use XWiki's code style.

@tdelafosse
Copy link
Contributor Author

Sorry for that. There was some tab characters in my IDE, so it was rendering nicely in it, but not on github ! Should be fixed now :) Thanks.

@tmortagne tmortagne closed this Feb 26, 2015
context.remove(XWikiConstant.DROPPED_PERMISSIONS);
}
} catch (XWikiException e) {
LOGGER.warn("Failed to check rights for this textArea : " + e.toString());
Copy link
Member

Choose a reason for hiding this comment

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

thomas, I'd have put this in a separate method to make the code a bit cleaner/structured.

Also the restoration of the dropped PR should be done in a finally block IMO.

Copy link
Member

Choose a reason for hiding this comment

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

My bad, this PR was closed as it was done by Marius already.

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