fabian7593 / MagicalCamera

A library to take picture easy, transform your data in different format and save photos in your device
Apache License 2.0
338 stars 90 forks source link

Multiple code improvements - squid:S1905, squid:S1226, squid:S1192, squid:S1213, squid:UselessParenthesesCheck #3

Closed georgekankava closed 8 years ago

georgekankava commented 8 years ago

This pull request is focused on resolving occurrences of Sonar rules squid:S1905 - Redundant casts should not be used. squid:S1226 - Method parameters, caught exceptions and foreach variables should not be reassigned. squid:S1192 - String literals should not be duplicated. squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order. squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding. This pull request removes technical debt of 59 minutes. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S1905 https://dev.eclipse.org/sonar/rules/show/squid:S1226 https://dev.eclipse.org/sonar/rules/show/squid:S1192 https://dev.eclipse.org/sonar/rules/show/squid:S1213 https://dev.eclipse.org/sonar/rules/show/squid:UselessParenthesesCheck Please let me know if you have any questions. George Kankava