bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void addTreeSelectionListener(TreeSelectionListener x);
public void addTreeSelectionListener(TreeSelectionListener x);
33,088
public void clearSelection();
public void clearSelection();
33,089
public TreePath getLeadSelectionPath();
public TreePath getLeadSelectionPath();
33,090
public int getLeadSelectionRow();
public int getLeadSelectionRow();
33,091
public int getMaxSelectionRow();
public int getMaxSelectionRow();
33,092
public int getMinSelectionRow();
public int getMinSelectionRow();
33,093
public RowMapper getRowMapper();
public RowMapper getRowMapper();
33,094
public int getSelectionCount();
public int getSelectionCount();
33,095
public int getSelectionMode();
public int getSelectionMode();
33,096
public TreePath getSelectionPath();
public TreePath getSelectionPath();
33,097
public TreePath[] getSelectionPaths();
public TreePath[] getSelectionPaths();
33,098
public int[] getSelectionRows();
public int[] getSelectionRows();
33,099
public boolean isPathSelected(TreePath path);
public boolean isPathSelected(TreePath path);
33,100
public boolean isRowSelected(int row);
public boolean isRowSelected(int row);
33,101
public boolean isSelectionEmpty();
public boolean isSelectionEmpty();
33,102
public void removePropertyChangeListener(PropertyChangeListener listener);
public void removePropertyChangeListener(PropertyChangeListener listener);
33,103
public void removeSelectionPath(TreePath path);
public void removeSelectionPath(TreePath path);
33,104
public void removeSelectionPaths(TreePath[] paths);
public void removeSelectionPaths(TreePath[] paths);
33,105
public void removeTreeSelectionListener(TreeSelectionListener x);
public void removeTreeSelectionListener(TreeSelectionListener x);
33,106
public void resetRowSelection();
public void resetRowSelection();
33,107
public void setRowMapper(RowMapper newMapper);
public void setRowMapper(RowMapper newMapper);
33,108
public void setSelectionMode(int mode);
public void setSelectionMode(int mode);
33,109
public void setSelectionPath(TreePath path);
public void setSelectionPath(TreePath path);
33,110
public void setSelectionPaths(TreePath[] paths);
public void setSelectionPaths(TreePath[] paths);
33,111
public BasicToolBarUI(JToolBar b) { super(); }
public BasicToolBarUI() { super(); }
33,112
public static ComponentUI createUI(JComponent c) { return new BasicToolBarUI((JToolBar) c); }
public static ComponentUI createUI(JComponent c) { return new BasicToolBarUI(); }
33,113
private void postEvent(int id, int button) { JNodeToolkit tk = (JNodeToolkit) JNodeToolkit.getDefaultToolkit(); Component source = tk.getTop().getComponentAt(x, y); if( source == null) source = tk.getTop(); //TODO full support for modifiers MouseEvent me = new MouseEvent(source, i...
private void postEvent(int id, int button) { RawJNodeToolkit tk = (RawJNodeToolkit) RawJNodeToolkit.getDefaultToolkit(); Component source = tk.getTop().getComponentAt(x, y); if( source == null) source = tk.getTop(); //TODO full support for modifiers MouseEvent me = new MouseEvent(...
33,114
ColorRaster(ColorModel cm,int x, int y, int width, int height, int rgbPixel) { super(cm.createCompatibleSampleModel(width,height),new Point(x,y)); Object pixel = cm.getDataElements(rgbPixel,null); getSampleModel().setDataElements(0, 0, width, height, ...
ColorRaster(ColorModel cm,int x, int y, int width, int height, int rgbPixel) { super(cm.createCompatibleSampleModel(width,height),new Point(x,y)); Object pixel = cm.getDataElements(rgbPixel,null); getSampleModel().setDataElements(0, 0, width, height, ...
33,115
ColorPaintContext(ColorModel cm,int colorRGB) { color = colorRGB; colorModel = cm; }
ColorPaintContext(int colorRGB) { color = colorRGB; colorModel = cm; }
33,116
ColorPaintContext(ColorModel cm,int colorRGB) { color = colorRGB; colorModel = cm; }
ColorPaintContext(ColorModel cm,int colorRGB) { color = colorRGB; colorModel = cm; }
33,117
public Accessible getAccessibleChild(int i) { return null; }
public Accessible getAccessibleChild(int i) { Accessible child = null; if (i >= 0 && i < tabs.size()) child = (Page) tabs.get(i); return child; }
33,118
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this instance simultanously. Rectangle insid...
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this...
33,119
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this instance simultanously. Rectangle insid...
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this instance simultanously. Rectangle insid...
33,120
public int getViewCount() { return children.length; }
public int getViewCount() { return numChildren; }
33,121
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { boolean backward = bias == Position.Bias.Backward; int testpos = backward ? Math.max(0, pos - 1) : pos; Shape ret = null; if (! backward || testpos >= getStartOffset()) { int childIndex = get...
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { boolean backward = bias == Position.Bias.Backward; int testpos = backward ? Math.max(0, pos - 1) : pos; Shape ret = null; if (! backward || testpos >= getStartOffset()) { int childIndex = get...
33,123
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { boolean backward = bias == Position.Bias.Backward; int testpos = backward ? Math.max(0, pos - 1) : pos; Shape ret = null; if (! backward || testpos >= getStartOffset()) { int childIndex = get...
public Shape modelToView(int pos, Shape a, Position.Bias bias) throws BadLocationException { boolean backward = bias == Position.Bias.Backward; int testpos = backward ? Math.max(0, pos - 1) : pos; Shape ret = null; if (! backward || testpos >= getStartOffset()) { int childIndex = get...
33,124
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
33,125
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
public void replace(int offset, int length, View[] views){// Make sure we have an array. The Harmony testsuite indicates that we// have to do something like this.if (views == null)views = new View[0];// Check for null views to add.for (int i = 0; i < views.length; ++i)if (views[i] == null)throw new NullPointerException...
33,126
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
33,127
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
public void replace(int offset, int length, View[] views) { // Make sure we have an array. The Harmony testsuite indicates that we // have to do something like this. if (views == null) views = new View[0]; // Check for null views to add. for (int i = 0; i < views.length; ++i) if (views[i] ==...
33,128
public void setParent(View parent) { super.setParent(parent); if (parent != null && ((children == null) || children.length == 0)) loadChildren(getViewFactory()); }
public void setParent(View parent) { super.setParent(parent); if (parent != null && numChildren == 0) loadChildren(getViewFactory()); }
33,130
public AbstractAction() { this(null); }
public AbstractAction() { }
33,131
public void putValue(String key, Object value) { Object old = getValue(key); if (old == null || !old.equals(value)) { store.put(key, value); firePropertyChange(key, old, value); } }
public void putValue(String key, Object value) { Object old = getValue(key); if ((old == null && value != null) || (old != null && !old.equals(value))) { store.put(key, value); firePropertyChange(key, old, value); } }
33,132
PrinterJob(){ ;}
PrinterJob(){ ;}
33,133
cancel();
cancel();
33,134
defaultPage(){ return(new PageFormat());}
defaultPage(){ return(new PageFormat());}
33,135
getCopies();
getCopies();
33,136
getJobName();
getJobName();
33,137
getPrinterJob(){ // FIXME: Need to fix this to load a default implementation instance. return(null);}
getPrinterJob(){ // FIXME: Need to fix this to load a default implementation instance. return(null);}
33,138
getPrinterJob(){ // FIXME: Need to fix this to load a default implementation instance. return(null);}
getPrinterJob(){ // FIXME: Need to fix this to load a default implementation instance. return(null);}
33,139
getUserName();
getUserName();
33,140
isCancelled();
isCancelled();
33,141
pageDialog(PageFormat page_format);
pageDialog(PageFormat page_format);
33,142
printDialog();
printDialog();
33,143
public abstract void setCopies (int copies);
public abstract void setCopies (int copies);
33,144
public abstract void setJobName (String job_name);
public abstract void setJobName (String job_name);
33,145
setPageable(Pageable pageable);
setPageable(Pageable pageable);
33,146
setPrintable(Printable printable);
setPrintable(Printable printable);
33,147
validatePage(PageFormat page);
validatePage(PageFormat page);
33,148
public View create(Element elem) { JTextArea comp = (JTextArea)getComponent(); if (comp.getLineWrap()) { if (comp.getWrapStyleWord()) return new WrappedPlainView(elem, true); else return new WrappedPlainView(elem, false); } else return new PlainView(elem); }
public View create(Element elem) { JTextArea comp = (JTextArea) getComponent(); if (comp.getLineWrap()) { if (comp.getWrapStyleWord()) return new WrappedPlainView(elem, true); else return new WrappedPlainView(elem, false); } else return new PlainView(elem); }
33,149
protected void propertyChange(PropertyChangeEvent ev) { JTextArea comp = (JTextArea)getComponent(); if (ev.getPropertyName() == "lineWrap" || ev.getPropertyName() == "wrapStyleWord") { // Changes the View (without modifying the document or it's listeners). setView(create(textComponent...
protected void propertyChange(PropertyChangeEvent ev) { JTextArea comp = (JTextArea) getComponent(); if (ev.getPropertyName() == "lineWrap" || ev.getPropertyName() == "wrapStyleWord") { // Changes the View (without modifying the document or it's listeners). setView(create(textComponen...
33,150
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,152
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,153
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,154
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,155
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,156
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,157
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,158
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,159
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,160
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
public void mouseDragged(MouseEvent e) { // If the frame is maximized, there is nothing that // can be dragged around. if (frame.isMaximum()) return; DesktopManager dm = getDesktopManager(); Rectangle b = frame.getBounds(); Dimension min = frame.getMinimumSize(); if (min...
33,161
public void mouseExited(MouseEvent e) { // Reset the cursor shape. if (showingResizeCursor) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } }
public void mouseExited(MouseEvent e) { // Reset the cursor shape. if (showingCursor != Cursor.DEFAULT_CURSOR) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } }
33,163
public void mouseExited(MouseEvent e) { // Reset the cursor shape. if (showingResizeCursor) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } }
public void mouseExited(MouseEvent e) { // Reset the cursor shape. if (showingResizeCursor) { frame.setCursor(Cursor.getDefaultCursor()); showingCursor = Cursor.DEFAULT_CURSOR; } }
33,164
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSource()==frame && frame...
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingCursor != Cursor.DEFAULT_CURSOR && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSourc...
33,165
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSource()==frame && frame...
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingCursor = Cursor.DEFAULT_CURSOR; } else if (e.getSource()==fram...
33,166
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSource()==frame && frame...
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSource()==frame && frame...
33,167
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSource()==frame && frame...
public void mouseMoved(MouseEvent e) { // Turn off the resize cursor if we are in the frame header. if (showingResizeCursor && e.getSource() != frame) { frame.setCursor(Cursor.getDefaultCursor()); showingResizeCursor = false; } else if (e.getSource()==frame && frame...
33,168
private int sectionOfClick(int x, int y) { Insets insets = frame.getInsets(); Rectangle b = frame.getBounds(); if (x < insets.left && y < insets.top) return NORTH_WEST; else if (x > b.width - insets.right && y < insets.top) return NORTH_EAST; else if (x > b.width - insets.r...
private int sectionOfClick(int x, int y) { Rectangle b = frame.getBounds(); if (x < insets.left && y < insets.top) return NORTH_WEST; else if (x > b.width - insets.right && y < insets.top) return NORTH_EAST; else if (x > b.width - insets.right && y > b.height - insets.botto...
33,170
private int sectionOfClick(int x, int y) { Insets insets = frame.getInsets(); Rectangle b = frame.getBounds(); if (x < insets.left && y < insets.top) return NORTH_WEST; else if (x > b.width - insets.right && y < insets.top) return NORTH_EAST; else if (x > b.width - insets.r...
private int sectionOfClick(int x, int y) { Insets insets = frame.getInsets(); Rectangle b = frame.getBounds(); if (x < insets.left && y < insets.top) return NORTH_WEST; else if (x > b.width - insets.right && y < insets.top) return NORTH_EAST; else if (x > b.width - insets.r...
33,171
private int sectionOfClick(int x, int y) { Insets insets = frame.getInsets(); Rectangle b = frame.getBounds(); if (x < insets.left && y < insets.top) return NORTH_WEST; else if (x > b.width - insets.right && y < insets.top) return NORTH_EAST; else if (x > b.width - insets.r...
private int sectionOfClick(int x, int y) { Insets insets = frame.getInsets(); Rectangle b = frame.getBounds(); if (x < insets.left && y < insets.top) return NORTH_WEST; else if (x > b.width - insets.right && y < insets.top) return NORTH_EAST; else if (x > b.width - insets.r...
33,172
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { g.translate(x, y); Color saved = g.getColor(); Rectangle b = frame.getBounds(); Color d = c.getBackground(); g.setColor(d); g.fillRect(0, 0, bSize, b.height); g.fi...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { g.translate(x, y); Color saved = g.getColor(); Rectangle b = frame.getBounds(); Color d = c.getBackground(); g.setColor(d); g.fillRect(0, 0, bSize, b.height); g.fi...
33,173
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
33,175
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
33,176
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
33,177
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { // At the end of the for loop, this holds the requested model location int pos; int current...
33,178
public FunctionCall(XPathFunctionResolver resolver, String name, List args) { this.resolver = resolver; this.name = name; this.args = args; }
public FunctionCall(XPathFunctionResolver resolver, String name) { this.resolver = resolver; this.name = name; this.args = args; }
33,179
public FunctionCall(XPathFunctionResolver resolver, String name, List args) { this.resolver = resolver; this.name = name; this.args = args; }
public FunctionCall(XPathFunctionResolver resolver, String name, List args) { this.resolver = resolver; this.name = name; this.args = args; }
33,180
protected void modelChanged() { ViewFactory factory = rootView.getViewFactory(); Element elem = textComponent.getDocument().getDefaultRootElement(); setView(factory.create(elem)); }
protected void modelChanged() { ViewFactory factory = rootView.getViewFactory(); if (factory == null) return; Document doc = textComponent.getDocument(); if (doc == null) return; Element elem = doc.getDefaultRootElement(); if (elem == null) return; setView(factory.create(elem)); }
33,182
public void paintComponent(Graphics graphics, Component c, Container p, int x, int y, int w, int h, boolean shouldValidate) { // reparent c addImpl(c, null, 0); Rectangle oldClip = graphics.getClipBounds(); // translate to (x,y) graphics.translate(x, y); graphics.clipR...
public} finally { void} finally { paintComponent(Graphics} finally { graphics,} finally { Component} finally { c, Container} finally { p,} finally { int} finally { x,} finally { int} finally { y,} finally { int} finally { w,} finally { int} finally { h,} finally { } finally { } finally { } finally { } finally { } fi...
33,183
public synchronized void parse(InputSource input) throws IOException, SAXException { reset(); String systemId = input.getSystemId(); InputStream in = input.getByteStream(); boolean opened = false; if (in != null) parser = new XMLParser(in, systemId, validating, ...
public synchronized void parse(InputSource input) throws IOException, SAXException { reset(); String systemId = input.getSystemId(); InputStream in = input.getByteStream(); boolean opened = false; if (in != null) parser = new XMLParser(in, systemId, validating, ...
33,185
public synchronized void parse(InputSource input) throws IOException, SAXException { reset(); String systemId = input.getSystemId(); InputStream in = input.getByteStream(); boolean opened = false; if (in != null) parser = new XMLParser(in, systemId, validating, ...
public synchronized void parse(InputSource input) throws IOException, SAXException { String systemId = input.getSystemId(); InputStream in = input.getByteStream(); boolean opened = false; if (in != null) parser = new XMLParser(in, systemId, validating, ...
33,186
public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); System.out.println("JFrame.getPrefSize(): " + d + " , comp=" + getComponentCount() + ", layout=" + getLayout()); return d; }
public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); System.out.println("JFrame.getPrefSize(): " + d + " , comp=" + getComponentCount() + ", layout=" + getLayout()); return d; }
33,187
private byte[] assembleEM(final byte[] PS, final byte[] M) { // b. Concatenate PS, the message M, and other padding to form an // encoded message EM of length k octets as // // EM = 0x00 || 0x02 || PS || 0x00 || M. baos.reset(); baos.write(0x00); baos.write(0x02); baos.write(PS, 0, PS.l...
privatebyte[]assembleEM(finalbyte[]PS,finalbyte[]M){//b.ConcatenatePS,themessageM,andotherpaddingtoforman//encodedmessageEMoflengthkoctetsas////EM=0x00||0x02||PS||0x00||M.baos.reset();baos.write(0x00);baos.write(0x02);baos.write(PS,0,PS.length);baos.write(0x00);baos.write(M,0,M.length);finalbyte[]result=baos.toByteArra...
33,188
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does n...
33,189
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
33,190
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does n...
33,191
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
33,192
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does n...
33,193
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
33,194
public byte[] decode(final byte[] EM) { // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does...
public byte[] decode(final byte[] EM) // Separate the encoded message EM into an // octet string PS consisting of nonzero octets and a message M as // // EM = 0x00 || 0x02 || PS || 0x00 || M. // // If the first octet of EM does not have hexadecimal value 0x00, if // the second octet of EM does n...
33,195