bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
current(){ return(ci.current());} | current(){ return(ci.current());} | 13,478 |
first(){ return(ci.first());} | first(){ return(ci.first());} | 13,479 |
first(){ return(ci.first());} | first(){ return(ci.first());} | 13,480 |
getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera... | getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera... | 13,481 |
getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera... | getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera... | 13,482 |
getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C... | getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C... | 13,483 |
getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C... | getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C... | 13,484 |
getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);} | getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);} | 13,485 |
getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);} | getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);} | 13,486 |
getBeginIndex(){ return(ci.getBeginIndex());} | getBeginIndex(){ return(ci.getBeginIndex());} | 13,487 |
getBeginIndex(){ return(ci.getBeginIndex());} | getBeginIndex(){ return(ci.getBeginIndex());} | 13,488 |
getEndIndex(){ return(ci.getEndIndex());} | getEndIndex(){ return(ci.getEndIndex());} | 13,489 |
getEndIndex(){ return(ci.getEndIndex());} | getEndIndex(){ return(ci.getEndIndex());} | 13,490 |
getIndex(){ return(ci.getIndex());} | getIndex(){ return(ci.getIndex());} | 13,491 |
getIndex(){ return(ci.getIndex());} | getIndex(){ return(ci.getIndex());} | 13,492 |
getRunLimit(){ return(getRunLimit(getAttributes().keySet()));} | getRunLimit(){ return(getRunLimit(getAttributes().keySet()));} | 13,493 |
getRunLimit(){ return(getRunLimit(getAttributes().keySet()));} | getRunLimit(){ return(getRunLimit(getAttributes().keySet()));} | 13,494 |
getRunStart(){ return(getRunStart(getAttributes().keySet()));} | getRunStart(){ return(getRunStart(getAttributes().keySet()));} | 13,495 |
getRunStart(){ return(getRunStart(getAttributes().keySet()));} | getRunStart(){ return(getRunStart(getAttributes().keySet()));} | 13,496 |
last(){ return(ci.last());} | last(){ return(ci.last());} | 13,497 |
last(){ return(ci.last());} | last(){ return(ci.last());} | 13,498 |
next(){ return(ci.next());} | next(){ return(ci.next());} | 13,499 |
next(){ return(ci.next());} | next(){ return(ci.next());} | 13,500 |
previous(){ return(ci.previous());} | previous(){ return(ci.previous());} | 13,501 |
previous(){ return(ci.previous());} | previous(){ return(ci.previous());} | 13,502 |
setIndex(int index){ return(ci.setIndex(index));} | setIndex(int index){ return(ci.setIndex(index));} | 13,503 |
setIndex(int index){ return(ci.setIndex(index));} | setIndex(int index){ return(ci.setIndex(index));} | 13,504 |
ISO_8859_1 () { super ("ISO-8859-1", new String[]{"ISO-LATIN-1"}); } | ISO_8859_1 () { /* Canonical charset name chosen according to: * http: */ super ("ISO-8859-1", new String[] { /* These names are provided by * http: */ "iso-ir-100", "ISO_8859-1", "latin1", "l1", "IBM819", "CP819", "csISOLatin1", "8859_1", /* These names are provided by * http: */ "ISO8859_1", "ISO_8859_1", "ibm-... | 13,505 |
private void markThreadStack(VmThread thread) { // For now do it stupid, but safe, just scan the whole stack. final int stackSize = thread.getStackSize(); final Object stack = helper.getStack(thread); if (stack != null) { for (int i = 0; i < stackSize; i += slotSize) { ... | private void markThreadStack(VmThread thread) { // For now do it stupid, but safe, just scan the whole stack. final int stackSize = thread.getStackSize(); final Object stack = helper.getStack(thread); if (stack != null) { for (int i = 0; i < stackSize; i += slotSize) { ... | 13,506 |
private void processChild(Object child) { final int gcColor = helper.getObjectColor(child); if (gcColor <= GC_WHITE) { // Yellow or White helper.atomicChangeObjectColor(child, gcColor, GC_GREY); try { // TEST for a valid vmclass. helper.ge... | final void processChild(Object child) { final int gcColor = helper.getObjectColor(child); if (gcColor <= GC_WHITE) { // Yellow or White helper.atomicChangeObjectColor(child, gcColor, GC_GREY); try { // TEST for a valid vmclass. helper.getV... | 13,507 |
public void postActionEvent() { ActionEvent event = new ActionEvent(this, 0, actionCommand); ActionListener[] listeners = getActionListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].actionPerformed(event); } | public void postActionEvent() { String command = actionCommand != null ? actionCommand : getText(); ActionEvent event = new ActionEvent(this, 0, command); ActionListener[] listeners = getActionListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].actionPerformed(event); ... | 13,511 |
public void setActionCommand(String command) { this.actionCommand = command; } | public void setActionCommand(String command) { actionCommand = command; } | 13,512 |
public int checkImage(Image img, int width, int height, ImageObserver o) { return toolkit.checkImage(img, width, height, o); } | public final int checkImage(Image img, int width, int height, ImageObserver o) { return toolkit.checkImage(img, width, height, o); } | 13,514 |
public void coalescePaintEvent(PaintEvent e) { //System.err.println( "coalescePaintEvent: " + e ); } | public final void coalescePaintEvent(PaintEvent e) { //System.err.println( "coalescePaintEvent: " + e ); } | 13,515 |
public void createBuffers(int x, BufferCapabilities bufferCapabilities) { } | public final void createBuffers(int x, BufferCapabilities bufferCapabilities) { } | 13,516 |
public void destroyBuffers() { } | public final void destroyBuffers() { } | 13,517 |
public void disable() { setEnabled(false); } | public final void disable() { setEnabled(false); } | 13,518 |
public void dispose() { } | publicvoiddispose(){} | 13,519 |
void fireComponentEvent(final int oldWidth, int width, final int oldHeight, int height) { if ((oldWidth != width) || (oldHeight != height)) { fireComponentEvent(ComponentEvent.COMPONENT_RESIZED); } else { fireComponentEvent(ComponentEvent.COMPONENT_MOVED); } } | final void fireComponentEvent(final int oldWidth, int width, final int oldHeight, int height) { if ((oldWidth != width) || (oldHeight != height)) { fireComponentEvent(ComponentEvent.COMPONENT_RESIZED); } else { fireComponentEvent(ComponentEvent.COMPONENT_MOVED); } } | 13,520 |
public FontMetrics getFontMetrics(Font font) { return toolkit.getFontMetrics(font); } | public final FontMetrics getFontMetrics(Font font) { return toolkit.getFontMetrics(font); } | 13,521 |
public Graphics getGraphics() { //log.debug("getGraphics"); final Component parent = ((Component)component).getParent(); if (parent != null) { final int x = jComponent.getX(); final int y = jComponent.getY(); final int width = jComponent.getWidth(); final int height... | public Graphics getGraphics() { //log.debug("getGraphics"); final Component parent = component.getParent(); if (parent != null) { final int x = jComponent.getX(); final int y = jComponent.getY(); final int width = jComponent.getWidth(); final int height = jComponent.... | 13,522 |
public GraphicsConfiguration getGraphicsConfiguration() { return toolkit.getGraphicsConfiguration(); } | public final GraphicsConfiguration getGraphicsConfiguration() { return toolkit.getGraphicsConfiguration(); } | 13,523 |
public Point getLocationOnScreen() { return computeLocationOnScreen(((Component)component)); } | public Point getLocationOnScreen() { return computeLocationOnScreen(((Component)component)); } | 13,524 |
public final void handleEvent(AWTEvent event) { final int id = event.getID(); switch (id) { case PaintEvent.PAINT: case PaintEvent.UPDATE: { processPaintEvent((PaintEvent)event); } break; default: { ((ISwingPeer<awtT>)jComponen... | public final void handleEvent(AWTEvent event) { final int id = event.getID(); switch (id) { case PaintEvent.PAINT: case PaintEvent.UPDATE: { processPaintEvent((PaintEvent)event); } break; default: { ((ISwingPeer<awtT>)jComponen... | 13,525 |
public boolean isFocusTraversable() { return jComponent.isFocusTraversable(); } | public final boolean isFocusTraversable() { return jComponent.isFocusTraversable(); } | 13,526 |
public boolean isFocusable() { return jComponent.isFocusable(); } | public final boolean isFocusable() { return jComponent.isFocusable(); } | 13,527 |
public final void paint(Graphics g) { jComponent.paint(g);// postPaintEvent(); } | publicfinalvoidpaint(Graphicsg){jComponent.paint(g);//postPaintEvent();} | 13,528 |
protected final void postPaintEvent(){ if(component != null) { eventQueue.postEvent(new PaintEvent(component, PaintEvent.PAINT, component.getBounds())); } } | protected final void postPaintEvent(){ if(component != null) { eventQueue.postEvent(new PaintEvent(component, PaintEvent.PAINT, component.getBounds())); } } | 13,529 |
public boolean prepareImage(Image img, int width, int height, ImageObserver o) { return toolkit.prepareImage(img, width, height, o); } | public final boolean prepareImage(Image img, int width, int height, ImageObserver o) { return toolkit.prepareImage(img, width, height, o); } | 13,530 |
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { SizeRequirements[] childReqs = getChildRequirements(axis); // Calculate the spans and offsets using the SizeRequirements uility // methods. SizeRequirements.calculateAlignedPositions(tar... | protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { SizeRequirements[] childReqs = getChildRequirements(axis); // Calculate the spans and offsets using the SizeRequirements uility // methods. SizeRequirements total = baselineRequirem... | 13,531 |
private void getPCFile() { String workingDir = System.getProperty("user.dir"); MyFileChooser pcFileChooser = new MyFileChooser(workingDir); int ret = pcFileChooser.showSaveDialog(new JFrame()); // check to see if something was actually chosen if (ret == JFileChooser.APPROVE_OPTION) { ... | private void getPCFile() { String workingDir = System.getProperty("user.dir"); TN5250jFileChooser pcFileChooser = new TN5250jFileChooser(workingDir); int ret = pcFileChooser.showSaveDialog(new JFrame()); // check to see if something was actually chosen if (ret == JFileChooser.APPROVE_OPTION)... | 13,532 |
private void writeToFile(String sc,File file) { FileOutputStream out = null; try { out = new FileOutputStream(file); out.write(sc.getBytes()); out.flush(); out.close(); } catch (FileNotFoundException fnfe) {System.out.println("fnfe: " + fnfe.getMessage());} ca... | private void writeToFile(String sc,File file) { FileOutputStream out = null; try { out = new FileOutputStream(file); for (int x = 0; x < sc.length(); x++) out.write(sc.charAt(x)); out.flush(); out.close(); } catch (FileNotFoundException fnfe) {System.out.println("f... | 13,533 |
public void addCellEditorListener (CellEditorListener listener) { listenerList.add (CellEditorListener.class, listener); } | public void addCellEditorListener(CellEditorListener listener) { listenerList.add (CellEditorListener.class, listener); } | 13,534 |
public void addCellEditorListener (CellEditorListener listener) { listenerList.add (CellEditorListener.class, listener); } | public void addCellEditorListener (CellEditorListener listener) { listenerList.add(CellEditorListener.class, listener); } | 13,535 |
public CellEditorListener[] getCellEditorListeners() { return (CellEditorListener[]) listenerList.getListeners (CellEditorListener.class); } | public CellEditorListener[] getCellEditorListeners() { return (CellEditorListener[]) listenerList.getListeners (CellEditorListener.class); } | 13,536 |
public void removeCellEditorListener (CellEditorListener listener) { listenerList.remove (CellEditorListener.class, listener); } | public void removeCellEditorListener(CellEditorListener listener) { listenerList.remove (CellEditorListener.class, listener); } | 13,537 |
public void removeCellEditorListener (CellEditorListener listener) { listenerList.remove (CellEditorListener.class, listener); } | public void removeCellEditorListener (CellEditorListener listener) { listenerList.remove(CellEditorListener.class, listener); } | 13,538 |
public DateEditor(JSpinner spinner) { super(spinner); init(new SimpleDateFormat()); } | public DateEditor(JSpinner spinner) { super(spinner); DateEditorFormatter nef = new DateEditorFormatter(); nef.setMinimum(getModel().getStart()); nef.setMaximum(getModel().getEnd()); ftf.setFormatterFactory(new DefaultFormatterFactory(nef)); } | 13,539 |
public SimpleDateFormat getFormat() { return dateFormat; } | public SimpleDateFormat getFormat() { DateFormatter formatter = (DateFormatter) ftf.getFormatter(); return (SimpleDateFormat) formatter.getFormat(); } | 13,540 |
public void propertyChange(PropertyChangeEvent event) { // TODO: Implement this properly. } | if (event.getSource() == ftf) { if (event.getPropertyName().equals("value")) spinner.getModel().setValue(event.getNewValue()); } if (event.getSource() == ftf) { if (event.getPropertyName().equals("value")) spinner.getModel().setValue(event.getNewValue()); } if (event.getSource() == ftf) { if (event.getPropertyName().eq... | 13,542 |
public void stateChanged(ChangeEvent event) { // TODO: Implement this properly. } | ftf.setValue(spinner.getValue()); ftf.setValue(spinner.getValue()); ftf.setValue(spinner.getValue()); ftf.setValue(spinner.getValue()); publicftf.setValue(spinner.getValue()); voidftf.setValue(spinner.getValue()); stateChanged(ChangeEventftf.setValue(spinner.getValue()); event)ftf.setValue(spinner.getValue()); ftf.setV... | 13,543 |
public DecimalFormat getFormat() { return null; } | public DecimalFormat getFormat() { NumberFormatter formatter = (NumberFormatter) ftf.getFormatter(); return (DecimalFormat) formatter.getFormat(); } | 13,545 |
public void setEditor(JComponent editor) { if (editor == null) throw new IllegalArgumentException("editor may not be null"); if (this.editor instanceof DefaultEditor) ((DefaultEditor) editor).dismiss(this); else if (this.editor instanceof ChangeListener) removeChangeListener((ChangeListener) ... | public void setEditor(JComponent editor) { if (editor == null) throw new IllegalArgumentException("editor may not be null"); if (this.editor instanceof DefaultEditor) ((DefaultEditor) editor).dismiss(this); else if (this.editor instanceof ChangeListener) removeChangeListener((ChangeListener) ... | 13,547 |
public void setModel(SpinnerModel newModel) { if (newModel == null) throw new IllegalArgumentException(); if (model == newModel) return; SpinnerModel oldModel = model; model = newModel; firePropertyChange("model", oldModel, newModel); if (editor == null) setEditor(createEditor(mo... | public void setModel(SpinnerModel newModel) { if (newModel == null) throw new IllegalArgumentException(); if (model == newModel) return; SpinnerModel oldModel = model; model = newModel; firePropertyChange("model", oldModel, newModel); setEditor(createEditor(model)); } | 13,549 |
public synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { vgaIO.setGRAF(0, convertColor(color)); vgaIO.setGRAF(3, (mode == PAINT_MODE) ? LOGOP_NONE : LOGOP_XOR); draw(shape, tx, 0, mode); } | public synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { vgaIO.setGRAF(0, convertColor(color)); vgaIO.setGRAF(3, (mode == PAINT_MODE) ? LOGOP_NONE : LOGOP_XOR); draw(shape, tx, 0, mode); } | 13,550 |
public synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { vgaIO.setGRAF(0, convertColor(color)); vgaIO.setGRAF(3, (mode == PAINT_MODE) ? LOGOP_NONE : LOGOP_XOR); draw(shape, tx, 0, mode); } | public synchronized void draw(Shape shape, AffineTransform tx, Color color, int mode) { vgaIO.setGRAF(0, convertColor(color)); vgaIO.setGRAF(3, (mode == PAINT_MODE) ? LOGOP_NONE : LOGOP_XOR); draw(shape, tx, 0, mode); } | 13,551 |
private void doExpandParents(TreePath path, boolean state) { TreePath parent = path.getParentPath(); if (isExpanded(parent)) { nodeStates.put(path, state ? EXPANDED : COLLAPSED); return; } if (parent != null) doExpandParents(parent, false); nodeStates.put(path, state ? EXPANDED : COLLAP... | privatevoiddoExpandParents(TreePathpath,booleanstate){TreePathparent=path.getParentPath();if(isExpanded(parent)) { nodeStates.put(path,state?EXPANDED:COLLAPSED);return; }if(parent!=null)doExpandParents(parent,false);nodeStates.put(path,state?EXPANDED:COLLAPSED);} | 13,552 |
protected void setExpandedState(TreePath path, boolean state) { if (path == null) return; TreePath parent = path.getParentPath(); try { if (parent != null) checkExpandParents(parent); } catch (ExpandVetoException e) { // Expansion vetoed. return; } doExpandParents(path, st... | protected void setExpandedState(TreePath path, boolean state) { if (path == null) return; TreePath parent = path.getParentPath(); try { if (parent != null) checkExpandParents(parent); } catch (ExpandVetoException e) { // Expansion vetoed. return; } doExpandParents(path, st... | 13,553 |
public void setModel(TreeModel model) { if (treeModel == model) return; TreeModel oldValue = treeModel; treeModel = model; firePropertyChange(TREE_MODEL_PROPERTY, oldValue, model); // add treeModelListener to the new model if (treeModelListener == null) treeModelListener = createTreeModel... | public void setModel(TreeModel model) { if (treeModel == model) return; TreeModel oldValue = treeModel; treeModel = model; firePropertyChange(TREE_MODEL_PROPERTY, oldValue, model); // add treeModelListener to the new model if (treeModelListener == null) treeModelListener = createTreeModel... | 13,554 |
public Dimension getMaximumSize(JComponent c) { return maxSize; } | public Dimension getMaximumSize(JComponent c) { return new Dimension(Short.MAX_VALUE, Short.MAX_VALUE); } | 13,555 |
public Dimension getMinimumSize(JComponent c) { return minSize; } | public Dimension getMinimumSize(JComponent c) { return new Dimension(0, 0); } | 13,556 |
public Dimension getPreferredSize(JComponent c) { Dimension pref = verticalPrefSize; if (c instanceof JSeparator) { JSeparator s = (JSeparator) c; if (s.getOrientation() == JSeparator.HORIZONTAL) pref = horizontalPrefSize; } return pref; } | public Dimension getPreferredSize(JComponent c) { Dimension pref = new Dimension(2, 0); if (c instanceof JSeparator) { JSeparator s = (JSeparator) c; if (s.getOrientation() == JSeparator.HORIZONTAL) pref = horizontalPrefSize; } return pref; } | 13,557 |
public Dimension getPreferredSize(JComponent c) { Dimension pref = verticalPrefSize; if (c instanceof JSeparator) { JSeparator s = (JSeparator) c; if (s.getOrientation() == JSeparator.HORIZONTAL) pref = horizontalPrefSize; } return pref; } | public Dimension getPreferredSize(JComponent c) { Dimension pref = verticalPrefSize; if (c instanceof JSeparator) { JSeparator s = (JSeparator) c; if (s.getOrientation() == JSeparator.HORIZONTAL) pref = new Dimension(0, 2); } return pref; } | 13,558 |
private void loadConfigurationResource() { sesProps = new Properties(); try { FileInputStream in = new FileInputStream(settingsDirectory() + getConfigurationResource()); sesProps.load(in); if (sesProps.size() == 0) loadDefaults(); } catch (IOException ioe) { ... | private void loadConfigurationResource() { sesProps = new Properties(); try { FileInputStream in = new FileInputStream(settingsDirectory() + getConfigurationResource()); sesProps.load(in); if (sesProps.size() == 0) loadDefaults(); } catch (IOException ioe) { ... | 13,559 |
private void loadConfigurationResource() { sesProps = new Properties(); try { FileInputStream in = new FileInputStream(settingsDirectory() + getConfigurationResource()); sesProps.load(in); if (sesProps.size() == 0) loadDefaults(); } catch (IOException ioe) { ... | private void loadConfigurationResource() { sesProps = new Properties(); try { FileInputStream in = new FileInputStream(settingsDirectory() + getConfigurationResource()); sesProps.load(in); if (sesProps.size() == 0) loadDefaults(); } catch (IOException ioe) { ... | 13,560 |
private void loadConfigurationResource() { sesProps = new Properties(); try { FileInputStream in = new FileInputStream(settingsDirectory() + getConfigurationResource()); sesProps.load(in); if (sesProps.size() == 0) loadDefaults(); } catch (IOException ioe) { ... | privatevoidloadConfigurationResource(){sesProps=newProperties();try{FileInputStreamin=newFileInputStream(settingsDirectory()+getConfigurationResource());sesProps.load(in);if(sesProps.size()==0)loadDefaults();}catch(IOExceptionioe){System.out.println("InformationMessage:Propertiesfileisbeing"+"createdforfirsttimeuse:Fil... | 13,561 |
private String settingsDirectory() { if (System.getProperties().containsKey("emulator.settingsDirectory")) { return System.getProperty("emulator.settingsDirectory") + File.separator; } else { return System.getProperty("user.home") + File.separator + ".tn525... | private String settingsDirectory() { if (System.getProperties().containsKey("emulator.settingsDirectory")) { return System.getProperty("emulator.settingsDirectory") + File.separator; } else { return System.getProperty("user.home") + File.separator + ".tn525... | 13,562 |
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | 13,563 |
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | 13,564 |
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | 13,565 |
static public void main(String[] args) { if (isSpecified("-MDI",args)) { useMDIFrames = true; } if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap de... | static public void main(String[] args) { if (isSpecified("-MDI",args)) { useMDIFrames = true; } if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap de... | 13,567 |
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | 13,568 |
synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | 13,569 |
public OutputStream _invoke(String method, InputStream in, ResponseHandler rh) { OutputStream out = null; Integer call_method = (Integer) _NamingContextImplBase.methods.get(method); if (call_method == null) throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); switch (call_method.intValue())... | public OutputStream _invoke(String method, InputStream in, ResponseHandler rh) { OutputStream out = null; Integer call_method = (Integer) _NamingContextImplBase.methods.get(method); if (call_method == null) throw new BAD_OPERATION(Minor.Method, CompletionStatus.COMPLETED_MAYBE); switch (call_method.... | 13,570 |
public synchronized void registerFileSystem(FileSystem fs) { filesystems.put(fs.getDevice(), fs); } | public synchronized void registerFileSystem(FileSystem fs) { filesystems.put(fs.getDevice(), fs); } | 13,571 |
public synchronized FileSystem unregisterFileSystem(Device device) { return filesystems.remove(device); } | publicsynchronizedFileSystemunregisterFileSystem(Devicedevice){ returnfilesystems.remove(device); } | 13,572 |
protected String paramString() { return "JMenuBar"; } | protected String paramString() { StringBuffer sb = new StringBuffer(); sb.append(super.paramString()); sb.append(",margin="); if (getMargin() != null) sb.append(getMargin()); sb.append(",paintBorder=").append(isBorderPainted()); return sb.toString(); } | 13,573 |
public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } } | public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } } | 13,574 |
public void setMargin(Insets m) { if (m.equals(this.margin)) { Insets oldMargin = this.margin; this.margin = m; firePropertyChange(MARGIN_CHANGED_PROPERTY, oldMargin, margin); } this.margin = m; } | public void setMargin(Insets m) { if (m != margin) { Insets oldMargin = this.margin; this.margin = m; firePropertyChange(MARGIN_CHANGED_PROPERTY, oldMargin, margin); } this.margin = m; } | 13,575 |
public void setMargin(Insets m) { if (m.equals(this.margin)) { Insets oldMargin = this.margin; this.margin = m; firePropertyChange(MARGIN_CHANGED_PROPERTY, oldMargin, margin); } this.margin = m; } | public void setMargin(Insets m) { if (m.equals(this.margin)) { Insets oldMargin = this.margin; this.margin = m; firePropertyChange(MARGIN_CHANGED_PROPERTY, oldMargin, margin); } this.margin = m; } | 13,576 |
public void setMargin(Insets m) { if (m.equals(this.margin)) { Insets oldMargin = this.margin; this.margin = m; firePropertyChange(MARGIN_CHANGED_PROPERTY, oldMargin, margin); } this.margin = m; } | public void setMargin(Insets m) { if (m.equals(this.margin)) { Insets oldMargin = this.margin; this.margin = m; firePropertyChange(MARGIN_CHANGED_PROPERTY, oldMargin, margin); } } | 13,577 |
public void setSelectionModel(SingleSelectionModel model) { selectionModel = model; if (selectionModel != model) { SingleSelectionModel oldModel = selectionModel; selectionModel = model; firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, this.selectionModel); } } | public void setSelectionModel(SingleSelectionModel model) { if (selectionModel != model) { SingleSelectionModel oldModel = selectionModel; selectionModel = model; firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, this.selectionModel); } } | 13,578 |
public void setSelectionModel(SingleSelectionModel model) { selectionModel = model; if (selectionModel != model) { SingleSelectionModel oldModel = selectionModel; selectionModel = model; firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, this.selectionModel); } } | publicvoidsetSelectionModel(SingleSelectionModelmodel){selectionModel=model;if(selectionModel!=model){ SingleSelectionModeloldModel=selectionModel; selectionModel=model; firePropertyChange(MODEL_CHANGED_PROPERTY,oldModel, this.selectionModel);}} | 13,579 |
public void setSelectionModel(SingleSelectionModel model) { selectionModel = model; if (selectionModel != model) { SingleSelectionModel oldModel = selectionModel; selectionModel = model; firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, this.selectionModel); } } | public void setSelectionModel(SingleSelectionModel model) { selectionModel = model; if (selectionModel != model) { SingleSelectionModel oldModel = selectionModel; selectionModel = model; firePropertyChange(MODEL_CHANGED_PROPERTY, oldModel, this.selectionModel); } } | 13,580 |
ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | public ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : exte... | 13,581 |
ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | 13,582 |
ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | 13,583 |
ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | 13,584 |
ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | 13,585 |
ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | ArcIterator(Arc2D a, AffineTransform xform) { this.xform = xform; x = a.getX(); y = a.getY(); w = a.getWidth(); h = a.getHeight(); start = a.getAngleStart() * (Math.PI / 180); extent = a.getAngleExtent() * (Math.PI / 180); type = a.type; double e = extent < 0 ? -extent : extent; i... | 13,586 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.