vince-styling / Netroid

Netroid is a Http Framework for Android that based on Volley
http://netroid.vincestyling.com/
285 stars 126 forks source link

General code quality fix-1 #13

Closed faisal-hameed closed 8 years ago

faisal-hameed commented 8 years ago

This pull request is focused on resolving occurrences of Sonar rules squid:S1066 - Collapsible "if" statements should be merged. squid:S2093 - Try-with-resources should be used. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S1066 https://dev.eclipse.org/sonar/rules/show/squid:S2093

Please let me know if you have any questions.

Faisal Hameed

vince-styling commented 8 years ago

the second one, S2093, I'm afraid try-with-resources statement requires API level 19 at least, it cannot be apply in our project.