1
0
forked from GitHub/gf-core

remove dead code to avoid warnings

This commit is contained in:
kr.angelov
2014-04-24 19:21:00 +00:00
parent 89db1ba6c2
commit 9fa07c41b5
2 changed files with 0 additions and 22 deletions

View File

@@ -35,8 +35,6 @@ public class CompletionsView extends View {
private int[] mWordX = new int[MAX_SUGGESTIONS];
private static final int X_GAP = 10;
private static final List<String> EMPTY_LIST = new ArrayList<String>();
private int mColorNormal;
private int mColorRecommended;

View File

@@ -265,16 +265,6 @@ public class Translator {
return out;
}
private static String sepApo(String in) {
String out = "";
for (int i = 0; i < in.length(); i++) {
out += in.charAt(i);
if (in.charAt(i) == '\'')
out += ' ';
}
return out;
}
private String translateWord(String input) {
String output = "[" + input + "]" ; // if all else fails, return the word itself in brackets
@@ -322,16 +312,6 @@ public class Translator {
input = explode(input);
}
/* not needed any more
if (getSourceLanguage().getLangCode().equals("fr-FR")) {
// for French and Italian we need to separate apostrophe by space...
input = sepApo(input);
}
if (getSourceLanguage().getLangCode().equals("it-IT")) {
input = sepApo(input);
}
*/
String output = null;
List<ExprProb> exprs = new ArrayList<ExprProb>();