bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit...
public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit...
3,227,780
public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit...
public BrowserInternalFrame(BrowserController theController) { setSize(600,600); setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE); if(theController != null) { this.controller = theController; String title = controller.getName(); setTit...
3,227,781
public void clear() { Iterator i = _tools.entrySet().iterator(); while (i.hasNext()) { Map.Entry m = (Map.Entry) i.next(); ContextTool tool = (ContextTool) _toolbox.get(m.getKey()); tool.destroy(m.getValue()); } _tools.clear(); _globals.clear(); _bean = null; ...
public void clear() { Iterator i = _tools.entrySet().iterator(); while (i.hasNext()) { Map.Entry m = (Map.Entry) i.next(); ContextTool tool = (ContextTool) _toolbox.get(m.getKey()); tool.destroy(m.getValue()); } _tools.clear(); _globals.clear(); _bean = null; ...
3,227,782
protected void onDisplayChange(TreeImageDisplay selectedDisplay) { if (selectedDisplay == null) { name = NAME; putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); setEnabled(false); return; } Browser ...
protected void onDisplayChange(TreeImageDisplay selectedDisplay) { if (selectedDisplay == null) { name = NAME; putValue(Action.SHORT_DESCRIPTION, UIUtilities.formatToolTipText(DESCRIPTION)); setEnabled(false); return; } Browser ...
3,227,783
execute() throws BuildException { if(_fileSets.isEmpty()) { throw new BuildException("No fileset specified"); } Set types = new HashSet(); java.util.Iterator p = _fileSets.iterator(); while(p.hasNext()) { FileSet filese...
execute() throws BuildException { if(_fileSets.isEmpty()) { throw new BuildException("No fileset specified"); } Set types = new HashSet(); java.util.Iterator p = _fileSets.iterator(); while(p.hasNext()) { FileSet filese...
3,227,784
public void invoke(String template, Writer w){ try { InputStream in = VelocityHelper.class.getClassLoader().getResourceAsStream(template); if (null==in){ throw new FileNotFoundException(template); } InputStreamReader r = new InputStreamReader(in); log.debug(Arrays.asList(vc.getKeys()))...
public void invoke(String template, Writer w){ try { InputStream in = VelocityHelper.class.getClassLoader().getResourceAsStream(template); if (null==in){ throw new FileNotFoundException(template); } InputStreamReader r = new InputStreamReader(in); log.debug(Arrays.asList(vc.getKeys()))...
3,227,785
ExplorerPaneManager(ExplorerPane view, DataManagerCtrl agentCtrl) { this.view = view; this.agentCtrl = agentCtrl; pNodes = new TreeMap(); initListeners(); treeLoaded = false; }
ExplorerPaneManager(ExplorerPane view, DataManagerCtrl agentCtrl) { this.view = view; this.agentCtrl = agentCtrl; pNodes = new TreeMap(); initListeners(); treeLoaded = false; }
3,227,786
private void addDatasets(List datasets, DefaultMutableTreeNode pNode, boolean isVisible) { Iterator i = datasets.iterator(); DatasetSummary ds; DefaultMutableTreeNode dNode; DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); while (i.hasNext()) { ds = (DatasetSummary) i.next(); dNode ...
private void addDatasets(List datasets, DefaultMutableTreeNode pNode, boolean isVisible) { Iterator i = datasets.iterator(); DatasetSummary ds; DefaultMutableTreeNode dNode; DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); while (i.hasNext()) { ds = (DatasetSummary) i.next(); dNode ...
3,227,787
private void addDatasetsToProject(ProjectSummary p, DefaultMutableTreeNode pNode, DefaultTreeModel treeModel) { List datasets = p.getDatasets(); Iterator dIter = datasets.iterator(); DatasetSummary ds; DefaultMutableTreeNode dNode; while (dIter.hasNext()) { ds = (DatasetSummary) dIter.next(); ...
private void addDatasetsToProject(ProjectSummary p, DefaultMutableTreeNode pNode, DefaultTreeModel treeModel) { List datasets = p.getDatasets(); Iterator dIter = datasets.iterator(); DatasetSummary ds; DefaultMutableTreeNode dNode; while (dIter.hasNext()) { ds = (DatasetSummary) dIter.next(); ...
3,227,788
private void addImagesToDataset(List images, DefaultMutableTreeNode dNode) { Iterator i = images.iterator(); ImageSummary is; DefaultMutableTreeNode iNode; DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); while (i.hasNext()) { is = (ImageSummary) i.next(); iNode = new DefaultMutableTreeNo...
private void addImagesToDataset(List images, DefaultMutableTreeNode dNode) { Iterator i = images.iterator(); ImageSummary is; DefaultMutableTreeNode iNode; DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); while (i.hasNext()) { is = (ImageSummary) i.next(); iNode = new DefaultMutableTreeNo...
3,227,789
void addNewDatasetToTree(List projects) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; Integer projectI...
void addNewDatasetToTree(List projects) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; Integer projectI...
3,227,790
void addNewProjectToTree(ProjectSummary ps) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode = new DefaultMutableTreeNode(ps); treeModel.insertNodeInto(pNode, root, root.getChildCount()); pNodes.put(new Integer(ps.getID()), pNode); List datasets = ps.getDatasets...
void addNewProjectToTree(ProjectSummary ps) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode = new DefaultMutableTreeNode(ps); treeModel.insertNodeInto(pNode, root, root.getChildCount()); pNodes.put(new Integer(ps.getID()), pNode); List datasets = ps.getDatasets...
3,227,791
private void addNodesToDatasetMaps(Integer datasetID, DefaultMutableTreeNode node, List images) { if (cDNodes == null) cDNodes = new TreeMap(); if (imagesInDataset == null) imagesInDataset = new TreeMap(); List lNodes = (List) cDNodes.get(datasetID); if (lNodes == null) lNodes = new ArrayList();...
private void addNodesToDatasetMaps(Integer datasetID, DefaultMutableTreeNode node, List images) { if (cDNodes == null) cDNodes = new TreeMap(); if (imagesInDataset == null) imagesInDataset = new TreeMap(); List lNodes = (List) cDNodes.get(datasetID); if (lNodes == null) lNodes = new ArrayList();...
3,227,792
private void datasetNodeNavigation(DatasetSummary ds, DefaultMutableTreeNode node, boolean isExpanding) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); Integer datasetID = new Integer(ds.getID()); node.removeAllChildren(); if (isExpanding) { List list = agentCtrl.getIm...
private void datasetNodeNavigation(DatasetSummary ds, DefaultMutableTreeNode node, boolean isExpanding) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); Integer datasetID = new Integer(ds.getID()); node.removeAllChildren(); if (isExpanding) { List list = agentCtrl.getIm...
3,227,793
DefaultMutableTreeNode getUserTreeModel(String name) { root = new DefaultMutableTreeNode(name+"'s OME"); DefaultMutableTreeNode childNode = new DefaultMutableTreeNode(""); DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); treeModel.insertNodeInto(childNode, root, root.getChildCount()); ...
DefaultMutableTreeNode getUserTreeModel(String name) { root = new DefaultMutableTreeNode(name+"'s OME"); DefaultMutableTreeNode childNode = new DefaultMutableTreeNode(""); DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); treeModel.insertNodeInto(childNode, root, root.getChildCount()); ...
3,227,794
private void initListeners() { view.tree.addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { onClick(e); } public void mouseReleased(MouseEvent e) { onClick(e); } }); view.tree.addTreeExpansionListener(new TreeExpansionListener() { public void treeCollapsed(TreeExpansionEvent e) { ...
private void initListeners() { view.tree.addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { onClick(e); } public void mouseReleased(MouseEvent e) { onClick(e); } }); view.tree.addTreeExpansionListener(new TreeExpansionListener() { public void treeCollapsed(TreeExpansionEvent e) { ...
3,227,795
public void treeCollapsed(TreeExpansionEvent e) { onNodeNavigation(e, false); }
public void treeCollapsed(TreeExpansionEvent e) { onNodeNavigation(e, false); }
3,227,796
public void treeExpanded(TreeExpansionEvent e) { onNodeNavigation(e, true); }
public void treeExpanded(TreeExpansionEvent e) { onNodeNavigation(e, true); }
3,227,797
private void onClick(MouseEvent e) { int selRow = view.tree.getRowForLocation(e.getX(), e.getY()); if (selRow != -1) { view.tree.setSelectionRow(selRow); DataObject target = view.getCurrentOMEObject(); if (target != null) { if (e.isPopupTrigger()) { DataManagerUIF presentation = agentCt...
private void onClick(MouseEvent e) { int selRow = view.tree.getRowForLocation(e.getX(), e.getY()); if (selRow != -1) { view.tree.setSelectionRow(selRow); DataObject target = view.getCurrentOMEObject(); if (target != null) { if (e.isPopupTrigger()) { DataManagerUIF presentation = agentCt...
3,227,798
private void onNodeNavigation(TreeExpansionEvent e, boolean isExpanding) { TreePath path = e.getPath(); DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent(); Object usrObject = node.getUserObject(); //dataset summary node if (usrObject instanceof DatasetSummary) { Dataset...
private void onNodeNavigation(TreeExpansionEvent e, boolean isExpanding) { TreePath path = e.getPath(); DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent(); Object usrObject = node.getUserObject(); //dataset summary node if (usrObject instanceof DatasetSummary) { Dataset...
3,227,799
void rebuildTree() { List pSummaries = agentCtrl.getUserProjects(); DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); root.removeAllChildren(); if (pSummaries != null) { Iterator i = pSummaries.iterator(); ProjectSummary ps; DefaultMutableTreeNode pNode; while (i.hasNext()) { ps = (P...
void rebuildTree() { List pSummaries = agentCtrl.getUserProjects(); DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); root.removeAllChildren(); if (pSummaries != null) { Iterator i = pSummaries.iterator(); ProjectSummary ps; DefaultMutableTreeNode pNode; while (i.hasNext()) { ps = (P...
3,227,800
void refreshDatasetInTree(DatasetSummary ds) { if (cDNodes == null) return; List nodes = (List) cDNodes.get(new Integer(ds.getID())); if (nodes == null) return; Iterator i = nodes.iterator(); DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMu...
void refreshDatasetInTree(DatasetSummary ds) { if (cDNodes.size() == 0) return; List nodes = (List) cDNodes.get(new Integer(ds.getID())); if (nodes == null) return; Iterator i = nodes.iterator(); DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); Defa...
3,227,801
private void setNodeVisible(DefaultMutableTreeNode child, DefaultMutableTreeNode parent) { view.tree.expandPath(new TreePath(parent.getPath())); view.tree.scrollPathToVisible(new TreePath(child.getPath())); }
private void setNodeVisible(DefaultMutableTreeNode child, DefaultMutableTreeNode parent) { view.tree.expandPath(new TreePath(parent.getPath())); view.tree.scrollPathToVisible(new TreePath(child.getPath())); }
3,227,803
void updateDatasetInTree() { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; while (j.hasNext()) { ps = (ProjectSum...
void updateDatasetInTree() { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; while (j.hasNext()) { ps = (ProjectSum...
3,227,804
void updateDatasetInTree() { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; while (j.hasNext()) { ps = (ProjectSum...
void updateDatasetInTree() { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; while (j.hasNext()) { ps = (ProjectSum...
3,227,805
void updateImageInTree(ImageSummary is) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); if (cDNodes != null) { Iterator i = cDNodes.keySet().iterator(); Iterator j; DefaultMutableTreeNode dNode; List dNodes, images; Inte...
void updateImageInTree(ImageSummary is) { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); if (cDNodes != null) { Iterator i = cDNodes.keySet().iterator(); Iterator j; DefaultMutableTreeNode dNode; List dNodes, images; Inte...
3,227,806
private void updateImagesInDataset(ImageSummary retVal) { Iterator i = imagesInDataset.keySet().iterator(); Iterator j; List images; ImageSummary is; while (i.hasNext()) { images = (List) imagesInDataset.get(i.next()); j = images.iterator(); while (j.hasNext()) { is = (ImageSummary) j.next(); if (is.g...
private void updateImagesInDataset(ImageSummary retVal) { Iterator i = imagesInDataset.keySet().iterator(); Iterator j; List images; ImageSummary is; while (i.hasNext()) { images = (List) imagesInDataset.get(i.next()); j = images.iterator(); while (j.hasNext()) { is = (ImageSummary) j.next(); if (is.g...
3,227,807
void updateProjectInTree() { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; Integer projectID; while (j.hasNext()) {...
void updateProjectInTree() { DefaultTreeModel treeModel = (DefaultTreeModel) view.tree.getModel(); DefaultMutableTreeNode pNode; List pSummaries = agentCtrl.getUserProjects(); if (pSummaries != null) { Iterator j = pSummaries.iterator(); ProjectSummary ps; Integer projectID; while (j.hasNext()) {...
3,227,808
DataObject getCurrentOMEObject() { DataObject target = null; DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); if (node != null) { Object usrObj = node.getUserObject(); if( usrObj instanceof ProjectSummary || usrObj instanceof DatasetSummary || usrOb...
DataObject getCurrentOMEObject() { DataObject target = null; DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); if (node != null) { Object usrObj = node.getUserObject(); if( usrObj instanceof ProjectSummary || usrObj instanceof DatasetSummary || usrOb...
3,227,809
TinyWindowUI(TinyWindow window, BufferedImage image) { if (window == null) throw new NullPointerException("No window."); this.window = window; titleBar = new TitleBar(window.getTitle()); canvas = new ThumbnailCanvas(image); makeBorders(); makeComponentsSize(image); ...
public TinyWindowUI(TinyWindow window, BufferedImage image) { if (window == null) throw new NullPointerException("No window."); this.window = window; titleBar = new TitleBar(window.getTitle()); canvas = new ThumbnailCanvas(image); makeBorders(); makeComponentsSize(image)...
3,227,810
void attachMouseListener(MouseListener controller) { titleBar.addMouseListener(controller); }
public void attachMouseListener(MouseListener controller) { titleBar.addMouseListener(controller); }
3,227,811
public Experimenter(Integer attributeId, String omeName, String email, String firstname, String password, String dataDir, String lastname, String institution, org.openmicroscopy.omero.model.Group group, org.openmicroscopy.omero.model.ModuleExecution moduleExecution, Set datasets, Set groupsByLeader, Set groupsByCon...
public Experimenter(Integer attributeId, String omeName, String email, String firstname, String password, String dataDir, String lastname, String institution, org.openmicroscopy.omero.model.Group group, org.openmicroscopy.omero.model.ModuleExecution moduleExecution, Set datasets, Set groupsByLeader, Set groupsByCon...
3,227,812
public org.openmicroscopy.omero.model.Group getGroup() { return this.group; }
public Group getGroup() { return this.group; }
3,227,813
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() { return this.moduleExecution; }
public ModuleExecution getModuleExecution() { return this.moduleExecution; }
3,227,814
public void setGroup(org.openmicroscopy.omero.model.Group group) { this.group = group; }
public void setGroup(Group group) { this.group = group; }
3,227,815
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
public void setModuleExecution(ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; }
3,227,816
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
3,227,817
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
3,227,818
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
3,227,819
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
private IRubyObject[] getBlockArgs(IRubyObject value, IRubyObject self, boolean yieldProc, boolean aValue, Block currentBlock) { Node blockVar = currentBlock.getVar(); if (blockVar != null) { if (blockVar instanceof ZeroArgNode) { // Better not have arguments for a no-arg blo...
3,227,820
public SourcePositionFactory() { }
public SourcePositionFactory() { }
3,227,821
public ISourcePosition getDummyPosition() { return new SourcePosition("", -1, -1, 0, 0); }
public ISourcePosition getDummyPosition() { return new SourcePosition("", -1, -1, 0, 0); }
3,227,822
public RaiseException newNameError(String message);
public RaiseException newNameError(String message);
3,227,823
public CreateDatasetEditorManager(CreateDatasetEditor view, DataManagerCtrl control, DatasetData model, List projects) { this.control = control; this.view = view; this.model = model; selectionIndex = -1; this.projects = projects; imagesToAdd = new ArrayList(); projectsToAdd = new Arra...
public CreateDatasetEditorManager(CreateDatasetEditor view, DataManagerCtrl control, DatasetData model, List projects) { this.control = control; this.view = view; this.model = model; selectionIndex = -1; this.projects = projects; imagesToAdd = new ArrayList(); projectsToAdd = new Arra...
3,227,824
public CreateDatasetEditorManager(CreateDatasetEditor view, DataManagerCtrl control, DatasetData model, List projects) { this.control = control; this.view = view; this.model = model; selectionIndex = -1; this.projects = projects; imagesToAdd = new ArrayList(); projectsToAdd = new Arra...
public CreateDatasetEditorManager(CreateDatasetEditor view, DataManagerCtrl control, DatasetData model, List projects) { this.control = control; this.view = view; this.model = model; selectionIndex = -1; this.projects = projects; imagesToAdd = new ArrayList(); projectsToAdd = new Arra...
3,227,825
public void actionPerformed(ActionEvent e) { int index = -1; try { index = Integer.parseInt(e.getActionCommand()); switch (index) { case SAVE: save(); break; case CANCEL: cancel(); break; case SELECT_PROJECT: selectProject(); break; case RESET_SELECTION_PROJECT: resetSelecti...
public void actionPerformed(ActionEvent e) { int index = -1; try { index = Integer.parseInt(e.getActionCommand()); switch (index) { case SAVE: save(); break; case CANCEL: cancel(); break; case SELECT_PROJECT: selectProject(); break; case RESET_SELECTION_PROJECT: resetSelecti...
3,227,826
private void save() { if (projectsToAdd.size() == 0) { UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Create dataset", "The dataset you wish to create must " + "be added to an existing project."); return; }...
private void save() { if (projectsToAdd.size() == 0) { UserNotifier un = agentCtrl.getRegistry().getUserNotifier(); un.notifyInfo("Create dataset", "The dataset you wish to create must " + "be added to an existing project."); return; ...
3,227,828
private void save() { if (projectsToAdd.size() == 0) { UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Create dataset", "The dataset you wish to create must " + "be added to an existing project."); return; }...
private void save() { if (projectsToAdd.size() == 0) { UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Create dataset", "The dataset you want to create must " + "be added to an existing project."); return; }...
3,227,829
private void save() { if (projectsToAdd.size() == 0) { UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Create dataset", "The dataset you wish to create must " + "be added to an existing project."); return; }...
private void save() { if (projectsToAdd.size() == 0) { UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Create dataset", "The dataset you wish to create must " + "be added to an existing project."); return; }...
3,227,830
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
3,227,831
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
3,227,832
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
3,227,833
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
private void showImages() { int selectedIndex = view.getImagesSelections().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List images = null; switch (selectedIndex) { case CreateDatasetImagesPane.IMAGES_IMPO...
3,227,834
public void testAllMethods(){ log.info( ob.allCounts() .countsFor(new Integer(1)) .noCounts() .exp(new Integer(3)) .allExps() .noLeaves() .map() ); }
public void testAllMethods(){ log.info( ob.allCounts() .countsFor(new Integer(1)) .noCounts() .exp(new Integer(3)) .allExps() .noLeaves() .map() ); }
3,227,835
public PojoOptions exp(Integer i){ options.put(EXPERIMENTER,i); return this; }
public PojoOptions exp(Long i){ options.put(EXPERIMENTER,i); return this; }
3,227,836
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); ...
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope()...
3,227,837
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); ...
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby.getRubyScope().push(); ...
3,227,838
public RubyObject setupModule(Ruby ruby, RubyModule module) { // Node node = n; String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // TMP_PROTECT; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby...
public RubyObject setupModule(Ruby ruby, RubyModule module) { // Node node = n; String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // TMP_PROTECT; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby...
3,227,839
public FindRegExCmd(HiViewer model, String regEx, int index) { if (model == null) throw new IllegalArgumentException("No model."); if (regEx == null) throw new IllegalArgumentException("No regular expression."); if (!checkIndex(index)) throw new IllegalArgume...
public FindRegExCmd(HiViewer model, Pattern pattern, int index) { if (model == null) throw new IllegalArgumentException("No model."); if (regEx == null) throw new IllegalArgumentException("No regular expression."); if (!checkIndex(index)) throw new IllegalArg...
3,227,841
public FindRegExCmd(HiViewer model, String regEx, int index) { if (model == null) throw new IllegalArgumentException("No model."); if (regEx == null) throw new IllegalArgumentException("No regular expression."); if (!checkIndex(index)) throw new IllegalArgume...
public FindRegExCmd(HiViewer model, String regEx, int index) { if (model == null) throw new IllegalArgumentException("No model."); if (regEx == null) throw new IllegalArgumentException("No regular expression."); if (!checkIndex(index)) throw new IllegalArgume...
3,227,842
public FindRegExCmd(HiViewer model, String regEx, int index) { if (model == null) throw new IllegalArgumentException("No model."); if (regEx == null) throw new IllegalArgumentException("No regular expression."); if (!checkIndex(index)) throw new IllegalArgume...
public FindRegExCmd(HiViewer model, String regEx, int index) { if (model == null) throw new IllegalArgumentException("No model."); if (regEx == null) throw new IllegalArgumentException("No regular expression."); if (!checkIndex(index)) throw new IllegalArgume...
3,227,843
public void execute() { FindRegExVisitor visitor = null; switch (index) { case IN_TITLE: visitor = new FindRegExTitleVisitor(model, regEx); break; case IN_ANNOTATION: visitor = new FindRegExAnnotationVisitor(model, regEx); ...
public void execute() { FindRegExVisitor visitor = null; switch (index) { case IN_TITLE: visitor = new FindRegExTitleVisitor(model, pattern); break; case IN_ANNOTATION: visitor = new FindRegExAnnotationVisitor(model, regEx); ...
3,227,844
public void execute() { FindRegExVisitor visitor = null; switch (index) { case IN_TITLE: visitor = new FindRegExTitleVisitor(model, regEx); break; case IN_ANNOTATION: visitor = new FindRegExAnnotationVisitor(model, regEx); ...
public void execute() { FindRegExVisitor visitor = null; switch (index) { case IN_TITLE: visitor = new FindRegExTitleVisitor(model, regEx); break; case IN_ANNOTATION: visitor = new FindRegExAnnotationVisitor(model, pattern); ...
3,227,845
public void execute() { FindRegExVisitor visitor = null; switch (index) { case IN_TITLE: visitor = new FindRegExTitleVisitor(model, regEx); break; case IN_ANNOTATION: visitor = new FindRegExAnnotationVisitor(model, regEx); ...
public void execute() { FindRegExVisitor visitor = null; switch (index) { case IN_TITLE: visitor = new FindRegExTitleVisitor(model, regEx); break; case IN_ANNOTATION: visitor = new FindRegExAnnotationVisitor(model, regEx); ...
3,227,846
public void printError(RubyException excp) { if (excp == null || excp.isNil()) { return; } RubyArray backtrace = (RubyArray) excp.funcall("backtrace"); if (backtrace.isNil()) { if (ruby.getSourceFile() != null) { getErrorStream().print(ruby.getSourceFile() + ':' + ruby.getSourceLine()); } else { getErr...
public void printError(RubyException excp) { if (excp == null || excp.isNil()) { return; } RubyArray backtrace = (RubyArray) excp.funcall("backtrace"); if (backtrace.isNil()) { if (ruby.getSourceFile() != null) { getErrorStream().print(ruby.getSourceFile() + ':' + ruby.getSourceLine()); } else { getErr...
3,227,847
public Namespace(RubyModule namespaceModule, Namespace parent) { this.namespaceModule = namespaceModule; this.parent = parent; }
public Namespace(RubyModule namespaceModule, Namespace parent) { this.namespaceModule = namespaceModule; this.parent = parent; }
3,227,848
public void setModel(ThumbnailDataModel model) { if (model == null) { this.model = model; } }
public void setModel(ThumbnailDataModel model) { if(model != null) { this.model = model; } }
3,227,849
public Object invoke(MethodInvocation arg0) throws Throwable { return new ProxyCleanupFilter().filter(null, arg0.proceed()); }
public Object invoke(MethodInvocation arg0) throws Throwable { Object result = arg0.proceed(); if (!StatefulServiceInterface.class .isAssignableFrom( arg0.getThis().getClass())) { result = new ProxyCleanupFilter().filter(null, result); } return result; }
3,227,850
protected EditorModel(TreeViewer parentModel, int editorType, DataObject hierarchyObject) { if (parentModel == null) throw new NullPointerException("No parent model."); if (editorType != Editor.CREATE_EDITOR && editorType != Editor.PROPERTIES_EDITO...
protected EditorModel(TreeViewer parentModel, int editorType, DataObject hierarchyObject) { if (parentModel == null) throw new NullPointerException("No parent model."); if (editorType != Editor.CREATE_EDITOR && editorType != Editor.PROPERTIES_EDITO...
3,227,851
public ViewCmd(TreeViewer model, DataObject hierarchyObject) { if (model == null) throw new IllegalArgumentException("No model."); this.model = model; if (hierarchyObject == null) throw new IllegalArgumentException("No hierarchyObject."); this.hierarchyObject = hierarchyOb...
public ViewCmd(TreeViewer model) { if (model == null) throw new IllegalArgumentException("No model."); this.model = model; if (hierarchyObject == null) throw new IllegalArgumentException("No hierarchyObject."); this.hierarchyObject = hierarchyObject; }
3,227,852
public ViewCmd(TreeViewer model, DataObject hierarchyObject) { if (model == null) throw new IllegalArgumentException("No model."); this.model = model; if (hierarchyObject == null) throw new IllegalArgumentException("No hierarchyObject."); this.hierarchyObject = hierarchyOb...
public ViewCmd(TreeViewer model, DataObject hierarchyObject) { if (model == null) throw new IllegalArgumentException("No model."); this.model = model; if (hierarchyObject == null) throw new IllegalArgumentException("No hierarchyObject."); this.hierarchyObject = hierarchyOb...
3,227,853
public void execute() { Browser browser = model.getSelectedBrowser(); if (browser == null) return; Object ho; if (hierarchyObject != null) ho = hierarchyObject; else { TreeImageDisplay display = browser.getSelectedDisplay(); if (display == null) return; ...
public void execute() { Browser browser = model.getSelectedBrowser(); if (browser == null) return; Object ho; if (hierarchyObject != null) ho = hierarchyObject; else { TreeImageDisplay display = browser.getSelectedDisplay(); if (display == null) return; ...
3,227,854
public void execute() { Browser browser = model.getSelectedBrowser(); if (browser == null) return; Object ho; if (hierarchyObject != null) ho = hierarchyObject; else { TreeImageDisplay display = browser.getSelectedDisplay(); if (display == null) return; ...
public void execute() { Browser browser = model.getSelectedBrowser(); if (browser == null) return; Object ho; if (hierarchyObject != null) ho = hierarchyObject; else { TreeImageDisplay display = browser.getSelectedDisplay(); if (display == null) return; ...
3,227,855
public DataObjectCreator(Editor viewer, DataObject userObject, Object parent) { super(viewer); if (userObject == null) throw new IllegalArgumentException("No object to create."); if (parent == null) throw new IllegalArgumentException("No parent."); ...
public DataObjectCreator(Editor viewer, DataObject userObject, Object parent) { super(viewer); if (userObject == null) throw new IllegalArgumentException("No object to create."); if (parent == null) throw new IllegalArgumentException("No parent."); ...
3,227,856
public List childNodes() { return Collections.EMPTY_LIST; }
public List childNodes() { return EMPTY_LIST; }
3,227,857
protected QuantumStrategy(QuantumDef qd, PixelsType pt) { windowStart = globalMin = 0.0; windowEnd = globalMax = 1.0; family = QuantumFactory.LINEAR; curveCoefficient = 1.0; if (qd == null) throw new NullPointerException("No quantum definition"); this.qDef = qd; if (pt == null) ...
protected QuantumStrategy(QuantumDef qd, PixelsType pt) { windowStart = globalMin = 0.0; windowEnd = globalMax = 1.0; family = QuantumFactory.getFamily(QuantumFactory.LINEAR); curveCoefficient = 1.0; if (qd == null) throw new NullPointerException("No quantum definition"); this.qDef = qd; ...
3,227,858
private void defineMapper(int family) { verifyFamily(family); switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.POLYNOMIAL: valueMapper = new PolynomialMap(); break; case QuantumFactory.LOGARITHMIC: valueM...
private void defineMapper(Family family) { verifyFamily(family); switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.POLYNOMIAL: valueMapper = new PolynomialMap(); break; case QuantumFactory.LOGARITHMIC: val...
3,227,859
private void defineMapper(int family) { verifyFamily(family); switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.POLYNOMIAL: valueMapper = new PolynomialMap(); break; case QuantumFactory.LOGARITHMIC: valueM...
private void defineMapper(int family) { verifyFamily(family); switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.POLYNOMIAL: valueMapper = new PolynomialMap(); break; case QuantumFactory.LOGARITHMIC: valueM...
3,227,860
private void defineMapper(int family) { verifyFamily(family); switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.POLYNOMIAL: valueMapper = new PolynomialMap(); break; case QuantumFactory.LOGARITHMIC: valueM...
private void defineMapper(int family) { verifyFamily(family); switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.POLYNOMIAL: valueMapper = new PolynomialMap(); break; case QuantumFactory.LOGARITHMIC: valueM...
3,227,861
int getFamily() { return family; }
int getFamily() { return family; }
3,227,862
public void setMapping(int family, double k, boolean noiseReduction) { defineMapper(family); this.family = family; curveCoefficient = k; this.noiseReduction = noiseReduction; }
public void setMapping(Family family, double k, boolean noiseReduction) { defineMapper(family); this.family = family; curveCoefficient = k; this.noiseReduction = noiseReduction; }
3,227,863
public void setQuantizationMap(int family, double k, boolean noiseReduction) { setMapping(family, k, noiseReduction); onWindowChange(); }
public void setQuantizationMap(Family family, double k, boolean noiseReduction) { setMapping(family, k, noiseReduction); onWindowChange(); }
3,227,864
private static void verifyFamily(int family) { switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.LOGARITHMIC: case QuantumFactory.EXPONENTIAL: case QuantumFactory.POLYNOMIAL: return; default: throw new Ill...
private static void verifyFamily(String value) { switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.LOGARITHMIC: case QuantumFactory.EXPONENTIAL: case QuantumFactory.POLYNOMIAL: return; default: throw new I...
3,227,865
private static void verifyFamily(int family) { switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.LOGARITHMIC: case QuantumFactory.EXPONENTIAL: case QuantumFactory.POLYNOMIAL: return; default: throw new Ill...
private static void verifyFamily(int family) { switch (family) { case QuantumFactory.LINEAR: case QuantumFactory.LOGARITHMIC: case QuantumFactory.EXPONENTIAL: case QuantumFactory.POLYNOMIAL: return; default: throw new Ill...
3,227,866
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PixelTypeHelper.in(type, ...
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PlaneFactory.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PixelTypeHelper.in(type, ...
3,227,867
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PixelTypeHelper.in(type, ...
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PlaneFactory.in(type, ...
3,227,868
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PixelTypeHelper.in(type, ...
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PlaneFactory.in(type, ...
3,227,869
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PixelTypeHelper.in(type, ...
private void verifyInterval(double min, double max) { boolean b = false; if (min <= max) { double range = max-min; if (PixelTypeHelper.in(type, new String[] { "int8", "uint8" })) { if (range < 0x100) b = true; } else if (PlaneFactory.in(type, ...
3,227,870
public Object saveState(FacesContext ctx) { Object values[] = new Object[2]; values[0] = super.saveState(ctx); values[1] = Boolean.valueOf(headlineAsLink); return values; }
public Object saveState(FacesContext ctx) { Object values[] = new Object[2]; values[0] = super.saveState(ctx); values[1] = Boolean.valueOf(headlineAsLink); return values; }
3,227,872
protected DataLoader createHierarchyLoader() { return new DatasetLoader(component, datasetsID); }
protected DataLoader createHierarchyLoader(boolean refresh) { return new DatasetLoader(component, datasetsID); }
3,227,874
protected DataLoader createHierarchyLoader() { return new DatasetLoader(component, datasetsID); }
protected DataLoader createHierarchyLoader() { return new DatasetLoader(component, datasetsID, refresh); }
3,227,875
final private void doRequest( HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { WebContext context = null; if (_problem != null) { init(); if (_problem != null) { try { resp.setContentType("text/html"); ...
final private void doRequest( HttpServletRequest req, HttpServletResponse resp) throws IOException { WebContext context = null; if (_problem != null) { init(); if (_problem != null) { try { resp.setContentType("text/html"); FastWriter o...
3,227,876
public void write(String s) throws IOException { this.write(s,0,s.length()); }
public void write(int b) throws IOException { this.write(s,0,s.length()); }
3,227,877
public void write(String s) throws IOException { this.write(s,0,s.length()); }
public void write(String s) throws IOException { if ((_cpos + 1) > CSIZE) cflush(); _cbuf[_cpos] = (char) b; _cpos++; }
3,227,878
public IRubyObject method1(ThreadContext context, IRubyObject self, IRubyObject[] args) { return self.getRuntime().newString("tag:yaml.org,2002:map"); }
public IRubyObject method1(ThreadContext context, IRubyObject self, IRubyObject[] args) { String className = self.getType().getName(); if("Hash".equals(className)) { return self.getRuntime().newString("tag:yaml.org,2002:map"); } else { return self.getRuntime().newString("tag:yaml.org,2002:map:" + cla...
3,227,880
public IRubyObject method9(ThreadContext context, IRubyObject self, IRubyObject[] args) { return self.getRuntime().newString("tag:yaml.org,2002:seq"); }
public IRubyObject method9(ThreadContext context, IRubyObject self, IRubyObject[] args) { String className = self.getType().getName(); if("Array".equals(className)) { return self.getRuntime().newString("tag:yaml.org,2002:seq"); } else { return self.getRuntime().newString("tag:yaml.org,2002:seq:" + cl...
3,227,881
public IRubyObject method2(ThreadContext context, IRubyObject self, IRubyObject[] args) { //yaml_load_file IRubyObject io = self.getRuntime().getClass("File").callMethod(context,"open", args[0]); self.callMethod(context,"load", io); io.callMethod(context, "close"); ...
public IRubyObject method2(ThreadContext context, IRubyObject self, IRubyObject[] args) { //yaml_load_file IRubyObject io = self.getRuntime().getClass("File").callMethod(context,"open", args[0]); self.callMethod(context,"load", io); io.callMethod(context, "close"); ...
3,227,882
public IRubyObject method2(ThreadContext context, IRubyObject self, IRubyObject[] args) { //yaml_load_file IRubyObject io = self.getRuntime().getClass("File").callMethod(context,"open", args[0]); self.callMethod(context,"load", io); io.callMethod(context, "close"); ...
public IRubyObject method2(ThreadContext context, IRubyObject self, IRubyObject[] args) { //yaml_load_file IRubyObject io = self.getRuntime().getClass("File").callMethod(context,"open", args[0]); self.callMethod(context,"load", io); io.callMethod(context, "close"); ...
3,227,883
public static QuantumStrategy getStrategy(QuantumDef qd, PixelsType type) { verifyDef(qd, type); QuantumStrategy strg = null; strg = getQuantization(qd,type); if (strg == null) throw new IllegalArgumentException("Unsupported strategy"); return strg; }
public static QuantumStrategy getStrategy(QuantumDef qd, PixelsType type) { verifyDef(qd, type); QuantumStrategy strg = null; strg = getQuantization(qd,type); if (strg == null) throw new IllegalArgumentException("Unsupported strategy"); return strg; }
3,227,885
public static QuantumStrategy getStrategy(QuantumDef qd, PixelsType type) { verifyDef(qd, type); QuantumStrategy strg = null; strg = getQuantization(qd,type); if (strg == null) throw new IllegalArgumentException("Unsupported strategy"); return strg; }
public static QuantumStrategy getStrategy(QuantumDef qd, PixelsType type) { verifyDef(qd, type); QuantumStrategy strg = null; strg = getQuantization(qd,type, iPixels); if (strg == null) throw new IllegalArgumentException("Unsupported strategy"); return strg; }
3,227,886