<commit_before>/**
 *
 */
package org.javarosa.formmanager.view;

import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.List;

import org.javarosa.core.Context;
import org.javarosa.core.api.ICommand;
import org.javarosa.core.api.IView;
import org.javarosa.core.util.Map;
import org.javarosa.formmanager.activity.FormListActivity;
import org.javarosa.user.model.User;

//#if javarosa.usepolishlocalisation
import de.enough.polish.util.Locale;
//#endif

/**
 * @author <NAME>
 *
 */
public class FormList extends List implements CommandListener, IView {
	//#if javarosa.usepolishlocalisation
	private final Command CMD_EXIT = new Command(Locale.get("menu.Exit"), Command.BACK, 2);
    private final Command CMD_GETNEWFORMS = new Command(Locale.get("menu.GetNewForms"), Command.SCREEN, 2);
    // CZUE added for testing 
    private final Command CMD_CAMERA = new Command(Locale.get("menu.Camera"), Command.SCREEN, 2);
    //Added for debugging(Ndubisi)
    private final Command CMD_RECORDER = new Command(Locale.get("menu.Recorder"), Command.SCREEN, 2);
    private final Command CMD_IMAGE_BROWSE = new Command(Locale.get("menu.ImageManagement"), Command.SCREEN, 2);
	// others
    private final Command CMD_VIEWMODELS = new Command(Locale.get("menu.ViewSaved"), Command.SCREEN, 3);
    private final Command CMD_DELETE_FORM = new Command(Locale.get("menu.Delete"),Command.SCREEN,4);
    private final Command CMD_SHAREFORMS = new Command(Locale.get("menu.ShareForms"), Command.SCREEN, 2);
    private final Command CMD_SETTINGS = new Command(Locale.get("menu.Settings"), Command.SCREEN, 3);
	//#else
	// TODO: These should all be il8n'd
	private final Command CMD_EXIT = new Command("Exit", Command.BACK, 2);
    private final Command CMD_GETNEWFORMS = new Command("Get New Forms", Command.SCREEN, 2);
    // CZUE added for testing 
    private final Command CMD_CAMERA = new Command("Camera", Command.SCREEN, 2);
    //Added for debugging(Ndubisi)
    private final Command CMD_RECORDER = new Command("Recorder", Command.SCREEN, 2);<commit_msg>[r2284] Java Code now Compiles Cleanly<commit_after>/**
 *
 */
package org.javarosa.formmanager.view;

import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Vector;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.List;

import org.javarosa.core.Context;
import org.javarosa.core.api.ICommand;
import org.javarosa.core.api.IView;
import org.javarosa.core.util.Map;
import org.javarosa.formmanager.activity.FormListActivity;
import org.javarosa.user.model.User;

//#if javarosa.usepolishlocalisation
//# import de.enough.polish.util.Locale;
//#endif

/**
 * @author <NAME>
 *
 */
public class FormList extends List implements CommandListener, IView {
	//#if javarosa.usepolishlocalisation
	//# private final Command CMD_EXIT = new Command(Locale.get("menu.Exit"), Command.BACK, 2);
	//# private final Command CMD_GETNEWFORMS = new Command(Locale.get("menu.GetNewForms"), Command.SCREEN, 2);
    // CZUE added for testing 
	//# private final Command CMD_CAMERA = new Command(Locale.get("menu.Camera"), Command.SCREEN, 2);
    //Added for debugging(Ndubisi)
	//# private final Command CMD_RECORDER = new Command(Locale.get("menu.Recorder"), Command.SCREEN, 2);
	//# private final Command CMD_IMAGE_BROWSE = new Command(Locale.get("menu.ImageManagement"), Command.SCREEN, 2);
	// others
	//# private final Command CMD_VIEWMODELS = new Command(Locale.get("menu.ViewSaved"), Command.SCREEN, 3);
	//# private final Command CMD_DELETE_FORM = new Command(Locale.get("menu.Delete"),Command.SCREEN,4);
	//# private final Command CMD_SHAREFORMS = new Command(Locale.get("menu.ShareForms"), Command.SCREEN, 2);
	//# private final Command CMD_SETTINGS = new Command(Locale.get("menu.Settings"), Command.SCREEN, 3);
	//#else
    
    
	// TODO: These should all be il8n'd
	private final Command CMD_EXIT = new Command("Exit", Command.BACK, 2);
    private final Command CMD_GETNEWFORMS = new Command("Get New Forms", Command.SCREEN, 2);
    // CZUE added for testing 
    private final Command CMD_CAMERA = new Command("Camera", Command.SCREEN, 2);
    //Added for debugging(Ndubisi)
    private final Command CMD_RECORDER = new Command("Recorder", Command.SCREEN, 2);
{'fraction_non_alphanumeric': 0.1256890848952591, 'fraction_numerical': 0.0070562293274531425, 'mean_word_length': 4.830334190231363, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2896429', 'n_tokens_mistral': 1504, 'n_tokens_neox': 1454, 'n_words': 348}