bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,657 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,658 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,659 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,660 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,661 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,662 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,663 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,664 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,665 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,666 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,667 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,668 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,669 |
private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | private boolean readSpec () { InputStream input; try { input = ResourceManager.getInstance().getInputStream (SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser parser = new StdXMLParser (); parser.setBuilder (new StdXMLBuilder ()); parser.setValida... | 3,241,670 |
public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | public void run() { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | 3,241,671 |
public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | 3,241,672 |
public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | 3,241,673 |
public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | public void run () { this.handler.startProcessing (this.jobs.size()); for (Iterator job_it = this.jobs.iterator(); job_it.hasNext(); ) { ProcessingJob pj = (ProcessingJob)job_it.next(); this.handler.startProcess (pj.name); boolean result = pj.run (this.handler, this.vs); ... | 3,241,674 |
public void startThread () { this.processingThread = new Thread (this, "processing thread"); //will call this.run() this.processingThread.start(); } | public void startThread() { this.processingThread = new Thread (this, "processing thread"); //will call this.run() this.processingThread.start(); } | 3,241,675 |
public void startThread () { this.processingThread = new Thread (this, "processing thread"); //will call this.run() this.processingThread.start(); } | public void startThread () { this.processingThread = new Thread(this, "processing thread"); //will call this.run() this.processingThread.start(); } | 3,241,676 |
public <T extends IObject> T updateObject(T obj) { return iUpdate.saveAndReturnObject( obj ); } | public <T extends IObject> T updateObject(T obj) { return iUpdate.saveAndReturnObject( obj ); } | 3,241,677 |
public IObject updateObject(IObject obj) { update.flush(); return null; } | public IObject updateObject(IObject obj) { update.flush(); return null; } | 3,241,678 |
public <T extends IObject> T updateObject(T obj) { iUpdate.deleteObject( obj ); return null; } | public <T extends IObject> T updateObject(T obj) { iUpdate.deleteObject( obj ); return null; } | 3,241,679 |
Experimenter userProxy( Long userId ); | Experimenter userProxy( Long userId ); | 3,241,680 |
public ZipOutputStream addPack(int packNumber, String name, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, required); packs.add(pa... | public ZipOutputStream addPack(int packNumber, String name, String targetOs, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, required)... | 3,241,682 |
public ZipOutputStream addPack(int packNumber, String name, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, required); packs.add(pa... | public ZipOutputStream addPack(int packNumber, String name, boolean required, String description) throws Exception { sendMsg("Adding pack #" + packNumber + " : " + name + " ..."); // Adds it in the packs array Pack pack = new Pack(name, description, targetOs, required); pa... | 3,241,683 |
public void menuAboutToShow(IMenuManager manager) { if(fTree.getSelectionCount() > 0) { TreeItem treeItem = fTree.getSelection()[0]; RunInfo testInfo = (RunInfo) treeItem.getData("runinfo"); if(RunInfo.RESULT_TYPE == testInfo.m_type) { manager.add(new OpenTestAction(fTestRunnerPart, testInfo... | public void menuAboutToShow(IMenuManager manager) { if(fTree.getSelectionCount() > 0) { TreeItem treeItem = fTree.getSelection()[0]; RunInfo testInfo = (RunInfo) treeItem.getData("runinfo"); if(RunInfo.RESULT_TYPE == testInfo.m_type) { manager.add(new OpenTestAction(fTestRunnerPart, testInfo... | 3,241,684 |
private void createShortcuts () { ShortcutData data; for (int i = 0; i < shortcuts.size (); i++) { data = (ShortcutData)shortcuts.elementAt (i); try { groupName = groupName + data.subgroup; shortcut.setLinkName (data.name); shortcut.setLinkType ... | private void createShortcuts () { ShortcutData data; for (int i = 0; i < shortcuts.size (); i++) { data = (ShortcutData)shortcuts.elementAt (i); try { groupName = groupName + data.subgroup; shortcut.setLinkName (data.name); shortcut.setLinkType ... | 3,241,685 |
private RenderingEngine() { cmdProcessor = new AsyncProcessor(); //Integer size = (Integer) registry.lookup(LookupNames.RE_STACK_BUF_SZ), // blockSize = (Integer) registry.lookup( // LookupNames.RE_STACK_BLOCK_SZ); //int sz = size.intValue(), block = blockSize.intValue(); //block = (0 < block ? b... | private RenderingEngine() { cmdProcessor = new AsyncProcessor(); //Integer size = (Integer) registry.lookup(LookupNames.RE_STACK_BUF_SZ), // blockSize = (Integer) registry.lookup( // LookupNames.RE_STACK_BLOCK_SZ); //int sz = size.intValue(), block = blockSize.intValue(); //block = (0 < block ? b... | 3,241,687 |
public void eventFired(AgentEvent e) { //TODO: put event on the queue and remove the following. if (e instanceof LoadImage) handleLoadImage((LoadImage) e); else if (e instanceof RenderImage) handleRenderImage((RenderImage) e); else if (e instanceof RenderingPropChange) handleRenderingPropChange((RenderingPropCh... | public void eventFired(AgentEvent e) { //TODO: put event on the queue and remove the following. if (e instanceof LoadImage) handleLoadImage((LoadImage) e); else if (e instanceof RenderImage) handleRenderImage((RenderImage) e); else if (e instanceof RenderingPropChange) handleRenderingPropChange((RenderingPropCh... | 3,241,688 |
private void handleLoadImage(LoadImage request) { try { rndManager = RenderingManager.makeNew(this, request.getImageID(), request.getPixelsID()); RenderingControlProxy proxy = rndManager.createRenderingControlProxy(); ImageLoaded respo... | private void handleLoadImage(LoadImage request) { try { rndManager = RenderingManager.makeNew(this, request.getImageID(), request.getPixelsID()); RenderingControlProxy proxy = rndManager.createRenderingControlProxy(); ImageLoaded respo... | 3,241,689 |
private void handleLoadImage(LoadImage request) { try { rndManager = RenderingManager.makeNew(this, request.getImageID(), request.getPixelsID()); RenderingControlProxy proxy = rndManager.createRenderingControlProxy(); ImageLoaded respo... | private void handleLoadImage(LoadImage request) { try { rndManager = RenderingManager.makeNew(this, request.getImageID(), request.getPixelsID()); RenderingControlProxy proxy = rndManager.createRenderingControlProxy(); ImageLoaded respo... | 3,241,690 |
private void handleRenderImage(RenderImage request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef pd = request.getPlaneDef(); BufferedImage img = rndManager.renderPlane(pd); ImageRendered response = new ImageRendered(request, img); Eve... | private void handleRenderImage(RenderImage request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef pd = request.getPlaneDef(); BufferedImage img = rndManager.renderPlane(pd); ImageRendered response = new ImageRendered(request, img); Eve... | 3,241,692 |
private void handleRenderImage(RenderImage request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef pd = request.getPlaneDef(); BufferedImage img = rndManager.renderPlane(pd); ImageRendered response = new ImageRendered(request, img); Eve... | private void handleRenderImage(RenderImage request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef pd = request.getPlaneDef(); BufferedImage img = rndManager.renderPlane(pd); ImageRendered response = new ImageRendered(request, img); Eve... | 3,241,693 |
private void handleRenderImage3D(RenderImage3D request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef xyPD = request.getXYPlaneDef(), xzPD = request.getXZPlaneDef(), zyPD = request.getZYPlaneDef(); BufferedImag... | private void handleRenderImage3D(RenderImage3D request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef xyPD = request.getXYPlaneDef(), xzPD = request.getXZPlaneDef(), zyPD = request.getZYPlaneDef(); BufferedImag... | 3,241,694 |
private void handleRenderImage3D(RenderImage3D request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef xyPD = request.getXYPlaneDef(), xzPD = request.getXZPlaneDef(), zyPD = request.getZYPlaneDef(); BufferedImag... | private void handleRenderImage3D(RenderImage3D request) { if (rndManager == null) return; //TODO: if null, log? try { PlaneDef xyPD = request.getXYPlaneDef(), xzPD = request.getXZPlaneDef(), zyPD = request.getZYPlaneDef(); BufferedImag... | 3,241,695 |
protected void setUp() throws Exception { data = (OMEData) factory.ctx.getBean("data"); iPojos = factory.getPojosService(); iQuery = factory.getQueryService(); iUpdate = factory.getUpdateService(); try { iQuery.get(Experimenter.class,0l); }... | protected void setUp() throws Exception { data = (OMEData) factory.getContext().getBean("data"); iPojos = factory.getPojosService(); iQuery = factory.getQueryService(); iUpdate = factory.getUpdateService(); try { iQuery.get(Experimenter.class,0l); ... | 3,241,696 |
private void putUninstaller() throws Exception { // get the uninstaller base, returning if not found so that // idata.uninstallOutJar remains null InputStream [] in = new InputStream[2]; in[0] = Unpacker.class.getResourceAsStream("/res/IzPack.uninstaller"); if (in[0] == null) return; // The un... | private void putUninstaller() throws Exception { // get the uninstaller base, returning if not found so that // idata.uninstallOutJar remains null InputStream [] in = new InputStream[2]; in[0] = Unpacker.class.getResourceAsStream("/res/IzPack.uninstaller"); if (in[0] == null) return; // The un... | 3,241,697 |
private static String javaCommand() { // This was stolen (and specialized from much more modular code) from the // jakarta ant classes Os & JavaEnvUtils. Also see the following // org.apache.tools.ant.taskdefs.Java // org.apache.tools.ant.taskdefs.Execute // org.apache.tools.ant.taskdefs.cond... | private static String javaCommand() { // This was stolen (and specialized from much more modular code) from the // jakarta ant classes Os & JavaEnvUtils. Also see the following // org.apache.tools.ant.taskdefs.Java // org.apache.tools.ant.taskdefs.Execute // org.apache.tools.ant.taskdefs.cond... | 3,241,698 |
public void testSaveSimpleObject() throws Exception { Pixels p = ObjectFactory.createPixelGraph(null); p = (Pixels) iUpdate.saveAndReturnObject(p); flush(); List logs = securitySystem.getCurrentEvent().collectLogs(null); assertTrue(logs.size() > 0); Pixels check = (Pixe... | public void testSaveSimpleObject() throws Exception { Pixels p = ObjectFactory.createPixelGraph(null); p = (Pixels) iUpdate.saveAndReturnObject(p); List logs = securitySystem.getCurrentEvent().collectLogs(null); assertTrue(logs.size() > 0); Pixels check = (Pixels) iQuer... | 3,241,699 |
public void test_experimenters_groups() throws Exception { Experimenter e = new Experimenter(); ExperimenterGroup g_1 = new ExperimenterGroup(); ExperimenterGroup g_2 = new ExperimenterGroup(); e.setOmeName("j.b."+System.currentTimeMillis()); e.setFirstName(" Joe "); ... | public void test_experimenters_groups() throws Exception { Experimenter e = new Experimenter(); ExperimenterGroup g_1 = new ExperimenterGroup(); ExperimenterGroup g_2 = new ExperimenterGroup(); e.setOmeName("j.b."+System.currentTimeMillis()); e.setFirstName(" Joe "); ... | 3,241,700 |
public String process (ProcessingClient client) { if (client.getNumFields () < 1) { return (""); } char [] password = client.getFieldContents (0).toCharArray (); char [] result = new char [password.length]; int temp; for (int i = 0; i < password.length; i++) { temp = pass... | public String process (ProcessingClient client) { if (client.getNumFields () < 1) { return (""); } char [] password = client.getFieldContents (0).toCharArray (); char [] result = new char [password.length]; int temp; for (int i = 0; i < password.length; i++) { temp = pass... | 3,241,701 |
public String process (ProcessingClient client) { if (client.getNumFields () < 1) { return (""); } char [] password = client.getFieldContents (0).toCharArray (); char [] result = new char [password.length]; int temp; for (int i = 0; i < password.length; i++) { temp = pass... | public String process (ProcessingClient client) { if (client.getNumFields () < 1) { return (""); } char [] password = client.getFieldContents (0).toCharArray (); char [] result = new char [password.length]; int temp; for (int i = 0; i < password.length; i++) { temp = pass... | 3,241,702 |
public String process (ProcessingClient client) { if (client.getNumFields () < 1) { return (""); } char [] password = client.getFieldContents (0).toCharArray (); char [] result = new char [password.length]; int temp; for (int i = 0; i < password.length; i++) { temp = pass... | public String process (ProcessingClient client) { if (client.getNumFields () < 1) { return (""); } char [] password = client.getFieldContents (0).toCharArray (); char [] result = new char [password.length]; int temp; for (int i = 0; i < password.length; i++) { temp = pass... | 3,241,703 |
public Object clone() throws OutOfMemoryError { ShortcutData result = new ShortcutData(); result.type = type; result.userType = userType; result.iconIndex = iconIndex; result.initialState = initialState; result.addToGroup = addToGroup; result.name = cloneString(na... | public Object clone() throws OutOfMemoryError { ShortcutData result = new ShortcutData(); result.type = type; result.userType = userType; result.iconIndex = iconIndex; result.initialState = initialState; result.addToGroup = addToGroup; result.name = cloneString(na... | 3,241,704 |
private String cloneString(String original) { if (original == null) { return (""); } else { return (new String(original)); } } | private String cloneString(String original) { if (original == null) { return (""); } else { return (original); } } | 3,241,705 |
public Compiler(String filename, String basedir, String kind, String output) { // Default initialisation this.filename = filename; this.basedir = basedir; this.kind = kind; this.output = output; // Creates a temporary temp file for keeping empty directories try { keepDirFile = File.creat... | public Compiler(String filename, String basedir, String kind, String output) { // Default initialisation this.filename = filename; this.basedir = basedir; this.kind = kind; this.output = output; // Creates a temporary temp file for keeping empty directories try { keepDirFile = File.creat... | 3,241,706 |
protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | 3,241,707 |
protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | protectedvoidaddFileSet(Stringpath,String[]includes,String[]excludes,StringrelPath,StringtargetOs,ArrayListlist,Stringcasesensitive)throwsException{booleanbCasesensitive=false;Filetest=newFile(path);if(test.isDirectory()){if(casesensitive!=null)bCasesensitive=casesensitive.equalsIgnoreCase("Yes");DirectoryScannerds=new... | 3,241,708 |
protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | 3,241,709 |
protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | protected void addFileSet(String path, String[] includes, String[] excludes, String relPath, String targetOs, ArrayList list, String casesensitive) throws Exception { boolean bCasesensitive = false; File test = new File(path); if (test.isDirectory()) { if (casesensitiv... | 3,241,710 |
public void executeCompiler() throws Exception { // Usefull variables int size; int i; String str; InputStream inStream; // We get the XML data tree XMLElement data = getXMLTree(); // We get the Packager Packager packager = getPackager(); // We add the variable declaration packager.s... | public void executeCompiler() throws Exception { // Usefull variables int i; String str; InputStream inStream; // We get the XML data tree XMLElement data = getXMLTree(); // We get the Packager Packager packager = getPackager(); // We add the variable declaration packager.setVariable... | 3,241,711 |
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el ... | 3,241,713 |
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | 3,241,714 |
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | 3,241,715 |
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); Vector v; XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLE... | 3,241,716 |
public JDKPathPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); setMustExist(true); if(!OsVersion.IS_OSX) setExistFiles(JDKPathPanel.testFiles); setMinVersion(idata.getVariable("JDKPathPanel.minVersion")); setMaxVersion(idata.getVariable("JDKPathP... | public JDKPathPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); setMustExist(true); if(!OsVersion.IS_OSX) setExistFiles(JDKPathPanel.testFiles); setMinVersion(idata.getVariable("JDKPathPanel.minVersion")); setMaxVersion(idata.getVariable("JDKPathP... | 3,241,717 |
private final boolean compareVersions(String in, String template, boolean isMin, int assumedPlace, int halfRange, String useNotIdentifier) { StringTokenizer st = new StringTokenizer(in, " \t\n\r\f\""); int i; int currentRange = 0; String[] interestedEntries = new String[hal... | private final boolean compareVersions(String in, String template, boolean isMin, int assumedPlace, int halfRange, String useNotIdentifier) { StringTokenizer st = new StringTokenizer(in, " \t\n\r\f\""); int i; int currentRange = 0; String[] interestedEntries = new String[hal... | 3,241,718 |
public void test_using_ServiceFactory() throws Exception { ServiceFactory basicSF = new ServiceFactory(); ServiceFactory loginSF = new ServiceFactory( new Login( "bar", "ome" )); Properties p = new Properties(); p.setProperty( Login.OMERO_USER, "bax" ); ServiceFactory propsSF = new ServiceFa... | public void test_using_ServiceFactory() throws Exception{ServiceFactory basicSF = new ServiceFactory();ServiceFactory loginSF = new ServiceFactory( new Login( "bar", "ome" ));Properties p = new Properties();p.setProperty( Login.OMERO_USER, "bax" );ServiceFactory propsSF = new ServiceFactory( p );Principal basicP = (Pri... | 3,241,719 |
public void stopAction () { CompileResult result = this.worker.getResult (); this.releaseGUI(true); if (result.isContinue()) { parent.lockPrevButton(); packProgressBar.setString(parent.langpack.getString("CompilePanel.progress.finished")); packProgressBar.setEnabled(false); packProgre... | public void stopAction () { CompileResult result = this.worker.getResult (); this.releaseGUI(result.isReconfigure()); if (result.isContinue()) { parent.lockPrevButton(); packProgressBar.setString(parent.langpack.getString("CompilePanel.progress.finished")); packProgressBar.setEnabled(false... | 3,241,720 |
public ConsoleTextArea() { super(); history = new java.util.Vector(); console1 = new ConsoleWriter(this); console2 = new ConsoleWriter(this); out = new PrintStream(console1); err = new PrintStream(console2); PipedOutputStream outPipe = new PipedOutputStream(); ... | public ConsoleTextArea() { super(); history = new java.util.Vector(); console1 = new ConsoleWriter(this); ConsoleWriter console2 = new ConsoleWriter(this); out = new PrintStream(console1); err = new PrintStream(console2); PipedOutputStream outPipe = new PipedOutpu... | 3,241,721 |
public synchronized void evict() throws Exception { Object key = null; for(int i=0,m=getNumTests();i<m;i++) { if(_poolMap.size() > 0) { // if we don't have a key cursor, then create one, and close any object cursor if(null == _evictionKeyCursor) { ... | public synchronized void evict() throws Exception { Object key = null; for(int i=0,m=getNumTests();i<m;i++) { if(_poolMap.size() > 0) { // if we don't have a key cursor, then create one, and close any object cursor if(null == _evictionKeyCursor) { ... | 3,241,723 |
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { Unpacker unpacker = new Unpacker(idata, this); unpacker.start(); done = false; while (!done && unpacker.isAlive()) { try { Thread.sleep(100); } ... | public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { Unpacker unpacker = new Unpacker(idata, this); unpacker.start(); boolean done = false; while (!done && unpacker.isAlive()) { try { Thread.sleep(100); } ... | 3,241,725 |
public void stopAction() { System.out.println("[ Unpacking finished. ]"); done = true; } | public void stopAction() { System.out.println("[ Unpacking finished. ]"); boolean done = true; } | 3,241,726 |
public String getDefaultInstallPath (String appName) { String path = null; InputStream input = null; String keyFragment = "/res/" + INSTALL_PATH_RESOURCE_KEY [GENERIC][STANDARD]; // ---------------------------------------------------- // attempt to get an input stream through a ... | public String getDefaultInstallPath (String appName) { String path = null; InputStream input = null; String keyFragment = "/res/" + INSTALL_PATH_RESOURCE_KEY [GENERIC][STANDARD]; // ---------------------------------------------------- // attempt to get an input stream through a ... | 3,241,727 |
public String getDefaultInstallPath (String appName) { String path = null; InputStream input = null; String keyFragment = "/res/" + INSTALL_PATH_RESOURCE_KEY [GENERIC][STANDARD]; // ---------------------------------------------------- // attempt to get an input stream through a ... | public String getDefaultInstallPath (String appName) { String path = null; InputStream input = null; String keyFragment = "/res/" + INSTALL_PATH_RESOURCE_KEY [GENERIC][STANDARD]; // ---------------------------------------------------- // attempt to get an input stream through a ... | 3,241,728 |
public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker(idata, this); JLabel heading = new JLabel(); Font font = heading.getFont(); font = font.deriveFont(Font.BOLD, font.getSize() * 2.0f); ... | public ProcessPanel(InstallerFrame parent, InstallData idata) throws IOException { super(parent, idata); this.worker = new ProcessPanelWorker(idata, this); JLabel heading = new JLabel(); Font font = heading.getFont(); font = font.deriveFont(Font.BOLD, font.getSize() * 2.0f); ... | 3,241,729 |
public void panelActivate() { // We clip the panel Dimension dim = parent.getPanelsContainerSize(); dim.width = dim.width - (dim.width / 4); dim.height = 150; setMinimumSize(dim); setMaximumSize(dim); setPreferredSize(dim); parent.lockNextButton(); t... | public void panelActivate() { // We clip the panel Dimension dim = parent.getPanelsContainerSize(); dim.width -= (dim.width / 4); dim.height = 150; setMinimumSize(dim); setMaximumSize(dim); setPreferredSize(dim); parent.lockNextButton(); this.worker.... | 3,241,730 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | private static void computeLocationStats(Pixels pixels, List<ChannelBinding> cbs, PlaneDef planeDef, PixelBuffer buf) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int... | 3,241,731 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (planeDef == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().itera... | 3,241,732 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator(); i.hasNext(); ) { // FIXME: T... | 3,241,733 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; List<Channel> channels = pixels.getChannels(); for (Chann... | 3,241,734 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | 3,241,735 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | 3,241,736 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | 3,241,737 |
public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | public void computeLocationStats(PlaneDef pd) { if (pd == null) throw new NullPointerException("No plane definition."); ChannelBinding[] cb = getChannelBindings(); StatsFactory sf = new StatsFactory(); int w = 0; for (Iterator i = getMetadata().getChannels().iterator();... | 3,241,738 |
public PlaneDef getDefaultPlaneDef() { PlaneDef pd = new PlaneDef(PlaneDef.XY, rndDef.getDefaultT().intValue()); pd.setZ(rndDef.getDefaultZ().intValue()); return pd; } | public PlaneDef getDefaultPlaneDef() { PlaneDef pd = new PlaneDef(PlaneDef.XY, rndDef.getDefaultT().intValue()); pd.setZ(rndDef.getDefaultZ().intValue()); return pd; } | 3,241,739 |
private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(... | private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels, PixelBuffer buffer) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels =... | 3,241,740 |
private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(... | privatestaticvoidresetChannelBindings(RenderingDefdef,Pixelspixels,IPixelsiPixels){//TheactualchannelbindingswearereturningList<ChannelBinding>channelBindings=def.getWaveRendering();List<Channel>channels=pixels.getChannels();inti=0;for(Channelchannel:channels){StatsInfostats=channel.getStatsInfo();Familyfamily= Quantum... | 3,241,741 |
private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(... | private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(... | 3,241,742 |
private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(... | private static void resetChannelBindings(RenderingDef def, Pixels pixels, IPixels iPixels) { // The actual channel bindings we are returning List<ChannelBinding> channelBindings = def.getWaveRendering(); List<Channel> channels = pixels.getChannels(... | 3,241,743 |
public PacksPanelBase(InstallerFrame parent, InstallData idata) { super(parent, idata); // Load langpack. try { this.langpack = parent.langpack; } catch (Throwable exception) {} // init the map computePacks(idata.availablePacks); cr... | public PacksPanelBase(InstallerFrame parent, InstallData idata) { super(parent, idata); // Load langpack. try { this.langpack = parent.langpack; } catch (Throwable exception) { Debug.trace(exception); } // init the map computePacks(idata.a... | 3,241,745 |
public LanguageDialog(JFrame frame, Object[] items) { super(frame); try { loadLookAndFeel(); } catch (Exception err) { err.printStackTrace(); } // We build the GUI addWindowLis... | public LanguageDialog(JFrame frame, Object[] items) { super(frame); try { loadLookAndFeel(); } catch (Exception err) { err.printStackTrace(); } // We build the GUI addWindowLis... | 3,241,746 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,747 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,748 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,749 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,750 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,751 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,752 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,753 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,754 |
protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | protected void loadLookAndFeel() throws Exception { // Do we have any preference for this OS ? String syskey = "unix"; if (OsVersion.IS_WINDOWS) { syskey = "windows"; } else if (OsVersion.IS_OSX) { syskey = "mac"; } String laf =... | 3,241,755 |
protected boolean useFlags() { if (installdata.guiPrefs.modifier.containsKey("useFlags") && ((String) installdata.guiPrefs.modifier.get("useFlags")).equalsIgnoreCase("no")) return (false); return (true); } | protected boolean useFlags() { if (installdata.guiPrefs.modifier.containsKey("useFlags") && "no".equalsIgnoreCase((String) installdata.guiPrefs.modifier.get("useFlags"))) return (false); return (true); } | 3,241,756 |
public CustomSuite(final String projectName, final String suiteName, final Map parameters, final String annotationType) { super(true); m_projectName= projectName; m_suiteName= suiteName; m_parameters= parameters; if("1.4".equ... | public CustomSuite(final String projectName, final String suiteName, final Map parameters, final String annotationType) { super(true); m_projectName= projectName; m_suiteName= suiteName; m_parameters= parameters; if("1.4".equ... | 3,241,757 |
public CustomSuite(final String projectName, final String suiteName, final Map parameters, final String annotationType) { super(true); m_projectName= projectName; m_suiteName= suiteName; m_parameters= parameters; if("1.4".equ... | public CustomSuite(final String projectName, final String suiteName, final Map parameters, final String annotationType) { super(true); m_projectName= projectName; m_suiteName= suiteName; m_parameters= parameters; if("1.4".equ... | 3,241,758 |
protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | 3,241,760 |
protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | 3,241,761 |
protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | 3,241,762 |
protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | 3,241,763 |
protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | protected XMLStringBuffer createContentBuffer() { XMLStringBuffer suiteBuffer= new XMLStringBuffer(""); //$NON-NLS-1$ suiteBuffer.setDocType("suite SYSTEM \"" + Parser.TESTNG_DTD_URL + "\""); Properties attrs= new Properties(); attrs.setProperty("name", m_suiteName); suiteBuffer.push("suite... | 3,241,764 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.