rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
int stop = formatCommandList.size(); for (int i = 0; i <stop; i++) { if (Specification.getInstance().isPrettyXDFOutput()) { writeOut(outputstream, Constants.NEW_LINE); writeOut(outputstream, indent); | int stop = formatCommandList.size(); for (int i = 0; i <stop; i++) { if (Specification.getInstance().isPrettyXDFOutput()) { writeOut(outputstream, Constants.NEW_LINE); writeOut(outputstream, indent); } ((XMLDataIOStyle) formatCommandList.get(i)).specificIOStyleToXDF(outputstream, indent); | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //write out nodes in formatCommandList synchronized (formatCommandList) { int stop = formatCommandList.size(); for (int i = 0; i <stop; i++) { if (Specification.getInstance().isPrettyXDFOutput()) { writ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/c6301099d4331f268ced4059d82185b382c98f59/FormattedXMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/FormattedXMLDataIOStyle.java |
((XMLDataIOStyle) formatCommandList.get(i)).specificIOStyleToXDF(outputstream, indent); } | } while(numberOfAxes-- > 0) { if (Specification.getInstance().isPrettyXDFOutput()) { writeOut(outputstream, Constants.NEW_LINE); indent = indent.substring(0,indent.length() - Specification.getInstance().getPrettyXDFOutputIndentation().length()); writeOut(outputstream, indent); } writeOut(outputstream, "</for>"); | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //write out nodes in formatCommandList synchronized (formatCommandList) { int stop = formatCommandList.size(); for (int i = 0; i <stop; i++) { if (Specification.getInstance().isPrettyXDFOutput()) { writ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/c6301099d4331f268ced4059d82185b382c98f59/FormattedXMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/FormattedXMLDataIOStyle.java |
protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //write out nodes in formatCommandList synchronized (formatCommandList) { int stop = formatCommandList.size(); for (int i = 0; i <stop; i++) { if (Specification.getInstance().isPrettyXDFOutput()) { writ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/c6301099d4331f268ced4059d82185b382c98f59/FormattedXMLDataIOStyle.java/clean/src/gov/nasa/gsfc/adc/xdf/FormattedXMLDataIOStyle.java | ||
setBorder(tmpBorder); | public BasicSplitPaneDivider(BasicSplitPaneUI ui) { setLayout(new DividerLayout()); setBasicSplitPaneUI(ui); setDividerSize(splitPane.getDividerSize()); setBorder(tmpBorder); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/BasicSplitPaneDivider.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
splitPane.removeMouseListener(mouseHandler); splitPane.removeMouseMotionListener(mouseHandler); | public void setBasicSplitPaneUI(BasicSplitPaneUI newUI) { /* Remove the connection to the existing JSplitPane. */ if (splitPane != null) { splitPane.removePropertyChangeListener(this); splitPane.removeMouseListener(mouseHandler); splitPane.removeMouseMotionListener(mouseHandler); removeMouseL... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/BasicSplitPaneDivider.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
splitPane.addMouseListener(mouseHandler); splitPane.addMouseMotionListener(mouseHandler); | public void setBasicSplitPaneUI(BasicSplitPaneUI newUI) { /* Remove the connection to the existing JSplitPane. */ if (splitPane != null) { splitPane.removePropertyChangeListener(this); splitPane.removeMouseListener(mouseHandler); splitPane.removeMouseMotionListener(mouseHandler); removeMouseL... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/BasicSplitPaneDivider.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java | |
public BasicDesktopIconUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicDesktopIconUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDesktopIconUI.java | ||
public void deiconize() { try { frame.setIcon(false); } catch (PropertyVetoException pve) { } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/BasicDesktopIconUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicDesktopIconUI.java | ||
data = mouseChannel.read(50); | data = mouseChannel.read(COMMAND_TIMEOUT); | final boolean writeMouseCommand(int cmd) throws DeviceException { // First clear the mouse channel, otherwise we might read // old data back mouseChannel.clear(); // Transmit the command writeController(CCMD_WRITE_MOUSE); writeData(cmd); int data; try { data = mouseChannel.read(50); } catch (IOException ex)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/576342223c52cbf5159b30a3a8150d5b181aabed/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
} | public UIDefaults getDefaults() { if (LAF_defaults == null) LAF_defaults = super.getDefaults(); // add custom theme entries to the table theme.addCustomEntriesToTable(LAF_defaults); // Returns the default values for this look and feel. return LAF_defaults; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/MetalLookAndFeel.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
return (obj != null) && (obj instanceof SimpleAttributeSet) && ((SimpleAttributeSet)obj).tab.equals(this.tab); | return (obj instanceof AttributeSet) && this.isEqual((AttributeSet) obj); | public boolean equals(Object obj) { return (obj != null) && (obj instanceof SimpleAttributeSet) && ((SimpleAttributeSet)obj).tab.equals(this.tab); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/SimpleAttributeSet.java/clean/core/src/classpath/javax/javax/swing/text/SimpleAttributeSet.java |
return this.equals(attr); | return attr != null && attr.containsAttributes(this) && this.containsAttributes(attr); | public boolean isEqual(AttributeSet attr) { return this.equals(attr); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/SimpleAttributeSet.java/clean/core/src/classpath/javax/javax/swing/text/SimpleAttributeSet.java |
else if ("file".equals(newUrl.getProtocol())) | else if ("file".equals(protocol)) | private void addURLImpl(URL newUrl) { synchronized (urlloaders) { if (newUrl == null) return; // Silently ignore... // Check global cache to see if there're already url loader // for this url. URLLoader loader = (URLLoader) urlloaders.get(newUrl); if (loader == null) { String file = newUrl.ge... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return (Class) AccessController.doPrivileged(new PrivilegedAction() | { return (Class)AccessController.doPrivileged (new PrivilegedAction() | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return defineClass(className, classData, 0, classData.length, source); | return defineClass(className, classData, 0, classData.length, source); | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
} | protected Class findClass(final String className) throws ClassNotFoundException { // Just try to find the resource by the (almost) same name String resourceName = className.replace('.', '/') + ".class"; Resource resource = findURLResource(resourceName); if (resource == null) throw new ClassNotFou... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | |
return defineClass(className, classData, 0, classData.length, source); | return defineClass(className, classData, 0, classData.length, source); | public Object run() { return defineClass(className, classData, 0, classData.length, source); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
} | protected PermissionCollection getPermissions(CodeSource source) { // XXX - This implementation does exactly as the Javadoc describes. // But maybe we should/could use URLConnection.getPermissions()? // First get the permissions that would normally be granted PermissionCollection permissions = super.getP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java | |
processQueues(); | flush(); | final synchronized IRQResource claimResources(ResourceOwner owner, int irq) throws DriverException { try { final ResourceManager rm; try { rm = (ResourceManager) InitialNaming.lookup(ResourceManager.NAME); } catch (NameNotFoundException ex) { throw new DriverException("Cannot find ResourceManager: ", ex);... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
final int getMode() throws DeviceException { writeController(CCMD_READ_MODE); return readData(); | final synchronized int getMode() throws DeviceException { try { writeController(CCMD_READ_MODE); if (waitRead()) { return readData(); } else { throw new DeviceException("Not return data from READ_MODE"); } } finally { processQueues(); } | final int getMode() throws DeviceException { writeController(CCMD_READ_MODE); return readData(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
if (irqReadQueue) { processQueues(); } | processQueues(); | public synchronized final void handleInterrupt(int irq) { if (irqReadQueue) { processQueues(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
final void processQueues() { int status; while (((status = readStatus()) & AUX_STAT_OBF) != 0) { | private final void processQueues() { int status; int loops = 0; while (((status = readStatus()) & STAT_OBF) != 0) { if (++loops > 1000) { log.error("A lot of PS2 data, probably wrong"); } | final void processQueues() { int status; //System.out.print('<'); while (((status = readStatus()) & AUX_STAT_OBF) != 0) { final int data = readData(); // determine which driver shall handle the scancode final PS2ByteChannel channel; if ((status & STAT_MOUSE_OBF) != 0) { channel = mouseChannel; } else {... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
final void processQueues() { int status; //System.out.print('<'); while (((status = readStatus()) & AUX_STAT_OBF) != 0) { final int data = readData(); // determine which driver shall handle the scancode final PS2ByteChannel channel; if ((status & STAT_MOUSE_OBF) != 0) { channel = mouseChannel; } else {... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java | ||
int mode = getMode(); if (enable) { mode |= MODE_INT; } else { mode &= ~MODE_INT; } setMode(mode); | final void setKeyboardEnabled(boolean enable) throws DeviceException { writeController(enable ? CCMD_KB_ENABLE : CCMD_KB_DISABLE); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java | |
int mode = getMode(); if (enable) { mode |= MODE_MOUSE_INT; } else { mode &= ~MODE_MOUSE_INT; } setMode(mode); | final void setMouseEnabled(boolean enable) throws DeviceException { writeController(enable ? CCMD_MOUSE_ENABLE : CCMD_MOUSE_DISABLE); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java | |
final boolean testMouse() throws DeviceException { irqReadQueue = false; try { | final synchronized boolean testMouse() throws DeviceException { try { | final boolean testMouse() throws DeviceException { irqReadQueue = false; try { writeController(CCMD_TEST_MOUSE); final int status = readStatus(); final int rc = readData(); log.debug("testMouse rc=0x" + NumberUtils.hex(rc, 2) + ", status 0x" + NumberUtils.hex(status, 2)); return (rc != 0xFF); } finally { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
final int status = readStatus(); final int rc = readData(); log.debug("testMouse rc=0x" + NumberUtils.hex(rc, 2) + ", status 0x" + NumberUtils.hex(status, 2)); return (rc != 0xFF); | if (waitRead()) { final int status = readStatus(); final int rc = readData(); log.debug("testMouse rc=0x" + NumberUtils.hex(rc, 2) + ", status 0x" + NumberUtils.hex(status, 2)); return (rc != 0xFF); } else { log.debug("No return from TEST_MOUSE"); return false; } | final boolean testMouse() throws DeviceException { irqReadQueue = false; try { writeController(CCMD_TEST_MOUSE); final int status = readStatus(); final int rc = readData(); log.debug("testMouse rc=0x" + NumberUtils.hex(rc, 2) + ", status 0x" + NumberUtils.hex(status, 2)); return (rc != 0xFF); } finally { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
irqReadQueue = true; | final boolean testMouse() throws DeviceException { irqReadQueue = false; try { writeController(CCMD_TEST_MOUSE); final int status = readStatus(); final int rc = readData(); log.debug("testMouse rc=0x" + NumberUtils.hex(rc, 2) + ", status 0x" + NumberUtils.hex(status, 2)); return (rc != 0xFF); } finally { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java | |
final boolean writeMouseCommands(int[] cmds) throws DeviceException { boolean ok = true; for (int i = 0; i < cmds.length; i++) { ok &= writeMouseCommand(cmds[i]); } return ok; | final synchronized boolean writeMouseCommands(int cmd, int[] params, int returnCnt) throws DeviceException { mouseChannel.clear(); if (params == null) { return sendMouseCommand(cmd, returnCnt); } else { if (!sendMouseCommand(cmd, 0)) { return false; } final int cnt = params.length; for (int i = 0; i < cnt - 1; i++) ... | final boolean writeMouseCommands(int[] cmds) throws DeviceException { boolean ok = true; for (int i = 0; i < cmds.length; i++) { ok &= writeMouseCommand(cmds[i]); } return ok; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b0256958683f8a0221aee7dd41454c146be106f0/PS2Bus.java/clean/gui/src/driver/org/jnode/driver/ps2/PS2Bus.java |
public ContentModel() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ContentModel.java/buggy/core/src/classpath/javax/javax/swing/text/html/parser/ContentModel.java | ||
if (!(g instanceof Graphics2D) || true) | if (true || !(g instanceof Graphics2D)) | public static void drawStringUnderlineCharAt(Graphics g, String text, int underlinedIndex, int x, int y) { Graphics2D g2; Rectangle2D.Double underline; FontRenderContext frc; FontMetrics fmet; LineMetrics lineM... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/698ac538b7482b0e4aac918befb43b8376e364e3/BasicGraphicsUtils.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicGraphicsUtils.java |
{ super(null); | { super(null); | public RootView() { super(null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | public Container getContainer() { return textComponent; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public float getPreferredSpan(int axis) { if (view != null) return view.getPreferredSpan(axis); return Integer.MAX_VALUE; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public ViewFactory getViewFactory() { ViewFactory factory = null; EditorKit editorKit = BasicTextUI.this.getEditorKit(getComponent()); factory = editorKit.getViewFactory(); if (factory == null) factory = BasicTextUI.this; return factory; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
view.paint(g, s); } | view.paint(g, s); } | public void paint(Graphics g, Shape s) { if (view != null) view.paint(g, s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ if (view != null) view.setParent(null); | { if (view != null) view.setParent(null); | public void setView(View v) { if (view != null) view.setParent(null); if (v != null) v.setParent(null); view = v; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ } | { } | public BasicTextUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | protected Caret createCaret() { return new BasicCaret(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ damageRange(t, p0, p1, null, null); } | { damageRange(t, p0, p1, null, null); } | public void damageRange(JTextComponent t, int p0, int p1) { damageRange(t, p0, p1, null, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | ActionMap getActionMap() { String prefix = getPropertyPrefix(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); ActionMap am = (ActionMap) defaults.get(prefix + ".actionMap"); if (am == null) { am = createActionMap(); defaults.put(prefix + ".actionMap", am); } return ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | protected final JTextComponent getComponent() { return textComponent; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ return kit; } | { return kit; } | public EditorKit getEditorKit(JTextComponent t) { return kit; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
Position.Bias[] biasRet) throws BadLocationException { | Position.Bias[] biasRet) throws BadLocationException { | public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException { return 0; // TODO: Implement me. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public int getNextVisualPositionFrom(JTextComponent t, int pos, Position.Bias b, int direction, Position.Bias[] biasRet) throws BadLocationException { return 0; // TODO: Implement me. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
float w = v.getPreferredSpan(View.X_AXIS); float h = v.getPreferredSpan(View.Y_AXIS); | float w = v.getPreferredSpan(View.X_AXIS); float h = v.getPreferredSpan(View.Y_AXIS); | public Dimension getPreferredSize(JComponent c) { View v = getRootView(textComponent); float w = v.getPreferredSpan(View.X_AXIS); float h = v.getPreferredSpan(View.Y_AXIS); return new Dimension((int) w, (int) h); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public Dimension getPreferredSize(JComponent c) { View v = getRootView(textComponent); float w = v.getPreferredSpan(View.X_AXIS); float h = v.getPreferredSpan(View.Y_AXIS); return new Dimension((int) w, (int) h); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | public View getRootView(JTextComponent t) { return rootView; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public View getRootView(JTextComponent t) { return rootView; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | protected void installDefaults() { Caret caret = textComponent.getCaret(); if (caret == null) { caret = createCaret(); textComponent.setCaret(caret); } Highlighter highlighter = textComponent.getHighlighter(); if (highlighter == null) textComponent.setHighlighter(createHigh... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | protected void installKeyboardActions() { // load any bindings for the older Keymap interface Keymap km = JTextComponent.getKeymap(getKeymapName()); if (km == null) km = createKeymap(); textComponent.setKeymap(km); // load any bindings for the newer InputMap / ActionMap interface SwingUtilitie... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
public void installUI(final JComponent c) { super.installUI(c); | public void installUI(final JComponent c) { super.installUI(c); | public void installUI(final JComponent c) { super.installUI(c); c.setOpaque(true); textComponent = (JTextComponent) c; Document doc = textComponent.getDocument(); if (doc == null) { doc = getEditorKit(textComponent).createDefaultDocument(); textComponent.setDocument(doc); } textCompon... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public void installUI(final JComponent c) { super.installUI(c); c.setOpaque(true); textComponent = (JTextComponent) c; Document doc = textComponent.getDocument(); if (doc == null) { doc = getEditorKit(textComponent).createDefaultDocument(); textComponent.setDocument(doc); } textCompon... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
throws BadLocationException { | throws BadLocationException { | public Rectangle modelToView(JTextComponent t, int pos) throws BadLocationException { return modelToView(t, pos, Position.Bias.Forward); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
} | } | public Rectangle modelToView(JTextComponent t, int pos) throws BadLocationException { return modelToView(t, pos, Position.Bias.Forward); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ | { | public final void paint(Graphics g, JComponent c) { paintSafely(g); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
if (textComponent.isEditable()) textComponent.setBackground(background); else textComponent.setBackground(inactiveBackground); g.setColor(textComponent.getBackground()); g.fillRect(0, 0, textComponent.getWidth(), textComponent.getHeight()); } | } | protected void paintBackground(Graphics g) { if (textComponent.isEditable()) textComponent.setBackground(background); else textComponent.setBackground(inactiveBackground); g.setColor(textComponent.getBackground()); g.fillRect(0, 0, textComponent.getWidth(), textComponent.getHeight()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
{ return viewToModel(t, pt, null); } | { return viewToModel(t, pt, null); } | public int viewToModel(JTextComponent t, Point pt) { return viewToModel(t, pt, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
createDefaultTheme(); | public MetalLookAndFeel() { createDefaultTheme(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
if (theme == null) setCurrentTheme(new OceanTheme()); | getCurrentTheme(); | protected void createDefaultTheme() { if (theme == null) setCurrentTheme(new OceanTheme()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java |
if (theme == null) { if ("steel".equals(SystemProperties.getProperty("swing.metalTheme"))) theme = new DefaultMetalTheme(); else theme = new OceanTheme(); } | public static MetalTheme getCurrentTheme() { return theme; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
createDefaultTheme(); | public UIDefaults getDefaults() { if (LAF_defaults == null) { LAF_defaults = super.getDefaults(); // add custom theme entries to the table if (theme != null) theme.addCustomEntriesToTable(LAF_defaults); } // Returns the default values for this look and feel. return... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
"TabbedPane.selected", getControl(), | "TabbedPane.selected", getControl(), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java |
"TabbedPane.tabAreaBackground", getControl(), "TabbedPane.tabAreaInsets", new InsetsUIResource(4, 2, 0, 6), | "TabbedPane.tabAreaBackground", getControl(), "TabbedPane.tabAreaInsets", new InsetsUIResource(4, 2, 0, 6), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java |
"TitledBorder.border", new LineBorderUIResource(getPrimaryControl(), 1), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
protected AccessibleContainerHandler() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | ||
public Container() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | ||
if (this.getMouseListeners().length == 0) | if (getMouseListeners().length == 0 && getMouseMotionListeners().length == 0) | Component findComponentForMouseEventAt(int x, int y) { synchronized (getTreeLock()) { if (!contains(x, y)) return null; for (int i = 0; i < ncomponents; ++i) { // Ignore invisible children... if (!component[i].isVisible()) continue; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
return super.getAlignmentX(); | LayoutManager layout = getLayout(); float alignmentX = 0.0F; if (layout != null && layout instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layout; alignmentX = lm2.getLayoutAlignmentX(this); } else alignmentX = super.getAlignmentX(); return alignmentX; | public float getAlignmentX() { return super.getAlignmentX(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
return super.getAlignmentY(); | LayoutManager layout = getLayout(); float alignmentY = 0.0F; if (layout != null && layout instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layout; alignmentY = lm2.getLayoutAlignmentY(this); } else alignmentY = super.getAlignmentY(); return alignmentY; | public float getAlignmentY() { return super.getAlignmentY(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
super.paint(g); | paint(g); | public void paintComponents(Graphics g) { super.paint(g); visitChildren(g, GfxPaintAllVisitor.INSTANCE, true); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
if (r.isShowing()) | public void remove(int index) { synchronized (getTreeLock ()) { Component r = component[index]; ComponentListener[] list = r.getComponentListeners(); for (int j = 0; j < list.length; j++) r.removeComponentListener(list[j]); r.removeNotify(); System.arra... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
candidate = getDeepestComponentForMouseEventAt(parent, p.x, p.y); | candidate = getDeepestComponentForMouseEventAt(parent, p.x, p.y); | Component acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component mouseEventTarget = null; // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candid... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
if (me.getID() == MouseEvent.MOUSE_RELEASED || me.getID() == MouseEvent.MOUSE_PRESSED && modifiers > 0 | if (me.getID() == MouseEvent.MOUSE_PRESSED && modifiers > 0 | Component acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component mouseEventTarget = null; // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candid... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
Component acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component mouseEventTarget = null; // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candid... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | ||
pressCount = 0; } | Component acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); Component mouseEventTarget = null; // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candid... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
Component getDeepestComponentForMouseEventAt ( Component parent, int x, int y) | Component getDeepestComponentForMouseEventAt(Component parent, int x, int y) | Component getDeepestComponentForMouseEventAt ( Component parent, int x, int y) { if (parent == null || (! parent.contains(x, y))) return null; if (! (parent instanceof Container)) return parent; Container c = (Container) parent; retur... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
pressCount = 0; } | boolean handleEvent(AWTEvent e) { if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; // Make the LightWeightDispatcher reentrant. This is necessary when // a lightweight component does its own modal event queue. Component mouseEventTarget = acquireComponentForMouseEven... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
public void deliverEvent(Event e) | public void deliverEvent (Event e) | public void deliverEvent(Event e) { // XXX Add backward compatibility handling. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
postEvent (e); | public void deliverEvent(Event e) { // XXX Add backward compatibility handling. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java | |
return null; } | return null; } | Component findNextFocusComponent(Component child) { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
public void list(PrintStream out, int indent) | public void list() | public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); | list(System.out, 0); | public void list(PrintStream out, int indent) { for (int i = 0; i < indent; ++i) out.print(' '); out.println(toString()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
s.defaultReadObject(); String key = (String) s.readObject(); | s.defaultReadObject(); String key = (String) s.readObject(); | private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException { s.defaultReadObject(); String key = (String) s.readObject(); while (key != null) { Object listener = s.readObject(); if ("componentL".equals(key)) addComponentListener((ComponentListener) listener); else i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
Object listener = s.readObject(); if ("componentL".equals(key)) addComponentListener((ComponentListener) listener); else if ("focusL".equals(key)) addFocusListener((FocusListener) listener); else if ("keyL".equals(key)) addKeyListener((KeyListener) listener); else if ("mouseL".equals(key)) addMouseListener((MouseListen... | Object listener = s.readObject(); if ("componentL".equals(key)) addComponentListener((ComponentListener) listener); else if ("focusL".equals(key)) addFocusListener((FocusListener) listener); else if ("keyL".equals(key)) addKeyListener((KeyListener) listener); else if ("mouseL".equals(key)) addMouseListener((MouseListen... | private void readObject(ObjectInputStream s) throws ClassNotFoundException, IOException { s.defaultReadObject(); String key = (String) s.readObject(); while (key != null) { Object listener = s.readObject(); if ("componentL".equals(key)) addComponentListener((ComponentListener) listener); else i... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
{ | { | public boolean equals(Object obj){ if (obj == null) return false; if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName().equals(this.getName()) && f.getFamily().equals(this.getFamily()) && f.getFontName().equals(this.getFontName()) && f.getTr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Font.java/buggy/core/src/classpath/java/java/awt/Font.java |
if (!(obj instanceof Font)) | if (! (obj instanceof Font)) | public boolean equals(Object obj){ if (obj == null) return false; if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName().equals(this.getName()) && f.getFamily().equals(this.getFamily()) && f.getFontName().equals(this.getFontName()) && f.getTr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Font.java/buggy/core/src/classpath/java/java/awt/Font.java |
Font f = (Font)obj; | Font f = (Font) obj; | public boolean equals(Object obj){ if (obj == null) return false; if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName().equals(this.getName()) && f.getFamily().equals(this.getFamily()) && f.getFontName().equals(this.getFontName()) && f.getTr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Font.java/buggy/core/src/classpath/java/java/awt/Font.java |
} | } | public boolean equals(Object obj){ if (obj == null) return false; if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName().equals(this.getName()) && f.getFamily().equals(this.getFamily()) && f.getFontName().equals(this.getFontName()) && f.getTr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c0997df57feec0722568b1f1cc390b475c418086/Font.java/buggy/core/src/classpath/java/java/awt/Font.java |
s.defaultWriteObject(); AWTEventMulticaster.save(s, "componentL", componentListener); AWTEventMulticaster.save(s, "focusL", focusListener); AWTEventMulticaster.save(s, "keyL", keyListener); AWTEventMulticaster.save(s, "mouseL", mouseListener); AWTEventMulticaster.save(s, "mouseMotionL", mouseMotionListener); AWTEventMu... | s.defaultWriteObject(); AWTEventMulticaster.save(s, "componentL", componentListener); AWTEventMulticaster.save(s, "focusL", focusListener); AWTEventMulticaster.save(s, "keyL", keyListener); AWTEventMulticaster.save(s, "mouseL", mouseListener); AWTEventMulticaster.save(s, "mouseMotionL", mouseMotionListener); AWTEventMu... | private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); AWTEventMulticaster.save(s, "componentL", componentListener); AWTEventMulticaster.save(s, "focusL", focusListener); AWTEventMulticaster.save(s, "keyL", keyListener); AWTEventMulticaster.save(s, "mouseL", mouseListener); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/566e4ab93ebc97794094572536829e581d565b11/Component.java/buggy/core/src/classpath/java/java/awt/Component.java |
public void read(InputStream in, Object desc) throws IOException | public void read(InputStream in, Object desc) throws IOException { EditorKit kit = getEditorKit(); if (kit instanceof HTMLEditorKit && desc instanceof HTMLDocument) { Document doc = (Document) desc; try { kit.read(in, doc, 0); } catch (BadLocationException ex) { assert false : "BadLocationException must not be thrown h... | public void read(InputStream in, Object desc) throws IOException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java |
Reader inRead = new InputStreamReader(in); super.read(inRead, desc); } | public void read(InputStream in, Object desc) throws IOException { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java | |
public static void registerEditorKitForContentType(String type, String classname) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java | ||
public void replaceSelection(String content) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java | ||
public void scrollToReference(String reference) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JEditorPane.java/clean/core/src/classpath/javax/javax/swing/JEditorPane.java | ||
private synchronized void doInitialize() { | private synchronized final void doInitialize() { | private synchronized void doInitialize() { if (!isInitialized()) { if (!isInitializing()) { state |= VmTypeState.ST_INITIALIZING; /* * Screen.debug("initialize("); Screen.debug(name); */ final VmMethod initMethod = getInitializerMethod(); if (initMethod != null) { try { VmReflection.inv... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
if (!isInitialized()) { | if (!isInitialized() && !isInitializing()) { | public final void initialize() { if (!isInitialized()) { linkAndInitialize(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
Unsafe.debug("loadFromBootClassArray"); | Unsafe.debug("[loadFromBootClassArray:"); | protected static void loadFromBootClassArray(VmType[] bootClasses) { Unsafe.debug("loadFromBootClassArray"); final int count = bootClasses.length; for (int i = 0; i < count; i++) { final VmType<?> vmClass = bootClasses[i]; final String name = vmClass.name; if (vmClass.isPrimitive()) { if (name.equals("bool... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
Unsafe.debug('\n'); | Unsafe.debug("]\n"); | protected static void loadFromBootClassArray(VmType[] bootClasses) { Unsafe.debug("loadFromBootClassArray"); final int count = bootClasses.length; for (int i = 0; i < count; i++) { final VmType<?> vmClass = bootClasses[i]; final String name = vmClass.name; if (vmClass.isPrimitive()) { if (name.equals("bool... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/34018d58ddf97a144be387eabd5b8ae715c6f8a5/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
public LinkageError(String s) { super(s); | public LinkageError() { | public LinkageError(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/LinkageError.java/buggy/core/src/classpath/java/java/lang/LinkageError.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.