rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
peer.handleJustify(justificationWidth); | double deltaW = justificationWidth - getVisibleAdvance(); int nglyphs = 0; int lastNWS = string.length() - 1; while( Character.isWhitespace( string.charAt( lastNWS ) ) ) lastNWS--; int[] wsglyphs = new int[string.length() * 10]; for(int run = 0; run < runs.length; run++ ) for(int i = 0; i < runs[run].getNumGlyphs... | protected void handleJustify (float justificationWidth) { peer.handleJustify(justificationWidth); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java |
deltaW = deltaW / nglyphs; double w = 0; int cws = 0; for(int run = 0; run < runs.length; run++ ) for(int i = 0; i < runs[ run ].getNumGlyphs(); i++ ) { if( wsglyphs[ cws * 2 ] == run && wsglyphs[ cws * 2 + 1 ] == i ) { cws++; w += deltaW; } Point2D p = runs[ run ].getGlyphPosition( i ); p.setLocation( p.getX() + w, ... | protected void handleJustify (float justificationWidth) { peer.handleJustify(justificationWidth); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java | |
return peer.hashCode(); | throw new Error ("not implemented"); | public int hashCode () { return peer.hashCode(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java |
return peer.isLeftToRight(); | return leftToRight; | public boolean isLeftToRight () { return peer.isLeftToRight(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java |
return peer.isVertical(); | return false; | public boolean isVertical () { return peer.isVertical(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java |
return peer.toString(); | return "TextLayout [string:"+string+", Font:"+font+" Rendercontext:"+ frc+"]"; | public String toString () { return peer.toString(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java |
area = getComponent().modelToView(getDot()); | area = getComponent().modelToView(dot); | void appear() { // All machinery is only required if the carret is blinking. if (blinkListener != null) { blinkListener.ignoreNextEvent = true; // If the caret is visible, erase the current position by repainting // over. if (visible) repaint(); // Draw the care... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
catch (BadLocationException ex) | catch (BadLocationException e) | void appear() { // All machinery is only required if the carret is blinking. if (blinkListener != null) { blinkListener.ignoreNextEvent = true; // If the caret is visible, erase the current position by repainting // over. if (visible) repaint(); // Draw the care... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
assert false : "Unexpected bad caret location: " + getDot(); | AssertionError ae; ae = new AssertionError("Unexpected bad caret location: " + dot); ae.initCause(e); throw ae; | void appear() { // All machinery is only required if the carret is blinking. if (blinkListener != null) { blinkListener.ignoreNextEvent = true; // If the caret is visible, erase the current position by repainting // over. if (visible) repaint(); // Draw the care... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
assert false : "Unexpected bad caret location: " + dot; return; | AssertionError ae; ae = new AssertionError("Unexpected bad caret location: " + dot); ae.initCause(e); throw ae; | public void paint(Graphics g) { JTextComponent comp = getComponent(); if (comp == null) return; int dot = getDot(); Rectangle rect = null; try { rect = textComponent.modelToView(dot); } catch (BadLocationException e) { assert false : "Unexpected bad caret location: " + do... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
this.dot = dot; | public void setDot(int dot) { if (dot >= 0) { this.mark = dot; this.dot = dot; handleHighlight(); adjustVisibility(this); appear(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java | |
area = getComponent().modelToView(getDot()); | area = getComponent().modelToView(dot); | public void setVisible(boolean v) { if (v != visible) { visible = v; updateTimerStatus(); Rectangle area = null; try { area = getComponent().modelToView(getDot()); } catch (BadLocationException ex) { assert false: "Unexpected bad... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
catch (BadLocationException ex) | catch (BadLocationException e) | public void setVisible(boolean v) { if (v != visible) { visible = v; updateTimerStatus(); Rectangle area = null; try { area = getComponent().modelToView(getDot()); } catch (BadLocationException ex) { assert false: "Unexpected bad... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
assert false: "Unexpected bad caret location: " + getDot(); | AssertionError ae; ae = new AssertionError("Unexpected bad caret location: " + dot); ae.initCause(e); throw ae; | public void setVisible(boolean v) { if (v != visible) { visible = v; updateTimerStatus(); Rectangle area = null; try { area = getComponent().modelToView(getDot()); } catch (BadLocationException ex) { assert false: "Unexpected bad... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/DefaultCaret.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultCaret.java |
data[i+offset] = (double) val; | data[i+offset] = val; | public void setElem(int i, int val) { data[i+offset] = (double) val; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/DataBufferDouble.java/clean/core/src/classpath/java/java/awt/image/DataBufferDouble.java |
public static Selector open () throws IOException | public static Selector open() throws IOException | public static Selector open () throws IOException { return SelectorProvider.provider ().openSelector (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java |
return SelectorProvider.provider ().openSelector (); | return SelectorProvider.provider().openSelector(); | public static Selector open () throws IOException { return SelectorProvider.provider ().openSelector (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/Selector.java/buggy/core/src/classpath/java/java/nio/channels/Selector.java |
public Insets getBorderInsets(Component c, Insets s) | public Insets getBorderInsets(Component c, Insets insets) { Insets borderInsets; if (insets == null) insets = new Insets (0,0,0,0); else insets.left = insets.right = insets.top = insets.bottom = 0; /* If there is an outside border, add it to insets. */ if (outsideBorder != null) | public Insets getBorderInsets(Component c, Insets s) { if (s == null) s = new Insets(0,0,0,0); s.left = s.right = s.top = s.bottom = 5; return s; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CompoundBorder.java/buggy/core/src/classpath/javax/javax/swing/border/CompoundBorder.java |
if (s == null) s = new Insets(0,0,0,0); s.left = s.right = s.top = s.bottom = 5; return s; | borderInsets = outsideBorder.getBorderInsets(c); insets.left += borderInsets.left; insets.right += borderInsets.right; insets.top += borderInsets.top; insets.bottom += borderInsets.bottom; | public Insets getBorderInsets(Component c, Insets s) { if (s == null) s = new Insets(0,0,0,0); s.left = s.right = s.top = s.bottom = 5; return s; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CompoundBorder.java/buggy/core/src/classpath/javax/javax/swing/border/CompoundBorder.java |
/* If there is an inside border, add it to insets. */ if (insideBorder != null) { borderInsets = insideBorder.getBorderInsets(c); insets.left += borderInsets.left; insets.right += borderInsets.right; insets.top += borderInsets.top; insets.bottom += borderInsets.bottom; } return insets; } | public Insets getBorderInsets(Component c, Insets s) { if (s == null) s = new Insets(0,0,0,0); s.left = s.right = s.top = s.bottom = 5; return s; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CompoundBorder.java/buggy/core/src/classpath/javax/javax/swing/border/CompoundBorder.java | |
public boolean isBorderOpaque() { return false; } | public boolean isBorderOpaque () { /* While it would be safe to assume true for the opacity of * a null border, this behavior would not be according to * the API specification. Also, it is pathological to have * null borders anyway. */ if ((insideBorder == null) || (outsideBorder == null)) return false; return insideB... | public boolean isBorderOpaque() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CompoundBorder.java/buggy/core/src/classpath/javax/javax/swing/border/CompoundBorder.java |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { /* If there is an outside border, paint it and reduce the * bounding box by its insets. */ if (outsideBorder != null) | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CompoundBorder.java/buggy/core/src/classpath/javax/javax/swing/border/CompoundBorder.java |
if (insideBorder != null) insideBorder.paintBorder(c, g, x, y, width, height); } | public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CompoundBorder.java/buggy/core/src/classpath/javax/javax/swing/border/CompoundBorder.java | |
break; | public boolean emit(String mnemonic, List operands, int operandSize) { this.operands = operands; Integer key = (Integer) INSTRUCTION_MAP.get(mnemonic); if (key == null) return false; switch (key.intValue()) { case BITS_ISN: emitBITS(); case DB_ISN: ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/eb9f15ea41fc430695eb61d296137088f460202a/PseudoInstructions.java/buggy/builder/src/builder/org/jnode/jnasm/assembler/PseudoInstructions.java | |
throws InconsistentTypeCode | public DynAny create_basic_dyn_any(org.omg.CORBA.TypeCode t) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
throws InconsistentTypeCode | public DynArray create_dyn_array(org.omg.CORBA.TypeCode t) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
throws InconsistentTypeCode | public DynEnum create_dyn_enum(org.omg.CORBA.TypeCode t) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
throws InconsistentTypeCode | public DynSequence create_dyn_sequence(org.omg.CORBA.TypeCode t) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
throws InconsistentTypeCode | public DynStruct create_dyn_struct(org.omg.CORBA.TypeCode t) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
throws InconsistentTypeCode | public DynUnion create_dyn_union(org.omg.CORBA.TypeCode t) { throw new NO_IMPLEMENT(); }; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
throws PolicyError | public Policy create_policy(int type, Any value) { throw new NO_IMPLEMENT(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/ORB.java/clean/core/src/classpath/org/org/omg/CORBA/ORB.java | |
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); progressBar.setFont(defaults.getFont("ProgressBar.font")); progressBar.setForeground(defaults.getColor("ProgressBar.foreground")); progressBar.setBackground(defaults.getColor("ProgressBar.background")); progressBar.setBorder(defaults.getBorder("ProgressBar.bord... | LookAndFeel.installColorsAndFont(progressBar, "ProgressBar.background", "ProgressBar.foreground", "ProgressBar.font"); LookAndFeel.installBorder(progressBar, "ProgressBar.border"); | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); progressBar.setFont(defaults.getFont("ProgressBar.font")); progressBar.setForeground(defaults.getColor("ProgressBar.foreground")); progressBar.setBackground(defaults.getColor("ProgressBar.background")); progre... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicProgressBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicProgressBarUI.java |
selectionForeground = defaults.getColor("ProgressBar.selectionForeground"); selectionBackground = defaults.getColor("ProgressBar.selectionBackground"); cellLength = defaults.getInt("ProgressBar.cellLength"); cellSpacing = defaults.getInt("ProgressBar.cellSpacing"); | selectionForeground = UIManager.getColor("ProgressBar.selectionForeground"); selectionBackground = UIManager.getColor("ProgressBar.selectionBackground"); cellLength = UIManager.getInt("ProgressBar.cellLength"); cellSpacing = UIManager.getInt("ProgressBar.cellSpacing"); | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); progressBar.setFont(defaults.getFont("ProgressBar.font")); progressBar.setForeground(defaults.getColor("ProgressBar.foreground")); progressBar.setBackground(defaults.getColor("ProgressBar.background")); progre... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicProgressBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicProgressBarUI.java |
int repaintInterval = defaults.getInt("ProgressBar.repaintInterval"); int cycleTime = defaults.getInt("ProgressBar.cycleTime"); | int repaintInterval = UIManager.getInt("ProgressBar.repaintInterval"); int cycleTime = UIManager.getInt("ProgressBar.cycleTime"); | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); progressBar.setFont(defaults.getFont("ProgressBar.font")); progressBar.setForeground(defaults.getColor("ProgressBar.foreground")); progressBar.setBackground(defaults.getColor("ProgressBar.background")); progre... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/BasicProgressBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicProgressBarUI.java |
/* Set up some variables */ doInput = true; | public Connection(URL url) { super (url); // @classpath-bugfix /* Set up some variables */ doInput = true; permission = new FilePermission(getURL().getFile(), DEFAULT_PERMISSION); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java | |
} else { if (doInput) { inputStream = new ByteArrayInputStream(getDirectoryListing()); } if (doOutput) throw new ProtocolException ("file: protocol does not support output on directories"); } | public void connect() throws IOException { // Call is ignored if already connected. if (connected) return; // If not connected, then file needs to be openned. file = new File (getURL().getFile()); if (doInput) inputStream = new BufferedInputStream(new FileInputStream(file)); if (d... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java | |
{ try { | { try { | public int getContentLength() { try { if (!connected) connect(); return (int) file.length(); } catch (IOException e) { return -1; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java |
if (file.isDirectory()) { return getDirectoryListing().length; } | public int getContentLength() { try { if (!connected) connect(); return (int) file.length(); } catch (IOException e) { return -1; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java | |
} | } | public int getContentLength() { try { if (!connected) connect(); return (int) file.length(); } catch (IOException e) { return -1; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java |
{ | { | public int getContentLength() { try { if (!connected) connect(); return (int) file.length(); } catch (IOException e) { return -1; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java |
} } | } } | public int getContentLength() { try { if (!connected) connect(); return (int) file.length(); } catch (IOException e) { return -1; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a9713af4b331141b4222f76a2e005d12c6ca8c29/Connection.java/buggy/core/src/classpath/gnu/gnu/java/net/protocol/file/Connection.java |
throws IOException, NotImplementedException | throws IOException | public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { // FIXME: Not implemented } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java |
Enumeration e = a.getAttributeNames(); while (e.hasMoreElements()) { Object oldKey = e.nextElement(); Object newKey = getStaticAttribute(oldKey); Object key = (newKey == null) ? oldKey : newKey; out.writeObject(key); out.writeObject(a.getAttribute(oldKey)); } out.writeObject(null); out.writeObject(null); | public static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) throws IOException, NotImplementedException { // FIXME: Not implemented } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/StyleContext.java/clean/core/src/classpath/javax/javax/swing/text/StyleContext.java | |
public InvalidAddressHolder(InvalidAddress initialValue) | public InvalidAddressHolder() | public InvalidAddressHolder(InvalidAddress initialValue) { value = initialValue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/InvalidAddressHolder.java/buggy/core/src/classpath/org/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java |
value = initialValue; | public InvalidAddressHolder(InvalidAddress initialValue) { value = initialValue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/InvalidAddressHolder.java/buggy/core/src/classpath/org/org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java | |
LongSeqHolder h = new LongSeqHolder(); h._read(input); return h.value; | int[] value = new int[ input.read_long() ]; input.read_long_array(value, 0, value.length); return value; | public static int[] read(InputStream input) { LongSeqHolder h = new LongSeqHolder(); h._read(input); return h.value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/LongSeqHelper.java/clean/core/src/classpath/org/org/omg/CORBA/LongSeqHelper.java |
LongSeqHolder h = new LongSeqHolder(value); h._write(output); | output.write_long(value.length); output.write_long_array(value, 0, value.length); | public static void write(OutputStream output, int[] value) { LongSeqHolder h = new LongSeqHolder(value); h._write(output); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/LongSeqHelper.java/clean/core/src/classpath/org/org/omg/CORBA/LongSeqHelper.java |
else if (tag.equals(HTML.Tag.IMG)) view = new ImageView(element); | public View create(Element element) { View view = null; Object attr = element.getAttributes().getAttribute(StyleConstants.NameAttribute); if (attr instanceof HTML.Tag) { HTML.Tag tag = (HTML.Tag) attr; if (tag.equals(HTML.Tag.IMPLIED) || tag.equals(HTML.Tag.P) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/HTMLEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/html/HTMLEditorKit.java | |
if (list.size() == 0) { list.add(object); selectedItem = object; fireContentsChanged(this, -1, -1); } else { list.add(object); fireIntervalAdded(this, list.size() - 1, list.size() - 1); } | list.add(object); fireIntervalAdded(this, list.size() - 1, list.size() - 1); if (list.size() == 1) setSelectedItem(object); | public void addElement(Object object) { if (list.size() == 0) { list.add(object); selectedItem = object; fireContentsChanged(this, -1, -1); } else { list.add(object); fireIntervalAdded(this, list.size() - 1, list.size() - 1); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4abb9c75335af103edab6fd85ed87fb53a143e8/DefaultComboBoxModel.java/clean/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java |
public void removeElementAt(int index) { int selected = getIndexOf(selectedItem); list.remove(index); if (selected == index) // choose a new selected item { if (selected > 0) selectedItem = getElementAt(selected - 1); else selectedItem = getElementAt(selected); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e4abb9c75335af103edab6fd85ed87fb53a143e8/DefaultComboBoxModel.java/clean/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java | ||
super(command); | public TransferAction(String command) { this.command = command; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/TransferHandler.java/buggy/core/src/classpath/javax/javax/swing/TransferHandler.java | |
proc.disableReschedule(); | proc.disableReschedule(false); | public static Object[] getStackTrace(VmThread current) { if (current.inException) { Unsafe.debug("Exception in getStackTrace"); VmProcessor.current().getArchitecture().getStackReader() .debugStackTrace(); Unsafe.die("getStackTrace"); return null;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/facadb9f0c9d832de208a0a32aee7e68501b9a87/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java |
proc.enableReschedule(); | proc.enableReschedule(false); | public static Object[] getStackTrace(VmThread current) { if (current.inException) { Unsafe.debug("Exception in getStackTrace"); VmProcessor.current().getArchitecture().getStackReader() .debugStackTrace(); Unsafe.die("getStackTrace"); return null;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/facadb9f0c9d832de208a0a32aee7e68501b9a87/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java |
proc.disableReschedule(); | proc.disableReschedule(false); | public static Object[] getStackTrace(VmThread current) { if (current.inException) { Unsafe.debug("Exception in getStackTrace"); VmProcessor.current().getArchitecture().getStackReader() .debugStackTrace(); Unsafe.die("getStackTrace"); return null;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/facadb9f0c9d832de208a0a32aee7e68501b9a87/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java |
proc.enableReschedule(); | proc.enableReschedule(false); | public static Object[] getStackTrace(VmThread current) { if (current.inException) { Unsafe.debug("Exception in getStackTrace"); VmProcessor.current().getArchitecture().getStackReader() .debugStackTrace(); Unsafe.die("getStackTrace"); return null;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/facadb9f0c9d832de208a0a32aee7e68501b9a87/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java |
"SplitPane.darkShadow", new ColorUIResource(getControlDarkShadow()), "SplitPane.highlight", new ColorUIResource(getControlHighlight()), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", new ColorUIResource(getControl()), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", new ColorUIResource(getControlDark... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
throw new IOException("BlockDeviceAPI not found on device", ex); | final IOException ioe = new IOException("BlockDeviceAPI not found on device"); ioe.initCause(ex); throw ioe; | protected void formatDevice(Device device) throws IOException { /* Format the MBR & partitiontable */ GrubBootSector mbr = (GrubBootSector) (createFormatter() .getBootSector()); mbr.getPartition(0).clear(); mbr.getPartition(1).clear(); mbr.getPartition(2).clear(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4fe0410e3d1e4dea160852289195cd6981c0f456/BootDiskBuilder.java/buggy/builder/src/builder/org/jnode/build/BootDiskBuilder.java |
return null; | if (accessibleContext == null) accessibleContext = new AccessibleJMenuBar(); return accessibleContext; | public AccessibleContext getAccessibleContext() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/JMenuBar.java/buggy/core/src/classpath/javax/javax/swing/JMenuBar.java |
public int hashCode() { | public int hashCode() { | public int hashCode() { return getLastPathComponent().hashCode(); } // hashCode() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
} | } | public int hashCode() { return getLastPathComponent().hashCode(); } // hashCode() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException { | private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException { | private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException { // TODO } // readObject() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
} | } | private void readObject(ObjectInputStream value0) throws IOException, ClassNotFoundException { // TODO } // readObject() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
public String toString() { | public String toString() { | public String toString() { return null; // TODO } // toString() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
} | } | public String toString() { return null; // TODO } // toString() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
private void writeObject(ObjectOutputStream value0) throws IOException { | private void writeObject(ObjectOutputStream value0) throws IOException { | private void writeObject(ObjectOutputStream value0) throws IOException { // TODO } // writeObject() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
} | } | private void writeObject(ObjectOutputStream value0) throws IOException { // TODO } // writeObject() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/clean/core/src/classpath/javax/javax/swing/tree/TreePath.java |
private void makeTabs(AbstractColorChooserPanel[] panels) | void makeTabs(AbstractColorChooserPanel[] panels) | private void makeTabs(AbstractColorChooserPanel[] panels) { pane.removeAll(); for (int i = 0; i < panels.length; i++) pane.addTab(panels[i].getDisplayName(), panels[i].getSmallDisplayIcon(), panels[i]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicColorChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicColorChooserUI.java |
private void updatePreviewPanel(JComponent preview) | void updatePreviewPanel(JComponent preview) | private void updatePreviewPanel(JComponent preview) { if (prevContainer == null) { prevContainer = new JPanel(); prevContainer.setLayout(new BorderLayout()); chooser.add(prevContainer, BorderLayout.CENTER); } prevContainer.removeAll(); prevContainer.add(preview, BorderLayout.CENTER); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicColorChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicColorChooserUI.java |
else { String oldText = this.getText(); this.setText(" "); Dimension d = super.getPreferredSize(); this.setText(oldText); return d; } | public Dimension getPreferredSize() { return super.getPreferredSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicComboBoxRenderer.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxRenderer.java | |
public UIResource() { | public UIResource() { | public UIResource() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java |
synchronized (sc.getTreeLock ()) { | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
Point viewPos = viewport.getViewPosition(); | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
x3 = x4 - vsb.getPreferredSize().width; y3 = y4 - hsb.getPreferredSize().height; | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
&& viewSize.height > (y3 - y2))); | && viewSize.height > (y4 - y2))); | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java |
&& viewSize.width > (x3 - x2))); | && viewSize.width > (x4 - x2))); | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java |
public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | ||
} | public void layoutContainer(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { JViewport viewport = sc.getViewport(); Dimension viewSize = viewport.getViewSize(); Point view... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
if (parent instanceof JScrollPane) | if (parent != null && parent instanceof JScrollPane) | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java |
synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); Dimension viewportInsetsSize = new Dimension(0,0); Dimension columnHeaderSize = new Dimension(0,0); Dimension rowHeaderSize = new Dimension(0,0); Dimension verticalScrollBarSize = new Dimension(0,0... | Dimension viewportSize = viewport.getMinimumSize(); int width = viewportSize.width; int height = viewportSize.height; if (hsb != null && hsb.isVisible()) height += hsb.getMinimumSize().height; if (vsb != null && vsb.isVisible()) width += vsb.getMinimumSize().width; if (rowHead != null && rowHead.isVisible()) width += r... | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java |
} else { | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
} | public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); Dimension viewportInsetsSize = new Dimension(0,0); Dimension columnHeaderSize = new Dimension(0,0); Dimension rowHeaderSize = new Dimension(0,0); Dimension verticalScrollBarSize = new Dimension(0,0... | Dimension viewportSize = viewport.getPreferredSize(); int width = viewportSize.width; int height = viewportSize.height; if (hsb != null && hsb.isVisible()) height += hsb.getPreferredSize().height; if (vsb != null && vsb.isVisible()) width += vsb.getPreferredSize().width; if (rowHead != null && rowHead.isVisible()) widt... | public Dimension preferredLayoutSize(Container parent) { if (parent != null && parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dime... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java |
else { | public Dimension preferredLayoutSize(Container parent) { if (parent != null && parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dime... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
} | public Dimension preferredLayoutSize(Container parent) { if (parent != null && parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dime... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/ScrollPaneLayout.java/buggy/core/src/classpath/javax/javax/swing/ScrollPaneLayout.java | |
return (scheme != null); | return scheme != null; | public boolean isAbsolute() { return (scheme != null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/URI.java/buggy/core/src/classpath/java/java/net/URI.java |
} finally { debug--; | public static Address findThrowableHandler(Throwable ex, Address frame, Address address) throws PrivilegedActionPragma { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java | |
public static void setErr(PrintStream err) { | public static void setErr(PrintStream err) throws PrivilegedActionPragma { | public static void setErr(PrintStream err) { setStaticField(System.class, "err", err); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java |
public static void setOut(PrintStream out) { | public static void setOut(PrintStream out) throws PrivilegedActionPragma { | public static void setOut(PrintStream out) { setStaticField(System.class, "out", out); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5fd2b1e0180cda24cafbd8288788f03fd5464c0f/VmSystem.java/clean/core/src/core/org/jnode/vm/VmSystem.java |
protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // Otherwise pass the add onto the content pane. if (comp == rootPane) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEna... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JDialog.java/buggy/core/src/classpath/javax/javax/swing/JDialog.java | ||
if (comp == rootPane) | if (!initStageDone) | protected void addImpl(Component comp, Object constraints, int index) { // If we're adding the rootPane (initialization stages) use super.add. // Otherwise pass the add onto the content pane. if (comp == rootPane) super.addImpl(comp, constraints, index); else { if (isRootPaneCheckingEna... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0819f69fb87c25602911abcc49016c8e9b9db5d/JDialog.java/buggy/core/src/classpath/javax/javax/swing/JDialog.java |
Component focusOwner = getGlobalPermanentFocusOwner (); | Component focusOwner = getFocusOwner(); if (focusOwner == null) focusOwner = getFocusedWindow(); | public boolean dispatchKeyEvent (KeyEvent e) { Component focusOwner = getGlobalPermanentFocusOwner (); if (focusOwner != null) redispatchEvent(focusOwner, e); // Loop through all registered KeyEventPostProcessors, giving // each a chance to process this event. Iterator i = getKeyEventPostProcesso... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/DefaultKeyboardFocusManager.java/clean/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java |
public InetAddress[] getHostByName(String hostname) | public byte[][] getHostByName(String hostname) | public InetAddress[] getHostByName(String hostname) throws UnknownHostException { ArrayList list = null; for (Iterator i = nlm.getNetworkLayers().iterator(); i.hasNext(); ) { final NetworkLayer layer = (NetworkLayer)i.next(); final ProtocolAddress[] addrs = layer.getHo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b690cfde411baeb66c6d82ebeb798c56aa02e8c0/NetAPIImpl.java/clean/net/src/net/org/jnode/net/service/NetAPIImpl.java |
list.add(pa.toInetAddress()); | list.add(pa.toByteArray()); | public InetAddress[] getHostByName(String hostname) throws UnknownHostException { ArrayList list = null; for (Iterator i = nlm.getNetworkLayers().iterator(); i.hasNext(); ) { final NetworkLayer layer = (NetworkLayer)i.next(); final ProtocolAddress[] addrs = layer.getHo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b690cfde411baeb66c6d82ebeb798c56aa02e8c0/NetAPIImpl.java/clean/net/src/net/org/jnode/net/service/NetAPIImpl.java |
if (list == null) { return null; | if ((list == null) || list.isEmpty()) { throw new UnknownHostException(hostname); | public InetAddress[] getHostByName(String hostname) throws UnknownHostException { ArrayList list = null; for (Iterator i = nlm.getNetworkLayers().iterator(); i.hasNext(); ) { final NetworkLayer layer = (NetworkLayer)i.next(); final ProtocolAddress[] addrs = layer.getHo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b690cfde411baeb66c6d82ebeb798c56aa02e8c0/NetAPIImpl.java/clean/net/src/net/org/jnode/net/service/NetAPIImpl.java |
return (InetAddress[])list.toArray(new InetAddress[list.size()]); | return (byte[][])list.toArray(new byte[list.size()][]); | public InetAddress[] getHostByName(String hostname) throws UnknownHostException { ArrayList list = null; for (Iterator i = nlm.getNetworkLayers().iterator(); i.hasNext(); ) { final NetworkLayer layer = (NetworkLayer)i.next(); final ProtocolAddress[] addrs = layer.getHo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b690cfde411baeb66c6d82ebeb798c56aa02e8c0/NetAPIImpl.java/clean/net/src/net/org/jnode/net/service/NetAPIImpl.java |
public static Pattern compile(String regex) | public static Pattern compile (String regex) throws PatternSyntaxException | public static Pattern compile(String regex) { throw new InternalError("Not implemented yet"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java |
throw new InternalError("Not implemented yet"); | return compile(regex, 0); | public static Pattern compile(String regex) { throw new InternalError("Not implemented yet"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java |
public Matcher matcher(CharSequence input) | public Matcher matcher (CharSequence input) | public Matcher matcher(CharSequence input) { throw new InternalError("Not implemented yet"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java |
throw new InternalError("Not implemented yet"); | return new Matcher(this, input); | public Matcher matcher(CharSequence input) { throw new InternalError("Not implemented yet"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java |
public static boolean matches(String regex, CharSequence input) | public static boolean matches (String regex, CharSequence input) | public static boolean matches(String regex, CharSequence input) { throw new InternalError("Not implemented yet"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Pattern.java/buggy/core/src/classpath/java/java/util/regex/Pattern.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.