rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
{ | { | public Dimension getMaximumSize(JComponent comp) { return getPreferredSize(comp); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | public Dimension getMinimumSize(JComponent comp) { return getPreferredSize(comp); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
{ | { | public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
{ } | { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); action = new TableAction(); Object keys[] = ancestorMap.allKeys(); for (int i = 0; i < keys.length; i++) { table.registerKeyboardAction(action,(String)ancestorMap.get((KeyStroke)keys[i... | protected void installKeyboardActions() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
keyListener = createKeyListener(); | public void installUI(JComponent comp) { table = (JTable)comp; focusListener = createFocusListener(); keyListener = createKeyListener(); mouseInputListener = createMouseInputListener(); installDefaults(); installKeyboardActions(); installListeners(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | ||
writeOut(outputstream, " count=\"" + getCount() + "\""); | writeOut(outputstream, " count=\""); writeOutAttribute(outputstream, getCount().toString()); writeOut(outputstream, "\""); | protected void specificIOStyleToXDF( OutputStream outputstream,String indent) { //open the code writeOut(outputstream, "<" + classXDFNodeName); writeOut(outputstream, " count=\"" + getCount() + "\""); writeOut(outputstream, ">"); //write out nodes in formatCommandList synchronized (formatComm... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/469583f484a02708171e26fa8233ca46ebf80d9b/RepeatFormattedIOCmd.java/clean/src/gov/nasa/gsfc/adc/xdf/RepeatFormattedIOCmd.java |
throws NameNotFoundException { | throws NameNotFoundException, HelpException { | public static void main(String[] args) throws NameNotFoundException { Help.Info info = HELP_INFO; // defaults to print own help ParsedArguments cmdLine = HELP_INFO.parse(args); if (PARAM_COMMAND.isSet(cmdLine)) try { String cmd = ARG_COMMAND.getValue(cmdLine); Class clazz = null; try { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8475fed231619f209c4398ccad2ba966899e292d/HelpCommand.java/clean/shell/src/shell/org/jnode/shell/command/HelpCommand.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public void writeADD(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 0); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 0); write32(imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writeAND(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 4); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 4); write32(imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(reg1, mode.getSize()); testSize(reg2, mode.getSize()); | testSize(reg1, BITS32 | BITS64); testSize(reg2, BITS32 | BITS64); | public void writeCMP(GPR reg1, int disp, GPR reg2) { testSize(reg1, mode.getSize()); testSize(reg2, mode.getSize()); write1bOpcodeModRM(0x39, reg2.getSize(), reg1, disp, reg2.getNr()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(reg, mode.getSize()); | testSize(reg, BITS32 | BITS64); | public final void writeCMP_Const(GPR reg, int imm32) { testSize(reg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, reg.getSize(), reg, 7); write8(imm32); } else { write1bOpcodeModRR(0x81, reg.getSize(), reg, 7); write32(imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writeDEC(GPR dstReg) { testSize(dstReg, mode.getSize()); if (code32) { write8(0x48 + dstReg.getNr()); } else { write1bOpcodeModRR(0xFF, dstReg.getSize(), dstReg, 1); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writeINC(GPR dstReg) { testSize(dstReg, mode.getSize()); if (code32) { write8(0x40 + dstReg.getNr()); } else { write1bOpcodeModRR(0xFF, dstReg.getSize(), dstReg, 0); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); testSize(srcReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); testSize(srcReg, BITS32 | BITS64); | public final void writeMOV(int operandSize, GPR dstReg, int dstDisp, GPR srcReg) { testSize(dstReg, mode.getSize()); testSize(srcReg, mode.getSize()); testDst(dstReg, dstDisp); final int opcode; switch (operandSize) { case X86Constants.BITS8: opcode = 0x88; break; case X86Constants.BITS16: o... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | public final void writeMOV_Const(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); testSize(dstReg, BITS32 | BITS64); if (dstReg.getSize() == BITS32) { write1bOpcodeReg(0xB8, dstReg); write32(imm32); } else { writeMOV_Const(dstReg, (long) imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java | |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writeNEG(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xf7, dstReg.getSize(), dstReg, 3); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public void writeOR(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 1); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 1); write32(imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writePOP(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeReg(0x58, dstReg); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writeSHR(GPR dstReg, int imm8) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xc1, dstReg.getSize(), dstReg, 5); write8(imm8); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public final void writeSHR_CL(GPR dstReg) { testSize(dstReg, mode.getSize()); write1bOpcodeModRR(0xd3, dstReg.getSize(), dstReg, 5); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(reg, mode.getSize()); | testSize(reg, BITS32 | BITS64); | public final void writeSUB(GPR reg, int imm32) { testSize(reg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, reg.getSize(), reg, 5); write8(imm32); } else { write1bOpcodeModRR(0x81, reg.getSize(), reg, 5); write32(imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(reg, mode.getSize()); | testSize(reg, BITS32 | BITS64); | public final void writeTEST(GPR reg, int imm32) { testSize(reg, mode.getSize()); write1bOpcodeModRR(0xF7, reg.getSize(), reg, 0); write32(imm32); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
testSize(dstReg, mode.getSize()); | testSize(dstReg, BITS32 | BITS64); | public void writeXOR(GPR dstReg, int imm32) { testSize(dstReg, mode.getSize()); if (X86Utils.isByte(imm32)) { write1bOpcodeModRR(0x83, dstReg.getSize(), dstReg, 6); write8(imm32); } else { write1bOpcodeModRR(0x81, dstReg.getSize(), dstReg, 6); write32(imm32); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a80d251626f7174aa2accf0086cc28c796bf1d18/X86BinaryAssembler.java/clean/core/src/core/org/jnode/assembler/x86/X86BinaryAssembler.java |
proc.loadPlugins(pluginRegistry); | List descriptors = proc.loadPlugins(pluginRegistry); | public static int vmMain() throws PragmaUninterruptible, PragmaLoadStatics { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); // Load the plugins from the initjar BootLog.info("Loading ini... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/Main.java/buggy/core/src/core/org/jnode/boot/Main.java |
piMgr.startSystemPlugins(); | piMgr.startSystemPlugins(descriptors); | public static int vmMain() throws PragmaUninterruptible, PragmaLoadStatics { //return 15; try { Unsafe.debug("Starting JNode\n"); final long start = VmSystem.currentKernelMillis(); Unsafe.debug("VmSystem.initialize\n"); VmSystem.initialize(); // Load the plugins from the initjar BootLog.info("Loading ini... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/Main.java/buggy/core/src/core/org/jnode/boot/Main.java |
if (sPrettyXDFOutput) | if (Specification.getInstance().isPrettyXDFOutput()) | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/DataFormat.java/buggy/src/gov/nasa/gsfc/adc/xdf/DataFormat.java |
if (sPrettyXDFOutput) | if (Specification.getInstance().isPrettyXDFOutput()) | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/1e7f6912855beedfa6f64bcbc5bc675d9beedbae/DataFormat.java/buggy/src/gov/nasa/gsfc/adc/xdf/DataFormat.java |
if (instance == null) instance = new MetalToolBarUI(); return instance; | return new MetalToolBarUI(); | public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalToolBarUI(); return instance; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5edad632205aa44aca51004923ae52d754cced11/MetalToolBarUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalToolBarUI.java |
if (fixedCellWidth != -1) | if (fixedCellWidth != -1) | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java |
{ | { | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java |
int size = getModel().getSize(); | int size = getModel().getSize(); | public Dimension getPreferredScrollableViewportSize() { //If the layout orientation is not VERTICAL, then this will //return the value from getPreferredSize. The current ListUI is //expected to override getPreferredSize to return an appropriate value. if (getLayoutOrientation() != VERTICAL) return... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JList.java/buggy/core/src/classpath/javax/javax/swing/JList.java |
SwingToolkit.add(canvas, this); SwingToolkit.copyAwtProperties(canvas, this); } | this.canvas = canvas; SwingToolkit.add(canvas, this); SwingToolkit.copyAwtProperties(canvas, this); } | public SwingCanvasPeer(Canvas canvas) { SwingToolkit.add(canvas, this); SwingToolkit.copyAwtProperties(canvas, this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
return false; } | return false; } | public boolean canDetermineObscurity() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
System.err.println(e); } | System.err.println(e); } | public void coalescePaintEvent(PaintEvent e) { System.err.println(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
} | } | public void createBuffers(int x, BufferCapabilities bufferCapabilities) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
} | } | public void destroyBuffers() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
} | } | public void dispose() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
} | } | public void flip(BufferCapabilities.FlipContents flipContents) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
return null; } | return null; } | public Image getBackBuffer() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
} | } | public void handleEvent(AWTEvent e) { //System.err.println(e); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
return false; } | return false; } | public boolean handlesWheelScrolling() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
return false; } | return false; } | public boolean isObscured() { return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
boolean focusedWindowChangeAllowed, long time) { return true; } | boolean focusedWindowChangeAllowed, long time) { return true; } | public boolean requestFocus(Component lightweightChild, boolean temporary, boolean focusedWindowChangeAllowed, long time) { return true; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
public void setEventMask(long mask) { // TODO Auto-generated method stub } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java | ||
} | } | public void setEventMask(long mask) { // TODO Auto-generated method stub } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
} | } | public void updateCursorImmediately() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9db4fc68ede9647d01b988919ce05ed61bf034/SwingCanvasPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingCanvasPeer.java |
{ if (menuItem.isContentAreaFilled()) { | protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { // Menu item is considered to be highlighted when it is selected. // But we don't want to paint the background of JCheckBoxMenuItems ButtonModel mod = menuItem.getModel(); if ((menuItem.isSelected() && checkIcon == null) || (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a78ab2f492456918e4f5c52be600854882e139fc/BasicMenuItemUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | |
} | protected void paintBackground(Graphics g, JMenuItem menuItem, Color bgColor) { // Menu item is considered to be highlighted when it is selected. // But we don't want to paint the background of JCheckBoxMenuItems ButtonModel mod = menuItem.getModel(); if ((menuItem.isSelected() && checkIcon == null) || (... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a78ab2f492456918e4f5c52be600854882e139fc/BasicMenuItemUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java | |
paintBackground(g, m, m.getBackground()); | paintBackground(g, m, background); | protected void paintMenuItem(Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Rectangle tr = new Rectangle(); // text rectangle Rectangle ir = new R... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a78ab2f492456918e4f5c52be600854882e139fc/BasicMenuItemUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java |
StyleConstants.setItalic(atts, ! isBold); | StyleConstants.setBold(atts, ! isBold); | public void actionPerformed(ActionEvent event) { JEditorPane editor = getEditor(event); StyledDocument doc = getStyledDocument(editor); Element el = doc.getCharacterElement(editor.getSelectionStart()); boolean isBold = StyleConstants.isBold(el.getAttributes()); SimpleAttributeSet atts = ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyledEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java |
Document doc = editor.getDocument(); if (doc instanceof StyledDocument) | int p0 = editor.getSelectionStart(); int p1 = editor.getSelectionEnd(); if (p0 != p1) | protected final void setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) { Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (Styl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyledEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java |
StyledDocument styleDoc = (StyledDocument) editor.getDocument(); EditorKit kit = editor.getEditorKit(); if (!(kit instanceof StyledEditorKit)) { StyledEditorKit styleKit = (StyledEditorKit) kit; int start = editor.getSelectionStart(); int end = editor.getSelectionEnd(); int dot = editor.getCaret().getDot(); if (start =... | StyledDocument doc = getStyledDocument(editor); doc.setCharacterAttributes(p0, p1 - p0, atts, replace); | protected final void setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) { Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (Styl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyledEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java |
else styleDoc.setCharacterAttributes(start, end, atts, replace); } else throw new AssertionError("The EditorKit for StyledTextActions " + "is expected to be a StyledEditorKit"); | StyledEditorKit kit = getStyledEditorKit(editor); MutableAttributeSet inputAtts = kit.getInputAttributes(); if (replace) { inputAtts.removeAttributes(inputAtts); | protected final void setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) { Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (Styl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyledEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java |
else throw new AssertionError("The Document for StyledTextActions is " + "expected to be a StyledDocument."); | inputAtts.addAttributes(atts); | protected final void setCharacterAttributes(JEditorPane editor, AttributeSet atts, boolean replace) { Document doc = editor.getDocument(); if (doc instanceof StyledDocument) { StyledDocument styleDoc = (Styl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyledEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/StyledEditorKit.java |
public EditorKit() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/EditorKit.java/clean/core/src/classpath/javax/javax/swing/text/EditorKit.java | ||
boolean addEdit(UndoableEdit anEdit); | boolean addEdit(UndoableEdit edit); | boolean addEdit(UndoableEdit anEdit); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/UndoableEdit.java/buggy/core/src/classpath/javax/javax/swing/undo/UndoableEdit.java |
boolean replaceEdit(UndoableEdit anEdit); | boolean replaceEdit(UndoableEdit edit); | boolean replaceEdit(UndoableEdit anEdit); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/UndoableEdit.java/buggy/core/src/classpath/javax/javax/swing/undo/UndoableEdit.java |
return 0; | for (int i = 0; i < getChildCount(parent); i++) { if (getChild(parent, i).equals(child)) return i; } return -1; | public int getIndexOfChild(Object parent, Object child) { return 0; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/DefaultTreeModel.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeModel.java |
SwingUtilities.convertPointToScreen(sourcePointOnScreen, source); | if (source.isShowing()) SwingUtilities.convertPointToScreen(sourcePointOnScreen, source); | public Component componentForPoint(Component source, Point sourcePoint) { // Convert sourcePoint to screen coordinates. Point sourcePointOnScreen = sourcePoint; SwingUtilities.convertPointToScreen(sourcePointOnScreen, source); Point compPointOnScreen; Component resultComp = null; // For each menu e... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MenuSelectionManager.java/clean/core/src/classpath/javax/javax/swing/MenuSelectionManager.java |
Dimension size = comp.getSize(); | Dimension size = comp.getSize(); | public Component componentForPoint(Component source, Point sourcePoint) { // Convert sourcePoint to screen coordinates. Point sourcePointOnScreen = sourcePoint; SwingUtilities.convertPointToScreen(sourcePointOnScreen, source); Point compPointOnScreen; Component resultComp = null; // For each menu e... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MenuSelectionManager.java/clean/core/src/classpath/javax/javax/swing/MenuSelectionManager.java |
SwingUtilities.convertPointFromScreen(p, comp); | if (comp.isShowing()) SwingUtilities.convertPointFromScreen(p, comp); | public Component componentForPoint(Component source, Point sourcePoint) { // Convert sourcePoint to screen coordinates. Point sourcePointOnScreen = sourcePoint; SwingUtilities.convertPointToScreen(sourcePointOnScreen, source); Point compPointOnScreen; Component resultComp = null; // For each menu e... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MenuSelectionManager.java/clean/core/src/classpath/javax/javax/swing/MenuSelectionManager.java |
} | } | private MenuElement[] getPath(Component c) { // FIXME: There is the same method in BasicMenuItemUI. However I // cannot use it here instead of this method, since I cannot assume that // all the menu elements on the selected path are JMenuItem or JMenu. // For now I've just duplicated it here. Please ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/MenuSelectionManager.java/clean/core/src/classpath/javax/javax/swing/MenuSelectionManager.java |
colSep = true; | public final void setAttribute(int i) { colSep = false; underLine = false; nonDisplay = false; isChanged = attr == i ? false : true; attr = i; if(i == 0) return; switch(i) { case 32: // green normal fg = s.colorGreen; bg = s.colorBg; ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/ScreenChar.java/clean/tn5250j/src/org/tn5250j/ScreenChar.java | |
colSep = true; | public final void setAttribute(int i) { colSep = false; underLine = false; nonDisplay = false; isChanged = attr == i ? false : true; attr = i; if(i == 0) return; switch(i) { case 32: // green normal fg = s.colorGreen; bg = s.colorBg; ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/ScreenChar.java/clean/tn5250j/src/org/tn5250j/ScreenChar.java | |
colSep = true; | public final void setAttribute(int i) { colSep = false; underLine = false; nonDisplay = false; isChanged = attr == i ? false : true; attr = i; if(i == 0) return; switch(i) { case 32: // green normal fg = s.colorGreen; bg = s.colorBg; ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/ScreenChar.java/clean/tn5250j/src/org/tn5250j/ScreenChar.java | |
case 63: | case 63: | public final void setAttribute(int i) { colSep = false; underLine = false; nonDisplay = false; isChanged = attr == i ? false : true; attr = i; if(i == 0) return; switch(i) { case 32: // green normal fg = s.colorGreen; bg = s.colorBg; ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/ScreenChar.java/clean/tn5250j/src/org/tn5250j/ScreenChar.java |
public ThreadLocal() { | public ThreadLocal() { | public ThreadLocal() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java |
public Object get() { | public Object get() { | public Object get() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. Object value = valueMap.get(currentThread); if (value == null) { value = initialValue(); valueMap.put(currentThread, value == null ? NULL ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java |
public Object get() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. Object value = valueMap.get(currentThread); if (value == null) { value = initialValue(); valueMap.put(currentThread, value == null ? NULL ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java | ||
if (value == null) { | if (value == null) { | public Object get() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. Object value = valueMap.get(currentThread); if (value == null) { value = initialValue(); valueMap.put(currentThread, value == null ? NULL ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java |
protected Object initialValue() { | protected Object initialValue() { | protected Object initialValue() { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java |
public void set(Object value) { | public void set(Object value) { | public void set(Object value) { // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. valueMap.put(Thread.currentThread(), value == null ? NULL : value); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java |
public void set(Object value) { // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. valueMap.put(Thread.currentThread(), value == null ? NULL : value); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ThreadLocal.java/buggy/core/src/classpath/java/java/lang/ThreadLocal.java | ||
char[] chars = str.toCharArray(); | final char[] chars = str.toCharArray(); final int bdfFontDepth = bdfFont.getDepth(); | final public void render(Surface surface, Shape clip, AffineTransform tx, String str, int x, int y, Color color) { if (str == null || str.length() == 0) { System.err.println("empty string!"); return; } BDFMetrics fm = (BDFMetrics)bdfFont.getFontMetric... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/BDFTextRenderer.java/clean/gui/src/awt/org/jnode/awt/font/bdf/BDFTextRenderer.java |
int fHeight= glyph.getBbx().height; int[] fData = glyph.getData(); int scan = fData.length/fHeight; | final int fHeight= glyph.getBbx().height; final int glyphBbxY = glyph.getBbx().y; final int bdfFontBbxHeight = bdfFont.getBoundingBox().height; final int[] fData = glyph.getData(); final int scan = fData.length/fHeight; final Point2D src = new Point2D.Double(); final Point2D dst = new Point2D.Double(); ... | final public void render(Surface surface, Shape clip, AffineTransform tx, String str, int x, int y, Color color) { if (str == null || str.length() == 0) { System.err.println("empty string!"); return; } BDFMetrics fm = (BDFMetrics)bdfFont.getFontMetric... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/BDFTextRenderer.java/clean/gui/src/awt/org/jnode/awt/font/bdf/BDFTextRenderer.java |
int fPixel = fData[(k*scan)+j]; | int fPixel = fData[offsetLine+j]; | final public void render(Surface surface, Shape clip, AffineTransform tx, String str, int x, int y, Color color) { if (str == null || str.length() == 0) { System.err.println("empty string!"); return; } BDFMetrics fm = (BDFMetrics)bdfFont.getFontMetric... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/BDFTextRenderer.java/clean/gui/src/awt/org/jnode/awt/font/bdf/BDFTextRenderer.java |
r = ((r * fPixel)>>bdfFont.getDepth()) & 0xFF; g = ((g * fPixel)>>bdfFont.getDepth()) & 0xFF; b = ((b * fPixel)>>bdfFont.getDepth()) & 0xFF; | r = ((r * fPixel)>>bdfFontDepth) & 0xFF; g = ((g * fPixel)>>bdfFontDepth) & 0xFF; b = ((b * fPixel)>>bdfFontDepth) & 0xFF; | final public void render(Surface surface, Shape clip, AffineTransform tx, String str, int x, int y, Color color) { if (str == null || str.length() == 0) { System.err.println("empty string!"); return; } BDFMetrics fm = (BDFMetrics)bdfFont.getFontMetric... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/BDFTextRenderer.java/clean/gui/src/awt/org/jnode/awt/font/bdf/BDFTextRenderer.java |
int py = y+(bdfFont.getBoundingBox().height+base-fHeight)+k-glyph.getBbx().y; surface.setRGBPixel(px, py, fPixel); | int py = y+(base-fHeight)+k-glyphBbxY; src.setLocation(px, py); tx.transform(src, dst); px = (int) dst.getX(); py = (int) dst.getY(); surface.setRGBPixel(px, py, fPixel); | final public void render(Surface surface, Shape clip, AffineTransform tx, String str, int x, int y, Color color) { if (str == null || str.length() == 0) { System.err.println("empty string!"); return; } BDFMetrics fm = (BDFMetrics)bdfFont.getFontMetric... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/BDFTextRenderer.java/clean/gui/src/awt/org/jnode/awt/font/bdf/BDFTextRenderer.java |
} | } | protected static BufferedImage getDestination (ImageReadParam param, Iterator imageTypes, int width, int height) throws IIOException { if (imageTypes == null || !imageTypes.hasNext()) throw new IllegalArgumentException ("imageTypes null or empty"); if (width < 0 || height < 0) th... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/39b6fa6b2c83d98e97f872ed8ae18d9f4803884d/ImageReader.java/buggy/core/src/classpath/javax/javax/imageio/ImageReader.java |
changes.firePropertyChange(this,"print.portWidth", getStringProperty("print.portWidth"), new Double(pappyPort.getWidth())); setProperty("print.portWidth",Double.toString(pappyPort.getWidth())); changes.firePropertyChange(this,"print.portImageWidth", getStringProperty("print.portImageWidth"), new Double(pappyPort.getI... | public void applyAttributes() { if (defaultPrinter.isSelected()) { changes.firePropertyChange(this,"defaultPrinter", getStringProperty("defaultPrinter"), "Yes"); setProperty("defaultPrinter","Yes"); } else { changes.fireProper... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterAttributesPanel.java/clean/tn5250j/src/org/tn5250j/settings/PrinterAttributesPanel.java | |
contentPane.add(page); | public void initPanel() throws Exception { setLayout(new BorderLayout()); contentPane = new JPanel(); contentPane.setLayout(new BoxLayout(contentPane,BoxLayout.Y_AXIS)); add(contentPane,BorderLayout.NORTH); // define ppPanel panel JPanel ppp = new JPanel(); ppp.setBorder(BorderFac... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ee7f4af801cd7844103ac3f946a283bdd4127363/PrinterAttributesPanel.java/clean/tn5250j/src/org/tn5250j/settings/PrinterAttributesPanel.java | |
iNode.decLocked(); | private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException { //synchronize to the inode cache to make sure that the inode does not // get //flushed between reading it and locking it synchronized (((Ext2FileSystem) getFileSystem()).getInodeC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/60d31e127921d38bbafb2b016ba8cf154ba51036/Ext2Directory.java/buggy/fs/src/fs/org/jnode/fs/ext2/Ext2Directory.java | |
iNode.decLocked(); | private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException { //synchronize to the inode cache to make sure that the inode does not // get //flushed between reading it and locking it synchronized (((Ext2FileSystem) getFileSystem()).getInodeC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/60d31e127921d38bbafb2b016ba8cf154ba51036/Ext2Directory.java/buggy/fs/src/fs/org/jnode/fs/ext2/Ext2Directory.java | |
} finally { iNode.decLocked(); | private void addDirectoryRecord(Ext2DirectoryRecord dr) throws IOException, FileSystemException { //synchronize to the inode cache to make sure that the inode does not // get //flushed between reading it and locking it synchronized (((Ext2FileSystem) getFileSystem()).getInodeC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/60d31e127921d38bbafb2b016ba8cf154ba51036/Ext2Directory.java/buggy/fs/src/fs/org/jnode/fs/ext2/Ext2Directory.java | |
throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); | throw new BAD_OPERATION(Minor.Method, CompletionStatus.COMPLETED_MAYBE); | public OutputStream _invoke(String method, InputStream in, ResponseHandler rh) { OutputStream out = null; Integer call_method = (Integer) methods.get(method); if (call_method == null) throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); switch (call_method.intValue()) { case 0 :... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/_NamingContextImplBase.java/clean/core/src/classpath/org/org/omg/CosNaming/_NamingContextImplBase.java |
throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); | throw new BAD_OPERATION(Minor.Method, CompletionStatus.COMPLETED_MAYBE); | public void invoke(ServerRequest request) { Streamable result = null; // The server request contains no required result type. Integer call_method = (Integer) methods.get(request.operation()); if (call_method == null) throw new BAD_OPERATION(0, CompletionStatus.COMPLETED_MAYBE); switch (call_metho... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/_NamingContextImplBase.java/clean/core/src/classpath/org/org/omg/CosNaming/_NamingContextImplBase.java |
public static HostnameVerifier getDefaultHostnameVerifier() | public static synchronized HostnameVerifier getDefaultHostnameVerifier() | public static HostnameVerifier getDefaultHostnameVerifier() { return defaultVerifier; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/HttpsURLConnection.java/clean/core/src/classpath/javax/javax/net/ssl/HttpsURLConnection.java |
if (defaultVerifier == null) { defaultVerifier = new TrivialHostnameVerifier(); } | public static HostnameVerifier getDefaultHostnameVerifier() { return defaultVerifier; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/HttpsURLConnection.java/clean/core/src/classpath/javax/javax/net/ssl/HttpsURLConnection.java | |
public static SSLSocketFactory getDefaultSSLSocketFactory() | public static synchronized SSLSocketFactory getDefaultSSLSocketFactory() | public static SSLSocketFactory getDefaultSSLSocketFactory() { return defaultFactory; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/HttpsURLConnection.java/clean/core/src/classpath/javax/javax/net/ssl/HttpsURLConnection.java |
if (defaultFactory == null) { try { defaultFactory = (SSLSocketFactory) SSLSocketFactory.getDefault(); } catch (Throwable t) { t.printStackTrace(); } } | public static SSLSocketFactory getDefaultSSLSocketFactory() { return defaultFactory; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/HttpsURLConnection.java/clean/core/src/classpath/javax/javax/net/ssl/HttpsURLConnection.java | |
} | public static void setDefaultHostnameVerifier(HostnameVerifier newDefault) { if (newDefault == null) throw new IllegalArgumentException("default verifier cannot be null"); SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(new SSLPermission("setHostnameVerifier"))... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/HttpsURLConnection.java/clean/core/src/classpath/javax/javax/net/ssl/HttpsURLConnection.java | |
} | public static void setDefaultSSLSocketFactory(SSLSocketFactory newDefault) { if (newDefault == null) throw new IllegalArgumentException("default factory cannot be null"); SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkSetFactory(); defaultFactory = newDefault; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/HttpsURLConnection.java/clean/core/src/classpath/javax/javax/net/ssl/HttpsURLConnection.java | |
protected abstract void resolve() throws PluginException; | protected abstract void resolve(PluginRegistryModel registry) throws PluginException; | protected abstract void resolve() throws PluginException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/AbstractModelObject.java/clean/core/src/core/org/jnode/plugin/model/AbstractModelObject.java |
protected abstract void unresolve() throws PluginException; | protected abstract void unresolve(PluginRegistryModel registry) throws PluginException; | protected abstract void unresolve() throws PluginException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/AbstractModelObject.java/clean/core/src/core/org/jnode/plugin/model/AbstractModelObject.java |
} else { | } else if (graphic.isSelected()){ | public SendEMailDialog(Frame parent, Session session) { if (!isEMailAvailable()) { JOptionPane.showMessageDialog( parent, LangTool.getString("messages.noEmailAPI"), "Error", JOptionPane.ERROR_MESSAGE, null); } else { this.session = session; Screen5250 screen = session.getScreen(); Object[] m... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/4ccdbe874cb1f262f6091d88cd5a1cd338cfe6a0/SendEMailDialog.java/buggy/tn5250j/src/org/tn5250j/mailtools/SendEMailDialog.java |
void hideTip() { if (currentTip == null || ! currentTip.isVisible() || ! enabled) return; currentTip.setVisible(false); if (containerPanel != null) { Container parent = containerPanel.getParent(); if (parent == null) return; parent.remove(containerPanel); parent = currentTip.getParent(); if (par... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5edad632205aa44aca51004923ae52d754cced11/ToolTipManager.java/buggy/core/src/classpath/javax/javax/swing/ToolTipManager.java | ||
currentTip = null; | void hideTip() { if (currentTip == null || ! currentTip.isVisible() || ! enabled) return; currentTip.setVisible(false); if (containerPanel != null) { Container parent = containerPanel.getParent(); if (parent == null) return; parent.remove(containerPanel); parent = currentTip.getParent(); if (par... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5edad632205aa44aca51004923ae52d754cced11/ToolTipManager.java/buggy/core/src/classpath/javax/javax/swing/ToolTipManager.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.