bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; } | public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; } | 3,228,230 |
public XMLReport(Coverage coverage, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage... | public XMLReport(Coverage coverage, File outputDir, File sourceDirectory) throws IOException { pw = new PrintWriter(new FileWriter(new File(outputDir, "coverage.xml"))); try { println("<?xml version=\"1.0\"?>"); if (sourceDirectory == null) { println("<coverage>"); } else { println("<coverage... | 3,228,231 |
public boolean isInstanceOf(Object obj, String className) { try { return (obj != null && className != null) && (obj.getClass().isAssignableFrom( context.getBroker().classForName(className))); } catch (ClassNotFoundException cnfe) { context.getBroker().getLog("... | public boolean isInstanceOf(Object obj, String className) { try { return (obj != null && className != null) && (obj.getClass().isAssignableFrom( context.getBroker().classForName(className))); } catch (ClassNotFoundException cnfe) { context.getBroker().getLog("... | 3,228,232 |
private final int jjMoveStringLiteralDfa0_3(){ switch(curChar) { case 34: return jjStopAtPos(0, 24); case 35: return jjStartNfaWithStates_3(0, 23, 0); case 36: return jjStopAtPos(0, 20); case 39: return jjStopAtPos(0, 25); case 40: return jjStopAtPos(... | private final int jjMoveStringLiteralDfa0_3(){ switch(curChar) { case 34: return jjStopAtPos(0, 24); case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_3(0x4000L); case 36: return jjStopAtPos(0, 20); case 39: return jjStopAtPos(0, 25); case 40: ... | 3,228,233 |
private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x26000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | 3,228,235 |
private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | 3,228,236 |
private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 35: jjmatchedKind = 23; return jjMoveStringLiteralDfa1_4(0x23000L); case 36: return jjStopAtPos(0, 20); case 92: return jjStartNfaWithStates_4(0, 22, 2); case 123: return jjStopAtPos(0, ... | 3,228,237 |
private final int jjMoveStringLiteralDfa1_4(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(0, active0); return 1; } switch(curChar) { case 35: if ((active0 & 0x20000L) != 0L) return jjStopAtPos(1, 17); ... | private final int jjMoveStringLiteralDfa1_4(long active0){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(0, active0); return 1; } switch(curChar) { case 35: if ((active0 & 0x20000L) != 0L) return jjStopAtPos(1, 17); ... | 3,228,239 |
private final int jjMoveStringLiteralDfa2_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(1, active0); return 2; } switch(curChar) { case 101: ... | private final int jjMoveStringLiteralDfa2_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(1, active0); return 2; } switch(curChar) { case 101: ... | 3,228,241 |
private final int jjMoveStringLiteralDfa3_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(2, active0); return 3; } switch(curChar) { case 100: ... | private final int jjMoveStringLiteralDfa3_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(2, active0); return 3; } switch(curChar) { case 100: ... | 3,228,243 |
private final int jjMoveStringLiteralDfa4_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(3, active0); return 4; } switch(curChar) { case 105: ... | private final int jjMoveStringLiteralDfa4_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(3, active0); return 4; } switch(curChar) { case 105: ... | 3,228,245 |
private final int jjMoveStringLiteralDfa5_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(4, active0); return 5; } switch(curChar) { case 110: ... | private final int jjMoveStringLiteralDfa5_4(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_4(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_4(4, active0); return 5; } switch(curChar) { case 110: ... | 3,228,246 |
private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x800000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L... | private final int jjStopStringLiteralDfa_3(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x804000L) != 0L) return 0; if ((active0 & 0x1c000000L) != 0L) { jjmatchedKind = 52; return 29; } if ((active0 & 0x3000000000L) != 0L... | 3,228,247 |
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSecurityLevel() >= 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.getSecurityLevel() >= 4) { // Check_Type(fname, T_STRING); } else { ... | 3,228,249 |
public void loadScript(RubyString scriptName, RubyString source, boolean wrap) { RubyObject self = ruby.getRubyTopSelf(); CRefNode savedCRef = ruby.getCRef(); // TMP_PROTECT; if (wrap && ruby.getSecurityLevel() >= 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.getSecurityLevel() >= 4) { // Check_Type(fname, T_STRING); } else { ... | 3,228,250 |
public CRefNode(RubyObject classValue, Node nextNode) { super(Constants.NODE_CREF, classValue, null, nextNode); } | public CRefNode(RubyObject classValue, Node nextNode) { super(Constants.NODE_CREF, classValue, null, nextNode); } | 3,228,251 |
private JMenu createManagementMenu() { JMenu managementMenu = new JMenu(); initMenuItem(managementMenu, "Manage"); IconManager im = IconManager.getInstance(); managementMenu.setIcon(im.getIcon(IconManager.TRANSPARENT)); managementMenu.add(newElement); managementMenu.add(... | private JMenu createManagementMenu() { JMenu managementMenu = new JMenu(); initMenuItem(managementMenu, "Manage"); IconManager im = IconManager.getInstance(); managementMenu.setIcon(im.getIcon(IconManager.TRANSPARENT)); managementMenu.add(newElement); managementM... | 3,228,252 |
public RubyModule remove_method(IRubyObject name) { removeMethod(name.asSymbol()); return this; } | public RubyModule remove_method(IRubyObject name) { removeMethod(name.asSymbol()); return this; } | 3,228,253 |
public void add(ICallable method, RubyModule module) { List classList = (List) mappings.get(method); if (classList == null) { classList = new ArrayList(); mappings.put(method, classList); } classList.add(module); } | public void add(ICallable method, RubyModule module) { List classList = (List) mappings.get(method); if (classList == null) { classList = new ArrayList(); mappings.put(method, classList); } classList.add(module); } | 3,228,254 |
public void add(ICallable method, RubyModule module) { List classList = (List) mappings.get(method); if (classList == null) { classList = new ArrayList(); mappings.put(method, classList); } classList.add(module); } | public void add(ICallable method, RubyModule module) { List classList = (List) mappings.get(method); if (classList == null) { classList = new ArrayList(); mappings.put(method, classList); } classList.add(module); } | 3,228,255 |
public void remove(String name, ICallable method) { List classList = (List) mappings.remove(method); // Removed method has never been used so it has not been cached if (classList == null) { return; } for(Iterator iter = classList.iterator(); iter.hasNext();) { ((RubyModule) iter.next()).removeCachedMethod... | public void remove(String name, ICallable method) { List classList = (List) mappings.remove(method); // Removed method has never been used so it has not been cached if (classList == null) { return; } for(Iterator iter = classList.iterator(); iter.hasNext();) { ((RubyModule) iter.next()).removeCachedMethod... | 3,228,256 |
public void remove(String name, ICallable method) { List classList = (List) mappings.remove(method); // Removed method has never been used so it has not been cached if (classList == null) { return; } for(Iterator iter = classList.iterator(); iter.hasNext();) { ((RubyModule) iter.next()).removeCachedMethod... | public void remove(String name, ICallable method) { List classList = (List) mappings.remove(method); // Removed method has never been used so it has not been cached if (classList == null) { return; } for(Iterator iter = classList.iterator(); iter.hasNext();) { ((RubyModule) iter.next()).removeCachedMethod... | 3,228,257 |
public IRubyObject specificEval(RubyModule mod, IRubyObject[] args) { if (getRuntime().isBlockGiven()) { if (args.length > 0) { throw new ArgumentError(getRuntime(), args.length, 0); } return yieldUnder(mod); } else { if (args.length == 0) { ... | public IRubyObject specificEval(RubyModule mod, IRubyObject[] args) { if (getRuntime().isBlockGiven()) { if (args.length > 0) { throw new ArgumentError(getRuntime(), args.length, 0); } return yieldUnder(mod); } else { if (args.length == 0) { ... | 3,228,258 |
public void activate() { switch (model.getState()) { case NEW: view.setOnScreen(); model.getSelectedBrowser().activate(); break; case DISCARDED: throw new IllegalStateException( "This method can't be invoked in... | public void activate() { switch (model.getState()) { case NEW: view.setOnScreen(); model.getSelectedBrowser().activate(); break; case DISCARDED: throw new IllegalStateException( "This method can't be invoked in... | 3,228,259 |
public void onDataObjectSave(DataObject data, int operation) { int state = model.getState(); if (operation == REMOVE_OBJECT && state != SAVE) throw new IllegalStateException("This method can only be " + "invoked in the SAVE state"); switch (state) { c... | public void onDataObjectSave(DataObject data, int operation) { int state = model.getState(); if (operation == REMOVE_OBJECT && state != SAVE) throw new IllegalStateException("This method can only be " + "invoked in the SAVE state"); switch (state) { c... | 3,228,260 |
public void onDataObjectSave(DataObject data, int operation) { int state = model.getState(); if (operation == REMOVE_OBJECT && state != SAVE) throw new IllegalStateException("This method can only be " + "invoked in the SAVE state"); switch (state) { c... | public void onDataObjectSave(DataObject data, int operation) { int state = model.getState(); if (operation == REMOVE_OBJECT && state != SAVE) throw new IllegalStateException("This method can only be " + "invoked in the SAVE state"); switch (state) { c... | 3,228,261 |
public void showProperties(DataObject object, int editorType) { switch (model.getState()) { case DISCARDED: case SAVE: throw new IllegalStateException( "This method cannot be invoked in the DISCARDED or SAVE " + "state."); }... | public void showProperties(DataObject object, int editorType) { switch (model.getState()) { case DISCARDED: case SAVE: throw new IllegalStateException( "This method cannot be invoked in the DISCARDED or SAVE " + "state."); }... | 3,228,262 |
TreeViewerWin() { super(TITLE); //IconManager icons = IconManager.getInstance(); //setIconImage(icons.getImageIcon(IconManager.MANAGER_48).getImage()); } | menuItems = new ArrayList(); menuItems = new ArrayList(); TreeViewerWin()menuItems = new ArrayList(); menuItems = new ArrayList(); {menuItems = new ArrayList(); menuItems = new ArrayList(); menuItems = new ArrayList(); menuItems = new ArrayList(); super(TITLE);menuItems = new ArrayList(); menuItems = new ArrayList(); m... | 3,228,263 |
void initialize(TreeViewerControl controller, TreeViewerModel model) { this.controller = controller; this.model = model; statusBar = new StatusBar(controller); statusBar.addPropertyChangeListener(controller); toolBar = new ToolBar(controller); //popupMenu = new PopupMenu... | voidinitialize(TreeViewerControlcontroller,TreeViewerModelmodel){this.controller=controller;this.model=model;statusBar=newStatusBar(controller);statusBar.addPropertyChangeListener(controller);toolBar=newToolBar(controller);//popupMenu=newPopupMenu(controller);loadingWin=newLoadingWindow(this);loadingWin.addPropertyChan... | 3,228,264 |
public NoteTab(final CTabFolder parent, Listener l, DisplayedNote displayedNote) { this.displayedNote = displayedNote; tabItem = new CTabItem(parent, SWT.NONE); tabItem.setText(displayedNote.getName()); tabItem.setData(this); tabItem.addDisposeListener(this); text = new Text(parent, SWT.MULTI | SWT.WRAP); text.... | public NoteTab(final CTabFolder parent, Listener l, DisplayedNote displayedNote) { this.displayedNote = displayedNote; tabItem = new CTabItem(parent, SWT.NONE); tabItem.setText(displayedNote.getName()); tabItem.setData(this); tabItem.addDisposeListener(this); text = new Text(parent, SWT.MULTI | SWT.WRAP); text.... | 3,228,265 |
public void widgetDisposed(DisposeEvent e) { text.dispose(); displayedNote.setTab(null); } | public void widgetDisposed(DisposeEvent e) { text.dispose(); displayedNote.setTab(null); } | 3,228,266 |
ImageAnnotation createImageAnnotation(String content) { ImageAnnotation newAnnotation = null; try { SemanticTypesService sts = registry.getSemanticTypesService(); newAnnotation = (ImageAnnotation) sts.createAttribute(ANNOT_I); newAnnotation.setContent(content); } catch(DSAccessException dsae) { UserN... | ImageAnnotation createImageAnnotation(String content, int imageID) { ImageAnnotation newAnnotation = null; try { SemanticTypesService sts = registry.getSemanticTypesService(); newAnnotation = (ImageAnnotation) sts.createAttribute(ANNOT_I); newAnnotation.setContent(content); } catch(DSAccessException ds... | 3,228,267 |
ImageAnnotation createImageAnnotation(String content) { ImageAnnotation newAnnotation = null; try { SemanticTypesService sts = registry.getSemanticTypesService(); newAnnotation = (ImageAnnotation) sts.createAttribute(ANNOT_I); newAnnotation.setContent(content); } catch(DSAccessException dsae) { UserN... | ImageAnnotation createImageAnnotation(String content) { ImageAnnotation newAnnotation = null; try { SemanticTypesService sts = registry.getSemanticTypesService(); newAnnotation = (ImageAnnotation) sts.createAttribute(ANNOT_I); newAnnotation.setContent(content); } catch(DSAccessException dsae) { UserN... | 3,228,268 |
public LayoutLinkData() {} | public LayoutLinkData() {} | 3,228,271 |
public void setToNode(AnalysisNodeData node) { super.setToNode(node); int sz = nodes.size(); nodes.setElementAt((LayoutNodeData) node,sz-1); } | public void setToNode(AnalysisNodeData node) { super.setToNode(node); int sz = nodes.size(); nodes.setElementAt((LayoutNodeData) node,sz-1); } | 3,228,272 |
public void setValues(IRubyObject[] values, boolean specialVarsToo) { if (specialVarsToo) { assert values.length == localValues.length; localValues = values; } else { System.arraycopy(values, 0, localValues, 2, values.length); } } | public void setValues(IRubyObject[] values, int count, boolean specialVarsToo) { if (specialVarsToo) { assert values.length == localValues.length; localValues = values; } else { System.arraycopy(values, 0, localValues, 2, values.length); } } | 3,228,273 |
public void setValues(IRubyObject[] values, boolean specialVarsToo) { if (specialVarsToo) { assert values.length == localValues.length; localValues = values; } else { System.arraycopy(values, 0, localValues, 2, values.length); } } | public void setValues(IRubyObject[] values, boolean specialVarsToo) { if (specialVarsToo) { assert values.length == localValues.length; localValues = values; } else { System.arraycopy(values, 0, localValues, 2, values.length); } } | 3,228,274 |
public void setValues(IRubyObject[] values, boolean specialVarsToo) { if (specialVarsToo) { assert values.length == localValues.length; localValues = values; } else { System.arraycopy(values, 0, localValues, 2, values.length); } } | public void setValues(IRubyObject[] values, boolean specialVarsToo) { if (specialVarsToo) { assert values.length == localValues.length; localValues = values; } else { System.arraycopy(values, 0, localValues, 2, count); } } | 3,228,275 |
public RubyObject call(Ruby ruby, RubyObject recv, String id, RubyPointer args, boolean noSuper) { if (args == null) { args = new RubyPointer(); } CRefNode savedCref = null; // +++ = null; List valueList = null; ruby.getScope().push(); CRefNode lRefValue = getRefValue(); if (lRefValue != null) { saved... | public RubyObject call(Ruby ruby, RubyObject recv, String id, RubyPointer args, boolean noSuper) { if (args == null) { args = new RubyPointer(); } CRefNode savedCref = null; // +++ = null; List valueList = null; ruby.getScope().push(); CRefNode lRefValue = getRefValue(); if (lRefValue != null) { saved... | 3,228,276 |
public RubyGlobalEntry getEntry() { return (RubyGlobalEntry)u2; } | public RubyGlobalEntry getEntry() { return (RubyGlobalEntry)u3; } | 3,228,277 |
private void buildGUI() { setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(new JLabel(PANEL_NOTE)); p.add(new JLabel(PANEL_SUBNOTE)); p.add(createToolBar()); add(UIUtilities.buildComp... | private void buildGUI() { setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); p.add(new JLabel(PANEL_NOTE)); p.add(new JLabel(PANEL_SUBNOTE)); p.add(createToolBar()); add(UIUtilities.buildComp... | 3,228,278 |
private JPanel createToolBar() { JToolBar bar = new JToolBar(); bar.setBorder(null); bar.setRollover(true); bar.setFloatable(false); bar.add(refreshButton); return UIUtilities.buildComponentPanel(bar); } | private JPanel createToolBar() { JPanel bar = new JPanel(); bar.setBorder(null); bar.setRollover(true); bar.setFloatable(false); bar.add(refreshButton); return UIUtilities.buildComponentPanel(bar); } | 3,228,279 |
private JPanel createToolBar() { JToolBar bar = new JToolBar(); bar.setBorder(null); bar.setRollover(true); bar.setFloatable(false); bar.add(refreshButton); return UIUtilities.buildComponentPanel(bar); } | private JPanel createToolBar() { JToolBar bar = new JToolBar(); bar.setBorder(null); bar.setRollover(true); bar.setFloatable(false); bar.add(refreshButton); return UIUtilities.buildComponentPanel(bar); } | 3,228,280 |
private void initComponents() { refreshButton = new JButton("Refresh"); UIUtilities.unifiedButtonLookAndFeel(refreshButton); refreshButton.setEnabled(false); refreshButton.setToolTipText( UIUtilities.formatToolTipText("Reload data.")); refreshButton.addA... | private void initComponents() { refreshButton = new JButton("Refresh"); refreshButton.setEnabled(false); refreshButton.setToolTipText( UIUtilities.formatToolTipText("Reload data.")); refreshButton.addActionListener(new ActionListener() { publ... | 3,228,281 |
private void initComponents() { titleLabel = new JLabel(getMessage(null)); titleLabelDefaultfont = titleLabel.getFont(); //TitleBar finishButton = new JButton("Finish"); finishButton.setEnabled(false); finishButton.addActionListener(new ActionListener() { publ... | private void initComponents() { titleLabel = new JLabel(getMessage(null)); titleLabelDefaultfont = titleLabel.getFont(); //TitleBar finishButton = new JButton("Save"); finishButton.setEnabled(false); finishButton.addActionListener(new ActionListener() { public... | 3,228,282 |
void createAdminActions() { try { adminActions = new AdminActions(loginHandler.getMetadataStore(), loginHandler.getUsername()); this.add(adminActions, BorderLayout.CENTER); } catch(Exception e) { statusBar.setStatusIcon("graphx/server_disconn16.png", "Not connected to Server. Cannot get iAdmin interf... | void createAdminActions() { try { adminActions = new AdminActions(loginHandler.getMetadataStore(), loginHandler.getUsername()); this.add(adminActions, BorderLayout.CENTER); } catch(Exception e) { statusBar.setStatusIcon("graphx/server_disconn16.png", "Not connected to Server. Cannot get iAdmin interf... | 3,228,284 |
void createStatusBar() { statusBar = new StatusBar(); statusBar.setStatusIcon("graphx/server_disconn16.png", "Not connected to Server. Please login for administration options."); } | void createStatusBar() { statusBar = new StatusBar(); statusBar.setStatusIcon("resources/graphx/server_disconn16.png", "Not connected to Server. Please login for administration options."); } | 3,228,285 |
public void startLogin() { statusBar.setStatusIcon("graphx/server_trying16.png", "Trying to connect."); loginHandler = new LoginHandler(this); if(loggedIn) { createAdminActions(); } window.setSize(800,500); } | public void startLogin() { statusBar.setStatusIcon("graphx/server_trying16.png", "Trying to connect."); loginHandler = new LoginHandler(this); if(loggedIn) { createAdminActions(); } window.setSize(800,500); } | 3,228,286 |
LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | 3,228,287 |
LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | LoginPanel() { //setBorder(BorderFactory.createTitledBorder("Sign In Now")); ResourceUtils.resButton(savePasswordBox, Res.getString("checkbox.save.password")); ResourceUtils.resButton(autoLoginBox, Res.getString("checkbox.auto.login")); ResourceUtils.resLabel(serverLa... | 3,228,288 |
public String getUsername() { return usernameField.getText(); } | public String getUsername() { return StringUtils.escapeNode(usernameField.getText().toLowerCase()); } | 3,228,289 |
void setChildView(Component child) { Component oldChild = getChildView(); if (oldChild != null) { //Return it to the internal desktop. singleViewDesktop.remove(oldChild); desktopPane.add(oldChild); oldChild.setBounds(childViewBounds); if (oldChild instan... | void setChildView(Component child) { Component oldChild = getChildView(); if (oldChild != null) { //Return it to the internal desktop. singleViewDesktop.remove(oldChild); desktopPane.add(oldChild); oldChild.setBounds(childViewBounds); if (oldChild instan... | 3,228,290 |
void setChildView(Component child) { Component oldChild = getChildView(); if (oldChild != null) { //Return it to the internal desktop. singleViewDesktop.remove(oldChild); desktopPane.add(oldChild); oldChild.setBounds(childViewBounds); if (oldChild instan... | void setChildView(Component child) { Component oldChild = getChildView(); if (oldChild != null) { //Return it to the internal desktop. singleViewDesktop.remove(oldChild); desktopPane.add(oldChild); oldChild.setBounds(childViewBounds); if (oldChild instan... | 3,228,291 |
void setChildView(Component child) { Component oldChild = getChildView(); if (oldChild != null) { //Return it to the internal desktop. singleViewDesktop.remove(oldChild); desktopPane.add(oldChild); oldChild.setBounds(childViewBounds); if (oldChild instan... | void setChildView(Component child) { Component oldChild = getChildView(); if (oldChild != null) { //Return it to the internal desktop. singleViewDesktop.remove(oldChild); desktopPane.add(oldChild); oldChild.setBounds(childViewBounds); if (oldChild instan... | 3,228,292 |
private void setParentSizeForMultiView(Container parent) { if (parent instanceof TinyFrame) parent.setSize(parent.getPreferredSize()); else setParentSizeForMultiView(parent.getParent()); } | private void setParentSizeForMultiView(Container parent) { if (parent instanceof TinyFrame) parent.setSize(parent.getPreferredSize()); else setParentSizeForMultiView(parent.getParent()); } | 3,228,293 |
private void setParentSizeForSingleView(Container parent) { if (parent instanceof TinyFrame) { Dimension d = ((TinyFrame) parent).getTitleBar().getPreferredSize(); Dimension dDesktop = singleViewDesktop.getPreferredSize(); parent.setSize(d.width+dDesktop.width,... | privatevoidsetParentSizeForSingleView(Containerparent){if(parentinstanceofTinyFrame){Dimensiond=((TinyFrame)parent).getTitleBar().getPreferredSize();DimensiondDesktop=singleViewDesktop.getPreferredSize();parent.setSize(d.width+dDesktop.width,d.height+dDesktop.height+4);}elsesetParentSizeForSingleView(parent.getParent()... | 3,228,294 |
private ImagesTableModel(Set imagesDiff) { images = imagesDiff.toArray(); data = new Object[images.length][2]; for (int i = 0; i < images.length; i++) { data[i][0] = (ImageData) images[i]; data[i][1] = Boolean.FALSE; } } | private ImagesTableModel(Set imagesDiff) { images = imagesDiff.toArray(); data = new Object[images.length][2]; for (int i = 0; i < images.length; i++) { data[i][0] = (ImageData) images[i]; data[i][1] = Boolean.FALSE; } } | 3,228,295 |
public void testVarAndMet() throws Exception { runtime.getLoadService().init(runtime, new ArrayList()); eval("load './test/testVariableAndMethod.rb'"); assertEquals("Hello World", eval("puts($a)")); assertEquals("dlroW olleH", eval("puts $b")); assertEquals("Hello World", eval("pu... | public void testVarAndMet() throws Exception { runtime.getLoadService().init(new ArrayList()); eval("load './test/testVariableAndMethod.rb'"); assertEquals("Hello World", eval("puts($a)")); assertEquals("dlroW olleH", eval("puts $b")); assertEquals("Hello World", eval("puts $d.rev... | 3,228,296 |
public void onDataObjectSave(List nodes) { switch (model.getState()) { case DISCARDED: case NEW: case LOADING_THUMBNAILS: return; default: break; } if ( nodes == null) { model.onDataObjectSave(); fireStateChange(); return; } view.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); Da... | publicbrowser.setSelectedDisplay(browser.getLastSelectedDisplay()); voidbrowser.setSelectedDisplay(browser.getLastSelectedDisplay()); onDataObjectSave(Listbrowser.setSelectedDisplay(browser.getLastSelectedDisplay()); nodes) { switchbrowser.setSelectedDisplay(browser.getLastSelectedDisplay()); (model.getState())browse... | 3,228,297 |
public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | 3,228,298 |
public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | 3,228,299 |
private void dumpClasses(SourceFileData sourceFileData) { Iterator it = sourceFileData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } } | private void dumpClasses(SourceFileData sourceFileData) { Iterator it = sourceFileData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } } | 3,228,300 |
private void dumpLines(ClassData classData) { dumpLines(classData.getChildren()); } | private void dumpLines(ClassData classData) { dumpLines(classData.getChildren()); } | 3,228,301 |
private void dumpPackages(ProjectData projectData) { println("<packages>"); increaseIndentation(); Iterator it = projectData.getChildren().iterator(); while (it.hasNext()) { dumpPackage((PackageData)it.next()); } decreaseIndentation(); println("</packages>"); } | private void dumpPackages(ProjectData projectData) { println("<packages>"); increaseIndentation(); Iterator it = projectData.getChildren().iterator(); while (it.hasNext()) { dumpPackage((PackageData)it.next()); } decreaseIndentation(); println("</packages>"); } | 3,228,302 |
private void dumpSourceFiles(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClasses((SourceFileData)it.next()); } decreaseIndentation(); println("</classes>"); } | private void dumpSourceFiles(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClasses((SourceFileData)it.next()); } decreaseIndentation(); println("</classes>"); } | 3,228,303 |
private void buildPresentation() { control = new RenderingAgtCtrl(this); presentation = new RenderingAgtUIF(control, registry); control.setMenuItemListener(viewItem, RenderingAgtCtrl.R_VISIBLE); viewItem.setEnabled(true); //topFrame.addToDesktop(presentation, TopFrame.PALETTE_LAYER); //presentation.setVisible(t... | private void buildPresentation() { control= new RenderingAgtCtrl(this); presentation = new RenderingAgtUIF(control, registry); control.setMenuItemListener(viewItem, RenderingAgtCtrl.R_VISIBLE); viewItem.setEnabled(true); //topFrame.addToDesktop(presentation, TopFrame.PALETTE_LAYER); //presentation.setVisible(tru... | 3,228,304 |
ChannelData[] getChannelData() { if (pxsDims == null) renderingControl.getPixelsDims(); if (channelData == null) channelData = new ChannelData[pxsDims.sizeW]; for (int i = 0; i < pxsDims.sizeW; i++) channelData[i] = new ChannelData(i, i, "Wavelenth "+i); return channelData; } | ChannelData[] getChannelData() { if (pxsDims == null) renderingControl.getPixelsDims(); if (channelData == null) channelData = new ChannelData[pxsDims.sizeW]; for (int i = 0; i < pxsDims.sizeW; i++) channelData[i] = new ChannelData(i, i, "Wavelenth "+i); return channelData; } | 3,228,305 |
PixelsStatsEntry[] getChannelStats(int w) { if (pxsDims == null) renderingControl.getPixelsDims(); if (pxsStats == null) renderingControl.getPixelsStats(); PixelsStatsEntry[] channelStats = new PixelsStatsEntry[pxsDims.sizeT]; for (int t = 0; t < pxsDims.sizeT; t++) channelStats[t] = pxsStats.getEntry(w, t); ... | PixelsStatsEntry[] getChannelStats(int w) { if (pxsDims == null) renderingControl.getPixelsDims(); if (pxsStats == null) renderingControl.getPixelsStats(); PixelsStatsEntry[] channelStats = new PixelsStatsEntry[pxsDims.sizeT]; for (int t = 0; t < pxsDims.sizeT; t++) channelStats[t] = pxsStats.getEntry(w, t); ... | 3,228,306 |
double getGlobalChannelWindowEnd(int w) { if (pxsStats == null) renderingControl.getPixelsStats(); return pxsStats.getGlobalEntry(w).globalMax; } | double getGlobalChannelWindowEnd(int w) { if (pxsStats == null) renderingControl.getPixelsStats(); return pxsStats.getGlobalEntry(w).globalMax; } | 3,228,307 |
double getGlobalChannelWindowStart(int w) { if (pxsStats == null) renderingControl.getPixelsStats(); return pxsStats.getGlobalEntry(w).globalMin; } | double getGlobalChannelWindowStart(int w) { if (pxsStats == null) renderingControl.getPixelsStats(); return pxsStats.getGlobalEntry(w).globalMin; } | 3,228,308 |
RenderingAgtCtrl(RenderingAgt abstraction) { this.abstraction = abstraction; //displayed = false; renderersPool = new HashMap(); im = IconManager.getInstance(abstraction.getRegistry()); } | RenderingAgtCtrl(RenderingAgt abstraction) { this.abstraction = abstraction; //displayed = false; renderersPool = new HashMap(); im = IconManager.getInstance(abstraction.getRegistry()); } | 3,228,310 |
RenderingAgtUIF(RenderingAgtCtrl control, Registry registry, String name) { super("Rendering "+name); this.registry = registry; this.control = control; im = IconManager.getInstance(registry); setJMenuBar(createMenuBar()); initPanes(); buildMappingPanel(); buildGUI(); pack(); } | RenderingAgtUIF(RenderingAgtCtrl control, Registry registry, String name) { super("Rendering "+name); this.registry = registry; this.control = control; im = IconManager.getInstance(registry); setJMenuBar(createMenuBar()); initPanes(); buildMappingPanel(); buildGUI(); pack(); } | 3,228,311 |
void setMenuItemListener(JMenuItem item, int id) { item.setActionCommand(""+id); item.addActionListener(this); } | void setMenuItemListener(JMenuItem item, int id) { item.setActionCommand(""+id); item.addActionListener(this); } | 3,228,312 |
final public RubyObject call(final Ruby ruby, final RubyObject receiver, final String name, RubyObject[] args, final boolean noSuper) { ruby.getScope().push(); Namespace savedNamespace = null; savedNamespace = ruby.getNamespace(); ruby.setNamespace(namespace); ruby.getCurrentFrame... | final public RubyObject call(final Ruby ruby, final RubyObject receiver, final String name, RubyObject[] args, final boolean noSuper) { ruby.getScope().push(); Namespace savedNamespace = null; savedNamespace = ruby.getNamespace(); ruby.setNamespace(namespace); ruby.getCurrentFrame... | 3,228,313 |
public int getArgsCount() { return argsCount; } | public int getArgsCount() { return arguments == null ? 0 : arguments.size(); } | 3,228,314 |
public Object call(Object recv, String method, Object[] args) throws BSFException { try { RubyObject rubyRecv = JavaUtil.convertJavaToRuby(ruby, recv); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0; i--) { rubyArgs[i] = J... | public Object call(Object recv, String method, Object[] args) throws BSFException { try { RubyObject rubyRecv = recv != null ? JavaUtil.convertJavaToRuby(ruby, recv) : ruby.getRubyTopSelf(); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0... | 3,228,315 |
public Object call(Object recv, String method, Object[] args) throws BSFException { try { RubyObject rubyRecv = JavaUtil.convertJavaToRuby(ruby, recv); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0; i--) { rubyArgs[i] = J... | public Object call(Object recv, String method, Object[] args) throws BSFException { try { RubyObject rubyRecv = JavaUtil.convertJavaToRuby(ruby, recv); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0; i--) { rubyArgs[i] = J... | 3,228,316 |
public Object call(Object recv, String method, Object[] args) throws BSFException { try { RubyObject rubyRecv = JavaUtil.convertJavaToRuby(ruby, recv); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0; i--) { rubyArgs[i] = J... | public Object call(Object recv, String method, Object[] args) throws BSFException { try { RubyObject rubyRecv = JavaUtil.convertJavaToRuby(ruby, recv); RubyObject[] rubyArgs = new RubyObject[args.length]; for (int i = args.length; i >= 0; i--) { rubyArgs[i] = J... | 3,228,317 |
public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | 3,228,319 |
public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | 3,228,320 |
public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | public org.apache.geronimo.gbean.GBeanData getGBeanData(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException{ ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory =... | 3,228,321 |
public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException { ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory ... | public org.apache.geronimo.gbean.GBeanInfo getGBeanInfo(ObjectName name) throws org.apache.geronimo.kernel.GBeanNotFoundException { ServiceFactory serviceFactory = getServiceFactory(name); if (serviceFactory instanceof GeronimoServiceFactory) { GeronimoServiceFactory geronimoServiceFactory ... | 3,228,322 |
public void loadGBean(org.apache.geronimo.gbean.GBeanData gbeanData, ClassLoader classLoader) throws org.apache.geronimo.kernel.GBeanAlreadyExistsException { ObjectName objectName = gbeanData.getName(); GBeanDefinition geronimoBeanDefinition = GeronimoUtil.createGeronimoBeanDefinition(gbeanData, class... | public void loadGBean(org.apache.geronimo.gbean.GBeanData gbeanData, ClassLoader classLoader) throws org.apache.geronimo.kernel.GBeanAlreadyExistsException { ObjectName objectName = gbeanData.getName(); GBeanDefinition geronimoBeanDefinition = GeronimoUtil.createGeronimoBeanDefinition(gbeanData, class... | 3,228,323 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 3,228,325 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 3,228,326 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 3,228,327 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 3,228,328 |
public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | public static GBeanData createGBeanData(GBeanDefinition gBeanDefinition) { GBeanData gbeanData = new GBeanData(gBeanDefinition.getObjectName(), createGBeanInfo(gBeanDefinition)); gbeanData.setAttribute("gbeanEnabled", Boolean.valueOf(gBeanDefinition.isEnabled())); // add the normal properties ... | 3,228,329 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GeronimoServiceFactory serviceFactory) { RootBeanDefinition beanDefinition = serviceFactory.getBeanDefinition(); Set persistentProperties = serviceFactory.getPersistentProperties(); // add the normal properties Set attributeInfos = new HashSet(); Propert... | 3,228,330 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = beanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Proper... | 3,228,331 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 3,228,332 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 3,228,333 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 3,228,334 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 3,228,335 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 3,228,336 |
public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | public static GBeanInfo createGBeanInfo(GBeanDefinition gBeanDefinition) { // add the normal properties Set attributeInfos = new HashSet(); PropertyValue[] properties = gBeanDefinition.getPropertyValues().getPropertyValues(); for (int i = 0; i < properties.length; i++) { Prope... | 3,228,337 |
public ImagesLoader(HiViewer viewer, Set imagesID) { super(viewer); this.imagesID = imagesID; } | public ImagesLoader(HiViewer viewer, Set imagesID, boolean refresh) { super(viewer); this.imagesID = imagesID; } | 3,228,338 |
public void handleResult(Object result) { if (viewer.getState() == HiViewer.DISCARDED) return; viewer.setHierarchyRoots((Set) result, true); } | public void handleResult(Object result) { if (viewer.getState() == HiViewer.DISCARDED) return; viewer.setHierarchyRoots((Set) result, true, refresh); } | 3,228,340 |
public void init() { // Perhaps generalize on type HOW OFTEN IS THIS USED! Each ONCE ? TODO if (!initialized) { allUsers = getAllIds("experimenters", "attribute_id"); allImgs = getAllIds("images", "image_id"); allDss = getAllIds("datasets", "dataset_id"); ... | public OMEData init() { // Perhaps generalize on type HOW OFTEN IS THIS USED! Each ONCE ? TODO if (!initialized) { allUsers = getAllIds("experimenters", "attribute_id"); allImgs = getAllIds("images", "image_id"); allDss = getAllIds("datasets", "dataset_id"); ... | 3,228,341 |
public String toString(){ return "Thumbnail"+(attributeId==null ? ":Hash"+this.hashCode() : ":"+attributeId); } | public String toString(){ return "Thumbnail"+(attributeId==null ? ":Hash_"+this.hashCode() : ":Id_"+attributeId); } | 3,228,343 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.