mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
remove dead code to avoid warnings
This commit is contained in:
@@ -35,8 +35,6 @@ public class CompletionsView extends View {
|
|||||||
private int[] mWordX = new int[MAX_SUGGESTIONS];
|
private int[] mWordX = new int[MAX_SUGGESTIONS];
|
||||||
|
|
||||||
private static final int X_GAP = 10;
|
private static final int X_GAP = 10;
|
||||||
|
|
||||||
private static final List<String> EMPTY_LIST = new ArrayList<String>();
|
|
||||||
|
|
||||||
private int mColorNormal;
|
private int mColorNormal;
|
||||||
private int mColorRecommended;
|
private int mColorRecommended;
|
||||||
|
|||||||
@@ -265,16 +265,6 @@ public class Translator {
|
|||||||
return out;
|
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) {
|
private String translateWord(String input) {
|
||||||
|
|
||||||
String output = "[" + input + "]" ; // if all else fails, return the word itself in brackets
|
String output = "[" + input + "]" ; // if all else fails, return the word itself in brackets
|
||||||
@@ -322,16 +312,6 @@ public class Translator {
|
|||||||
input = explode(input);
|
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;
|
String output = null;
|
||||||
List<ExprProb> exprs = new ArrayList<ExprProb>();
|
List<ExprProb> exprs = new ArrayList<ExprProb>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user