lkuza2 / java-speech-api

The J.A.R.V.I.S. Speech API is designed to be simple and efficient, using the speech engines created by Google to provide functionality for parts of the API. Essentially, it is an API written in Java, including a recognizer, synthesizer, and a microphone capture utility. The project uses Google services for the synthesizer and recognizer. While this requires an Internet connection, it provides a complete, modern, and fully functional speech API in Java.
GNU General Public License v3.0
531 stars 304 forks source link

Multiple code improvements - squid:S1149, squid:S1118, squid:S1213, squid:S2259, squid:S1905, squid:S00122 #79

Closed georgekankava closed 8 years ago

georgekankava commented 8 years ago

This pull request is focused on resolving occurrences of Sonar rules squid:S1149 - Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used. squid:S1118 - Utility classes should not have public constructors. squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order. squid:S2259 - Null pointers should not be dereferenced.. squid:S1905 - Redundant casts should not be used. squid:S00122 - Statements should be on separate lines. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S1149 https://dev.eclipse.org/sonar/rules/show/squid:S1118 https://dev.eclipse.org/sonar/rules/show/squid:S1213 https://dev.eclipse.org/sonar/rules/show/squid:S2259 https://dev.eclipse.org/sonar/rules/show/squid:S1905 https://dev.eclipse.org/sonar/rules/show/squid:S00122 Please let me know if you have any questions. George Kankava

Skylion007 commented 8 years ago

All looks good.