TheFinestArtist / YouTubePlayerActivity

Android Youtube Player Activity. Simply pass a url to play youtube video in new activity. It supports screen orientation, media volume control and etc.
https://play.google.com/store/apps/details?id=com.thefinestartist.ytpa.sample
MIT License
395 stars 113 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:S1155 - Collection.isEmpty() should be used to test for emptiness. squid:S1192 - String literals should not be duplicated. You can find more information about the issues here: https://dev.eclipse.org/sonar/rules/show/squid:S1066 https://dev.eclipse.org/sonar/rules/show/squid:S1155 https://dev.eclipse.org/sonar/rules/show/squid:S1192

Please let me know if you have any questions.

Faisal Hameed