Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/java-speech-api.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkylion007 <dragonsrcool.aaron@gmail.com>2013-08-01 21:25:50 +0400
committerSkylion007 <dragonsrcool.aaron@gmail.com>2013-08-01 21:25:50 +0400
commitb975e519ff07b9756f5e108dbf57cfe402a40c91 (patch)
tree75e68beb29249cb5456599d73b013d914f700a8d
parent4c57d872fbd37e8d4f25e7ec294f3c6cf8346b46 (diff)
Code cleanup
Fixed compiler error caused during earlier decomposition clean up.
-rw-r--r--src/com/darkprograms/speech/synthesiser/Synthesiser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/darkprograms/speech/synthesiser/Synthesiser.java b/src/com/darkprograms/speech/synthesiser/Synthesiser.java
index b63a805..6617a7b 100644
--- a/src/com/darkprograms/speech/synthesiser/Synthesiser.java
+++ b/src/com/darkprograms/speech/synthesiser/Synthesiser.java
@@ -158,6 +158,7 @@ public class Synthesiser {
* @return True if it is, false if not.
*/
private boolean isEndingPunctuation(char input){
- return tmp == ' ' || tmp == '.' || tmp == '!' || tmp == '?' || tmp == ';' || tmp == ':' || tmp == '|';
+ return input == ' ' || input == '.' || input == '!' || input == '?' || input == ';' || input == ':'
+ || input == '|';
}
}