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

[core] [java] [jsp] [plsql] [test] [vm] Small code enhancements, basically reordering variable declarations, … #91

Merged
merged 1 commit into from
May 20, 2016

Conversation

dionisioC
Copy link
Contributor

…constructors and variable modifiers

Enhancements based on sonar advices. I tried to start for the important ones, but those are going to take more time and needs more knowledge about the project. This ones are mainly reordering the code, so first we have variables, after the variables the constructors, and after the constructors the methods.

Also some declarations have been reordered, for example instead of having

private final static

Now we have

private static final

Trying yo give consistency

I haven't touched classes with comments like this (AbstractPLSQLNode.java)

/* JavaCC - OriginalChecksum=3f651517d5069f856891d89230562ac4 (do not edit this line) */

I am not sure what does that mean, and I was afraid that If I change something there, that could be broken

@adangel
Copy link
Member

adangel commented May 20, 2016

Thanks!

@adangel adangel merged commit 511c777 into pmd:master May 20, 2016
@dionisioC
Copy link
Contributor Author

dionisioC commented May 21, 2016

Do we know how often sonar is executed?

@adangel
Copy link
Member

adangel commented May 21, 2016

Do you mean this: https://nemo.sonarqube.org/overview?id=393826 ?
I have no idea, because I didn't set this up... I can try to get access to it, but might take a while...

@dionisioC
Copy link
Contributor Author

Yes. Seems to be triggered when a new release comes out. It is not important, it just help to summarise the code status, so it is easier to pick thing to improve

@adangel adangel changed the title Small code enhancements, basically reordering variable declarations, … [core] [java] [jsp] [plsql] [test] [vm] Small code enhancements, basically reordering variable declarations, … Jun 25, 2016
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