bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public Object invoke(MethodInvocation arg0) throws Throwable { return filter(null,arg0.proceed()); } | public Object invoke(MethodInvocation arg0) throws Throwable { return filter(null,arg0.proceed()); } | 3,234,412 |
public RubyObject aref(RubyObject[] args) { if (argCount(args, 1, 2) == 2) { int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); return substr(beg, len); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length();... | public RubyObject aref(RubyObject[] args) { if (argCount(args, 1, 2) == 2) { int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); return substr(beg, len); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length();... | 3,234,413 |
public RubyObject aref(RubyObject[] args) { if (argCount(args, 1, 2) == 2) { int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); return substr(beg, len); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length();... | public RubyObject aref(RubyObject[] args) { if (argCount(args, 1, 2) == 2) { int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); return substr(beg, len); } if (args[0] instanceof RubyFixnum) { int idx = RubyNumeric.fix2int(args[0]); if (idx < 0) { idx += getValue().length();... | 3,234,414 |
public RubyString each_byte() { byte[] lByteValue = toByteArray(); int lLength = lByteValue.length; for (int i = 0; i < lLength; i++) { ruby.yield(new RubyFixnum(ruby, lByteValue[i])); } return this; } | public RubyString each_byte() { byte[] lByteValue = toByteArray(); int lLength = lByteValue.length; for (int i = 0; i < lLength; i++) { ruby.yield(new RubyFixnum(ruby, lByteValue[i])); } return this; } | 3,234,415 |
public RubyBoolean empty() { return new RubyBoolean(getRuby(), getValue().length() == 0); } | public RubyBoolean empty() { return new RubyBoolean(getRuby(), getValue().length() == 0); } | 3,234,416 |
public RubyFixnum length() { return new RubyFixnum(getRuby(), getValue().length()); } | public RubyFixnum length() { return new RubyFixnum(getRuby(), getValue().length()); } | 3,234,417 |
protected UIComponent getMainTaskbar() { String bref = WFPage.CONTENT_BUNDLE + "."; WFTabBar tb = new WFTabBar(); tb.setMainAreaStyleClass(null); tb.setId(MAIN_TASKBAR_ID); WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WF... | protected UIComponent getMainTaskbar() { String bref = WFPage.CONTENT_BUNDLE + "."; WFTabBar tb = new WFTabBar(); tb.setMainAreaStyleClass(null); tb.setId(MAIN_TASKBAR_ID); WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WF... | 3,234,418 |
protected UIComponent getMainTaskbar() { String bref = WFPage.CONTENT_BUNDLE + "."; WFTabBar tb = new WFTabBar(); tb.setMainAreaStyleClass(null); tb.setId(MAIN_TASKBAR_ID); WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WF... | protected UIComponent getMainTaskbar() { String bref = WFPage.CONTENT_BUNDLE + "."; WFTabBar tb = new WFTabBar(); tb.setMainAreaStyleClass(null); tb.setId(MAIN_TASKBAR_ID); WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WF... | 3,234,419 |
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); String id = WFUtil.getParameter(link, "id"); WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findCompo... | public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); String id = WFUtil.getParameter(link, "id"); WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findCompo... | 3,234,420 |
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); String id = WFUtil.getParameter(link, "id"); WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findCompo... | public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); String id = WFUtil.getParameter(link, "id"); WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findCompo... | 3,234,421 |
public void setEditMode() { WFTabBar tb = (WFTabBar) findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findComponent(ArticleBlock.ARTICLE_BLOCK_ID); ab.setEditMode(); } | public void setEditMode() { WFTabBar tb = (WFTabBar) findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findComponent(ArticleBlock.ARTICLE_BLOCK_ID); ab.setEditMode(); } | 3,234,422 |
public void tabPressed(WFTabEvent e) { WFTabBar t = e.getTaskbar(); UIComponent articleVersionBlock = t.findComponent(ArticleVersionBlock.ARTICLE_VERSION_BLOCK_ID); if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { articleVersionBlock.setRendered(true); } else { articleVersionBlock.setRendere... | public void tabPressed(WFTabEvent e) { WFTabBar t = e.getTaskbar(); UIComponent articleVersionBlock = t.findComponent(ArticleVersionBlock.ARTICLE_VERSION_BLOCK_ID); if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { articleVersionBlock.setRendered(true); } else { articleVersionBlock.setRendere... | 3,234,423 |
public void tabPressed(WFTabEvent e) { WFTabBar t = e.getTaskbar(); UIComponent articleVersionBlock = t.findComponent(ArticleVersionBlock.ARTICLE_VERSION_BLOCK_ID); if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { articleVersionBlock.setRendered(true); } else { articleVersionBlock.setRendere... | public void tabPressed(WFTabEvent e) { WFTabBar t = e.getTaskbar(); UIComponent articleVersionBlock = t.findComponent(ArticleVersionBlock.ARTICLE_VERSION_BLOCK_ID); if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { articleVersionBlock.setRendered(true); } else { articleVersionBlock.setRendere... | 3,234,424 |
public static BeanDefinitionHolder createBeanDefinition(String propertyName, Set patterns, String referenceType) { RootBeanDefinition beanDefinition = new RootBeanDefinition(SingletonReference.class, 0); ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addInd... | public static BeanDefinitionHolder createBeanDefinition(String name, Set patterns, String referenceType) { RootBeanDefinition beanDefinition = new RootBeanDefinition(SingletonReference.class, 0); ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addIndexedArgu... | 3,234,425 |
public static BeanDefinitionHolder createBeanDefinition(String propertyName, Set patterns, String referenceType) { RootBeanDefinition beanDefinition = new RootBeanDefinition(SingletonReference.class, 0); ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addInd... | public static BeanDefinitionHolder createBeanDefinition(String propertyName, Set patterns, String referenceType) { RootBeanDefinition beanDefinition = new RootBeanDefinition(SingletonReference.class, 0); ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addInd... | 3,234,426 |
public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) { debug("Intercepted update."); boolean altered = false; if ( entity instanceof IObject) { IObject iobj = (IObject) entity; ... | public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types) { debug("Intercepted update."); boolean altered = false; if ( entity instanceof IObject) { IObject iobj = (IObject) entity; ... | 3,234,427 |
public boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) { debug("Intercepted save."); if ( entity instanceof IObject ) { IObject iobj = (IObject) entity; int idx = detailsIndex( propertyNames ); // New instances ... | public boolean onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) { debug("Intercepted save."); if ( entity instanceof IObject ) { IObject iobj = (IObject) entity; int idx = detailsIndex( propertyNames ); // New instances ... | 3,234,428 |
public void viewProfile(final String jid, final JComponent parent) { SwingWorker worker = new SwingWorker() { VCard userVCard = new VCard(); public Object construct() { userVCard = getVCard(jid); return vcard; } public void finished() ... | public void viewProfile(final String jid, final JComponent parent) { SwingWorker worker = new SwingWorker() { VCard userVCard = new VCard(); public Object construct() { userVCard = getVCard(jid); return vcard; } public void finished() ... | 3,234,430 |
public void finished() { if (userVCard.getError() != null) { // Show vcard not found JOptionPane.showMessageDialog(parent, "Unable to locate a profile for " + jid, "Profile Not Found", JOptionPane.ERROR_MESSAGE); return; ... | public void finished() { if (userVCard.getError() != null || userVCard == null) { // Show vcard not found JOptionPane.showMessageDialog(parent, "Unable to locate a profile for " + jid, "Profile Not Found", JOptionPane.ERROR_MESSAGE); re... | 3,234,431 |
public final Template handle(WebContext wc) throws HandlerException { String pageName = null; WikiPage wikiPage = null; // who is trying to do something? WikiUser user = getUser (wc); // which action wants to respond to this request? PageAction action = _actionManag... | public final Template handle(WebContext wc) throws HandlerException { String pageName = null; WikiPage wikiPage = null; // who is trying to do something? WikiUser user = getUser (wc); // which action wants to respond to this request? PageAction action = _actionManag... | 3,234,432 |
private void stuffContext (WebContext wc, WikiPage page, WikiUser user) { wc.put ("Wiki", _wiki); wc.put ("WikiUtil", WikiUtil.getInstance()); wc.put ("Renderer", _wiki.getPageRenderer()); wc.put ("Page", page); wc.put ("User", user); } | private void stuffContext (WebContext wc, WikiPage page, WikiUser user, String pageName) { wc.put ("Wiki", _wiki); wc.put ("WikiUtil", WikiUtil.getInstance()); wc.put ("Renderer", _wiki.getPageRenderer()); wc.put ("Page", page); wc.put ("User", user); } | 3,234,433 |
public static Set invertCGCI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); Iterator c = img.linkedCategoryIterator(); if ( ! c... | public static Set invertCGCI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); List<Category> c_list = img.linkedCategoryList(); Iterator c ... | 3,234,435 |
public static Set invertCGCI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); Iterator c = img.linkedCategoryIterator(); if ( ! c... | public static Set invertCGCI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); Iterator c = img.linkedCategoryIterator(); if ( ! c... | 3,234,436 |
public static Set invertPDI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); Iterator d = img.linkedDatasetIterator(); if ( ! d.hasNext() ) { ... | public static Set invertPDI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); List<Dataset> d_list = img.linkedDatasetList(); Iterator d = d_list.iterator(); ... | 3,234,437 |
public static Set invertPDI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); Iterator d = img.linkedDatasetIterator(); if ( ! d.hasNext() ) { ... | public static Set invertPDI(Set imagesAll) { Set cleared = new HashSet(); Set hierarchies = new HashSet(); Iterator i = imagesAll.iterator(); while (i.hasNext()) { Image img = (Image) i.next(); Iterator d = img.linkedDatasetIterator(); if ( ! d.hasNext() ) { ... | 3,234,438 |
public PixelBuffer createPixelBuffer(Pixels pixels) throws IOException { PixelBuffer pixbuf = new PixelBuffer(pixels); initPixelBuffer(pixbuf); return pixbuf; } | public PixelBuffer createPixelBuffer(Pixels pixels) throws IOException { PixelBuffer pixbuf = new PixelBuffer(getPixelsPath(pixels.getId()),pixels); initPixelBuffer(pixbuf); return pixbuf; } | 3,234,439 |
public PixelBuffer getPixelBuffer(Pixels pixels) { return new PixelBuffer(pixels); } | public PixelBuffer getPixelBuffer(Pixels pixels) { return new PixelBuffer(getPixelsPath(pixels.getId()),pixels); } | 3,234,440 |
private void initPixelBuffer(PixelBuffer pixbuf) throws IOException { String path = Helper.getPixelsPath(pixbuf.getId()); byte[] padding = new byte[pixbuf.getPlaneSize() - NULL_PLANE_SIZE]; FileOutputStream stream = new FileOutputStream(path); for (int z = 0; z < pixbuf... | private void initPixelBuffer(PixelBuffer pixbuf) throws IOException { String path = getPixelsPath(pixbuf.getId()); byte[] padding = new byte[pixbuf.getPlaneSize() - NULL_PLANE_SIZE]; FileOutputStream stream = new FileOutputStream(path); for (int z = 0; z < pixbuf.getSiz... | 3,234,441 |
public static RubyClass createFixnumClass(Ruby ruby) { RubyClass fixnumClass = ruby.defineClass("Fixnum", ruby.getClasses().getIntegerClass()); fixnumClass.includeModule(ruby.getClasses().getPrecisionModule()); fixnumClass.defineSingletonMethod("induced_from", CallbackFactory.getSingletonMethod... | fixnumClass.defineMethod("&", CallbackFactory.getMethod(RubyFixnum.class, "op_and", RubyObject.class)); fixnumClass.defineMethod("&", CallbackFactory.getMethod(RubyFixnum.class, "op_and", RubyObject.class)); fixnumClass.defineMethod("&", CallbackFactory.getMethod(RubyFixnum.class, "op_and", RubyObject.class)); fixnumCl... | 3,234,442 |
public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name == null) return; if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else... | public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name == null) return; if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else... | 3,234,443 |
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { loadScript(scriptName.getValue(), new StringReader(source.getValue()), wrap); } | public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { loadScript(scriptName.toString(), new StringReader(source.toString()), wrap); } | 3,234,444 |
public IRubyObject basename(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String name = RubyString.stringValue(args[0]).getValue(); if (name.length() > 1 && name.charAt(name.length() - 1) == '/') { name = name.substring(0, name.length() - 1); } // Paths which end in "/" or "\\" must be strip... | public IRubyObject basename(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String name = RubyString.stringValue(args[0]).toString(); if (name.length() > 1 && name.charAt(name.length() - 1) == '/') { name = name.substring(0, name.length() - 1); } // Paths which end in "/" or "\\" must be strip... | 3,234,445 |
public IRubyObject basename(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String name = RubyString.stringValue(args[0]).getValue(); if (name.length() > 1 && name.charAt(name.length() - 1) == '/') { name = name.substring(0, name.length() - 1); } // Paths which end in "/" or "\\" must be strip... | public IRubyObject basename(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String name = RubyString.stringValue(args[0]).getValue(); if (name.length() > 1 && name.charAt(name.length() - 1) == '/') { name = name.substring(0, name.length() - 1); } // Paths which end in "/" or "\\" must be strip... | 3,234,446 |
public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | 3,234,447 |
public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | 3,234,448 |
public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | 3,234,449 |
public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | public IRubyObject expand_path(IRubyObject[] args) { checkArgumentCount(args, 1, 2); String relativePath = RubyString.stringValue(args[0]).getValue(); int pathLength = relativePath.length(); if (pathLength >= 1 && relativePath.charAt(0) == '~') { // Enebo : Should ~frogger\\foo work (it doesnt i... | 3,234,450 |
private IOModes getModes(IRubyObject object) { if (object instanceof RubyString) { return new IOModes(getRuntime(), ((RubyString)object).getValue()); } else if (object instanceof RubyFixnum) { return new IOModes(getRuntime(), ((RubyFixnum)object).getLongValue()); } throw getRuntime().newTypeError("Invalid type... | private IOModes getModes(IRubyObject object) { if (object instanceof RubyString) { return new IOModes(getRuntime(), ((RubyString)object).getValue()); } else if (object instanceof RubyFixnum) { return new IOModes(getRuntime(), ((RubyFixnum)object).getLongValue()); } throw getRuntime().newTypeError("Invalid type... | 3,234,451 |
public RubyString join(IRubyObject[] args) { RubyArray argArray = getRuntime().newArray(args); RubyString str = argArray.join(RubyString.newString(getRuntime(), "/")); // create ruby string, cleaning out double dir separators RubyString fixedStr = RubyString.newString(getRuntim... | public RubyString join(IRubyObject[] args) { RubyArray argArray = getRuntime().newArray(args); RubyString str = argArray.join(RubyString.newString(getRuntime(), "/")); // create ruby string, cleaning out double dir separators RubyString fixedStr = RubyString.newString(getRuntim... | 3,234,452 |
public IRubyObject lstat(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newRubyFileStat(new NormalizedFile(name.getValue())); } | public IRubyObject lstat(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newRubyFileStat(new NormalizedFile(name.toString())); } | 3,234,453 |
public IRubyObject mtime(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newFixnum(new NormalizedFile(name.getValue()).lastModified()); } | public IRubyObject mtime(IRubyObject filename) { RubyString name = RubyString.stringValue(filename); return getRuntime().newFixnum(new NormalizedFile(name.toString()).lastModified()); } | 3,234,454 |
public IRubyObject rename(IRubyObject oldName, IRubyObject newName) { RubyString oldNameString = RubyString.stringValue(oldName); RubyString newNameString = RubyString.stringValue(newName); oldNameString.checkSafeString(); newNameString.checkSafeString(); NormalizedFile oldFile = new No... | public IRubyObject rename(IRubyObject oldName, IRubyObject newName) { RubyString oldNameString = RubyString.stringValue(oldName); RubyString newNameString = RubyString.stringValue(newName); oldNameString.checkSafeString(); newNameString.checkSafeString(); NormalizedFile oldFile = new No... | 3,234,455 |
public IRubyObject rename(IRubyObject oldName, IRubyObject newName) { RubyString oldNameString = RubyString.stringValue(oldName); RubyString newNameString = RubyString.stringValue(newName); oldNameString.checkSafeString(); newNameString.checkSafeString(); NormalizedFile oldFile = new No... | public IRubyObject rename(IRubyObject oldName, IRubyObject newName) { RubyString oldNameString = RubyString.stringValue(oldName); RubyString newNameString = RubyString.stringValue(newName); oldNameString.checkSafeString(); newNameString.checkSafeString(); NormalizedFile oldFile = new No... | 3,234,456 |
public IRubyObject rename(IRubyObject oldName, IRubyObject newName) { RubyString oldNameString = RubyString.stringValue(oldName); RubyString newNameString = RubyString.stringValue(newName); oldNameString.checkSafeString(); newNameString.checkSafeString(); NormalizedFile oldFile = new No... | public IRubyObject rename(IRubyObject oldName, IRubyObject newName) { RubyString oldNameString = RubyString.stringValue(oldName); RubyString newNameString = RubyString.stringValue(newName); oldNameString.checkSafeString(); newNameString.checkSafeString(); NormalizedFile oldFile = new No... | 3,234,457 |
public IRubyObject unlink(IRubyObject[] args) { for (int i = 0; i < args.length; i++) { RubyString filename = RubyString.stringValue(args[i]); filename.checkSafeString(); NormalizedFile lToDelete = new NormalizedFile(filename.getValue()); if (!lToDelete.exists()) { ... | public IRubyObject unlink(IRubyObject[] args) { for (int i = 0; i < args.length; i++) { RubyString filename = RubyString.stringValue(args[i]); filename.checkSafeString(); NormalizedFile lToDelete = new NormalizedFile(filename.toString()); if (!lToDelete.exists()) { ... | 3,234,458 |
public IRubyObject unlink(IRubyObject[] args) { for (int i = 0; i < args.length; i++) { RubyString filename = RubyString.stringValue(args[i]); filename.checkSafeString(); NormalizedFile lToDelete = new NormalizedFile(filename.getValue()); if (!lToDelete.exists()) { ... | public IRubyObject unlink(IRubyObject[] args) { for (int i = 0; i < args.length; i++) { RubyString filename = RubyString.stringValue(args[i]); filename.checkSafeString(); NormalizedFile lToDelete = new NormalizedFile(filename.getValue()); if (!lToDelete.exists()) { ... | 3,234,459 |
public IRubyObject utime(IRubyObject[] args) { checkArgumentCount(args, 2, -1); // Ignore access_time argument since Java does not support it. long mtime; if (args[1] instanceof RubyTime) { mtime = ((RubyTime) args[1]).getJavaDate().getTime(); } else if ... | public IRubyObject utime(IRubyObject[] args) { checkArgumentCount(args, 2, -1); // Ignore access_time argument since Java does not support it. long mtime; if (args[1] instanceof RubyTime) { mtime = ((RubyTime) args[1]).getJavaDate().getTime(); } else if ... | 3,234,460 |
public IRubyObject utime(IRubyObject[] args) { checkArgumentCount(args, 2, -1); // Ignore access_time argument since Java does not support it. long mtime; if (args[1] instanceof RubyTime) { mtime = ((RubyTime) args[1]).getJavaDate().getTime(); } else if ... | public IRubyObject utime(IRubyObject[] args) { checkArgumentCount(args, 2, -1); // Ignore access_time argument since Java does not support it. long mtime; if (args[1] instanceof RubyTime) { mtime = ((RubyTime) args[1]).getJavaDate().getTime(); } else if ... | 3,234,461 |
public static RubyString getHomeDirectoryPath(IRubyObject recv) { RubyHash hash = (RubyHash) recv.getRuntime().getObject().getConstant("ENV"); IRubyObject home = hash.aref(recv.getRuntime().newString("HOME")); if (home == null || home.isNil()) { home = hash.aref(recv.getRuntime().newString("LOGDIR")); } if ... | public static RubyString getHomeDirectoryPath(IRubyObject recv) { RubyHash hash = (RubyHash) recv.getRuntime().getObject().getConstant("ENV"); IRubyObject home = hash.aref(recv.getRuntime().newString("HOME")); if (home == null || home.isNil()) { home = hash.aref(recv.getRuntime().newString("LOGDIR")); } if ... | 3,234,462 |
public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); Ruby runtime = recv.getRuntime(); switch (args.length) { case 0 : IRubyObject defaultException = runtime.getGlobalVariables().... | public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); Ruby runtime = recv.getRuntime(); switch (args.length) { case 0 : IRubyObject defaultException = runtime.getGlobalVariables().... | 3,234,463 |
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } try { ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); int availableRows = articleI... | public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } try { ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); int availableRows = articleI... | 3,234,465 |
private void bookmarkRoom(String serviceName, Tree serviceTree) { int selectedRow = roomsTable.getSelectedRow(); if (-1 == selectedRow) { JOptionPane.showMessageDialog(dlg, Res.getString("message.select.add.room.to.add"), Res.getString("title.group.chat"), JOptionPane.INFORMATION_MESSAGE); ... | private void bookmarkRoom(String serviceName, Tree serviceTree) { int selectedRow = roomsTable.getSelectedRow(); if (-1 == selectedRow) { JOptionPane.showMessageDialog(dlg, Res.getString("message.select.add.room.to.add"), Res.getString("title.group.chat"), JOptionPane.INFORMATION_MESSAGE); ... | 3,234,466 |
public Project(Integer projectId, String view, String name, String description, org.openmicroscopy.omero.model.Group group, org.openmicroscopy.omero.model.Experimenter experimenter, Set datasets) { this.projectId = projectId; this.view = view; this.name = name; this.description = descrip... | public Project(Integer projectId, String view, String name, String description, org.openmicroscopy.omero.model.Group group, org.openmicroscopy.omero.model.Experimenter experimenter, Set datasets) { this.projectId = projectId; this.view = view; this.name = name; this.description = descrip... | 3,234,467 |
public org.openmicroscopy.omero.model.Experimenter getExperimenter() { return this.experimenter; } | public Experimenter getExperimenter() { return this.experimenter; } | 3,234,468 |
public org.openmicroscopy.omero.model.Group getGroup() { return this.group; } | public Group getGroup() { return this.group; } | 3,234,469 |
public void setExperimenter(org.openmicroscopy.omero.model.Experimenter experimenter) { this.experimenter = experimenter; } | public void setExperimenter(Experimenter experimenter) { this.experimenter = experimenter; } | 3,234,470 |
public void setGroup(org.openmicroscopy.omero.model.Group group) { this.group = group; } | public void setGroup(Group group) { this.group = group; } | 3,234,471 |
public void respondMouseClick(PInputEvent event) { Point2D pos = event.getPositionRelativeTo(this); if(prevImageShape != null) { if(prevImageShape.contains(pos)) { parentThumbnail.showPreviousImage(); setImage(thumbnailImages[parentThumbnai... | public void respondMouseClick(PInputEvent event) { Point2D pos = event.getPositionRelativeTo(this); if(prevImageShape != null) { if(prevImageShape.contains(pos)) { parentThumbnail.showPreviousImage(); setImage(thumbnailImages[parentThumbnai... | 3,234,472 |
protected int argCount(RubyObject[] args, int min, int max) { int len = args.length; if (len < min || (max > -1 && len > max)) { String msg = "Wrong number of arguments for method '" + ruby.getRubyFrame().getLastFunc() + "' in class " + getRubyClass().toName() + ". ... | protected int argCount(RubyObject[] args, int min, int max) { int len = args.length; if (len < min || (max > -1 && len > max)) { String msg = "Wrong number of arguments for method '" + ruby.getRubyFrame().getLastFunc() + "' in class " + getRubyClass().toName() + ". ... | 3,234,475 |
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | 3,234,476 |
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | 3,234,477 |
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | 3,234,478 |
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | 3,234,479 |
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | 3,234,480 |
public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | public RubyObject callSuper(RubyObject[] args) { if (ruby.getRubyFrame().getLastClass() == null) { throw new NameError(ruby, "superclass method '" + ruby.getRubyFrame().getLastFunc() + "' must be enabled by enableSuper()."); } ruby.getIter().push(); RubyObject ... | 3,234,481 |
public PrintStream getErrorStream() { return errorStream != null ? errorStream : System.err; } | public PrintStream getErrorStream() { return errorStream != null ? errorStream : System.err; } | 3,234,482 |
public InputStream getInputStream() { return inputStream != null ? inputStream : System.in; } | public InputStream getInputStream() { return inputStream != null ? inputStream : System.in; } | 3,234,483 |
public PrintStream getOutputStream() { return outputStream != null ? outputStream : System.out; } | public PrintStream getOutputStream() { return outputStream != null ? outputStream : System.out; } | 3,234,484 |
public boolean getPrintBugs() { return printBugs; } | public boolean getPrintBugs() { return printBugs; } | 3,234,485 |
public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | 3,234,486 |
public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | 3,234,487 |
public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | 3,234,488 |
public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | public void loadFile(File iFile, boolean wrap) { if (iFile == null) { throw new RuntimeException("No such file to load"); } try { StringBuffer source = new StringBuffer((int) iFile.length()); BufferedReader br = new BufferedReader(new FileReader(iFile)); String line; while ((line = br.readLine()) != null)... | 3,234,489 |
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSafeLevel() >= 4) { // Check_Type(fname, T_STRING); } else { // ... | public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSafeLevel() >= 4) { // Check_Type(fname, T_STRING); } else { // ... | 3,234,490 |
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSafeLevel() >= 4) { // Check_Type(fname, T_STRING); } else { // ... | public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSafeLevel() >= 4) { // Check_Type(fname, T_STRING); } else { // ... | 3,234,491 |
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() + ':' + r... | 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() + ':' + r... | 3,234,492 |
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() + ':' + r... | 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() + ':' + r... | 3,234,493 |
private void printErrorPos() { if (ruby.getSourceFile() != null) { if (ruby.getRubyFrame().getLastFunc() != null) { getErrorStream().print(ruby.getSourceFile() + ':' + ruby.getSourceLine()); getErrorStream().print(":in '" + ruby.getRubyFrame().getLastFunc() + '\''); } else i... | private void printErrorPos() { if (ruby.getSourceFile() != null) { if (ruby.getRubyFrame().getLastFunc() != null) { getErrorStream().print(ruby.getSourceFile() + ':' + ruby.getSourceLine()); getErrorStream().print(":in '" + ruby.getRubyFrame().getLastFunc() + '\''); } else i... | 3,234,494 |
public void setErrorStream(PrintStream errorStream) { this.errorStream = errorStream; } | public void setErrorStream(PrintStream errorStream) { this.errorStream = errorStream; } | 3,234,495 |
public void setInputStream(InputStream inputStream) { this.inputStream = inputStream; } | public void setInputStream(InputStream inputStream) { this.inputStream = inputStream; } | 3,234,496 |
public void setOutputStream(PrintStream outputStream) { this.outputStream = outputStream; } | public void setOutputStream(PrintStream outputStream) { this.outputStream = outputStream; } | 3,234,497 |
public void setPrintBugs(boolean printBugs) { this.printBugs = printBugs; } | public void setPrintBugs(boolean printBugs) { this.printBugs = printBugs; } | 3,234,498 |
public void initialize() { SparkManager.getChatManager().addChatRoomListener(this); final ContactList contactList = SparkManager.getWorkspace().getContactList(); final Action viewHistoryAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { ... | public void initialize() { SparkManager.getChatManager().addChatRoomListener(this); final ContactList contactList = SparkManager.getWorkspace().getContactList(); final Action viewHistoryAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { ... | 3,234,499 |
public void stateChanged(ChangeEvent e) { if (e.getSource() instanceof JTabbedPane) { JTabbedPane tab = (JTabbedPane) e.getSource(); Component c = tab.getSelectedComponent(); int index = tab.getSelectedIndex(); if (c instanceof DOInfo) { ... | publicvoidstateChanged(ChangeEvente){if(e.getSource()instanceofJTabbedPane){JTabbedPanetab=(JTabbedPane)e.getSource();Componentc=tab.getSelectedComponent();intindex=tab.getSelectedIndex();if(cinstanceofDOInfo){DOInfoinfo=(DOInfo)c;switch(info.getInfoType()){ caseDOInfo.INFO_TYPE: model.retrieveChannelsData(); ... | 3,234,500 |
public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile() .getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "-f"... | public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile() .getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "-f"... | 3,234,502 |
void showAnnotations() { ExperimenterData userDetails = model.getUserDetails(); if (userDetails == null) return; Map annotations = model.getAnnotations(); if (annotations == null) return; String[] owners = new String[annotations.size()]; Iterator i = annotations.keySet()... | void showAnnotations() { ExperimenterData userDetails = model.getUserDetails(); if (userDetails == null) return; Map annotations = model.getAnnotations(); if (annotations == null) return; String[] owners = new String[annotations.size()]; Iterator i = annotations.keySet()... | 3,234,503 |
void showAnnotations() { ExperimenterData userDetails = model.getUserDetails(); if (userDetails == null) return; Map annotations = model.getAnnotations(); if (annotations == null) return; String[] owners = new String[annotations.size()]; Iterator i = annotations.keySet()... | void showAnnotations() { ExperimenterData userDetails = model.getUserDetails(); if (userDetails == null) return; Map annotations = model.getAnnotations(); if (annotations == null) return; String[] owners = new String[annotations.size()]; Iterator i = annotations.keySet()... | 3,234,504 |
Set getImagesDiff(pojos.DatasetData data, Map filters, Map complexFilters) { Set imagesDiff = new HashSet(); try { imagesDiff = getImportedImages(filters, complexFilters); pojos.ImageData isg; Iterator i = imagesDiff.iterator(); Set images = data.getImages(); ... | Set getImagesDiff(pojos.DatasetData data, Map filters, Map complexFilters) { Set imagesDiff = new HashSet(); try { imagesDiff = getImportedImages(filters, complexFilters); pojos.ImageData isg; Iterator i = imagesDiff.iterator(); Set images = data.getImages(); ... | 3,234,506 |
protected void setUp() { pixels = new Pixels(); pixels.setId(1L); pixels.setSizeX(1024); pixels.setSizeY(1024); pixels.setSizeZ(64); pixels.setSizeC(3); pixels.setSizeT(50); PixelsType type = new PixelsType(); pixels.setPixelsType(typ... | protected void setUp() { pixels = new Pixels(); pixels.setId(1L); pixels.setSizeX(1024); pixels.setSizeY(1024); pixels.setSizeZ(64); pixels.setSizeC(3); pixels.setSizeT(50); PixelsType type = new PixelsType(); pixels.setPixelsType(typ... | 3,234,508 |
private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | 3,234,510 |
private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | 3,234,511 |
private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | private JPanel buildTabbedPanel(ROIAgtCtrl control, IconManager im, int sizeT, int sizeZ) { JTabbedPane tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); ResultsPer... | 3,234,512 |
public StatsResultsPane(ROIResultsMng mng, ROIStats stats, int sizeT, int sizeZ, int channel, int l, Icon up, Icon down) { manager = new StatsResultsPaneMng(this, mng, sizeT, sizeZ, stats, l); table = new StatsTable(up, down); table.initTable(manager.getDataToDisp... | public StatsResultsPane(ROIResultsMng mng, ROIStats stats, int sizeT, int sizeZ, int channel, int l, Icon up, Icon down, int roiIndex, int length) { manager = new StatsResultsPaneMng(this, mng, sizeT, sizeZ, stats, l); table = new StatsTable(up, down); table.initT... | 3,234,513 |
public StatsResultsPane(ROIResultsMng mng, ROIStats stats, int sizeT, int sizeZ, int channel, int l, Icon up, Icon down) { manager = new StatsResultsPaneMng(this, mng, sizeT, sizeZ, stats, l); table = new StatsTable(up, down); table.initTable(manager.getDataToDisp... | public StatsResultsPane(ROIResultsMng mng, ROIStats stats, int sizeT, int sizeZ, int channel, int l, Icon up, Icon down) { manager = new StatsResultsPaneMng(this, mng, sizeT, sizeZ, stats, l); table = new StatsTable(up, down); table.initTable(manager.getDataToDisp... | 3,234,514 |
public int read() throws IOException { return input.readChar(); } | public int read() throws IOException { return input.readUnsignedByte(); } | 3,234,515 |
private void attachWindowListeners() { JMenu menu = view.getWindowsMenu(); menu.addMenuListener(new MenuListener() { public void menuSelected(MenuEvent e) { createWindowsMenuItems(); } /** * Required by I/F but not actually needed in our case, ... | private void attachWindowListeners() { JMenu menu = ImViewerFactory.getWindowsMenu(); menu.addMenuListener(new MenuListener() { public void menuSelected(MenuEvent e) { createWindowsMenuItems(); } /** * Required by I/F but not actually needed in our cas... | 3,234,516 |
private void createWindowsMenuItems() { Set viewers = ImViewerFactory.getViewers(); Iterator i = viewers.iterator(); JMenu menu = view.getWindowsMenu(); menu.removeAll(); ImViewer viewer; while (i.hasNext()) { viewer = (ImViewer) i.next(); //if (!(v... | private void createWindowsMenuItems() { Set viewers = ImViewerFactory.getViewers(); Iterator i = viewers.iterator(); JMenu menu = ImViewerFactory.getWindowsMenu(); menu.removeAll(); ImViewer viewer; while (i.hasNext()) { viewer = (ImViewer) i.next(); ... | 3,234,517 |
public BeanGlobalVariable(Ruby ruby, BSFDeclaredBean bean) { super(ruby, "$" + bean.name, null); this.bean = bean; } | public BeanGlobalVariable(Ruby ruby, BSFDeclaredBean bean) { super(ruby, GlobalVariable.variableName(bean.name), null); this.bean = bean; } | 3,234,518 |
public void undeclareBean(BSFDeclaredBean bean) throws BSFException { ruby.undefineGlobalVar(bean.name); } | public void undeclareBean(BSFDeclaredBean bean) throws BSFException { ruby.undefineGlobalVar(GlobalVariable.variableName(bean.name)); } | 3,234,519 |
protected void onSetUp() throws Exception { _q = (IQuery) applicationContext.getBean("queryService"); po = new PojoOptions().exp(1L); ids = new HashSet<Integer>(Arrays.asList(new Integer[]{1,2,3,4,5,6,250,253,249,258})); m = new HashMap(); m.put("id_list",ids); m.put("exp",... | protected void onSetUp() throws Exception { _q = new ServiceFactory( (OmeroContext) applicationContext ).getQueryService(); po = new PojoOptions().exp(1L); ids = new HashSet<Integer>(Arrays.asList(new Integer[]{1,2,3,4,5,6,250,253,249,258})); m = new HashMap(); m.put("id_list",ids... | 3,234,520 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.