rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
throw new BAD_OPERATION(); | BAD_OPERATION bad = new BAD_OPERATION(); bad.initCause(ex); bad.minor = Minor.Any; throw bad; | public static CannotProceed extract(Any a) { try { return ((CannotProceedHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/CannotProceedHelper.java/buggy/core/src/classpath/org/org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java |
String note, int minimum, int maximum) { this.component = component; this.message = message; this.note = note; this.minimum = minimum; this.maximum = maximum; | String note, int minimum, int maximum) { | public ProgressMonitor(Component component, Object message, String note, int minimum, int maximum) { // Set Data this.component = component; this.message = message; this.note = note; this.minimum = minimum; this.maximum = maximum; // TODO } // ProgressMonitor() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
} | this.component = component; this.message = message; this.note = note; min = minimum; max = maximum; } | public ProgressMonitor(Component component, Object message, String note, int minimum, int maximum) { // Set Data this.component = component; this.message = message; this.note = note; this.minimum = minimum; this.maximum = maximum; // TODO } // ProgressMonitor() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void close() { } | public void close() { if ( progressDialog != null ) { progressDialog.setVisible(false); } if ( timer != null ) { timer.stop(); timer = null; } } | public void close() { // TODO } // close() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public int getMaximum() { return maximum; } | public int getMaximum() { return max; } | public int getMaximum() { return maximum; // TODO } // getMaximum() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public int getMillisToDecideToPopup() { return millisToDecideToPopup; } | public int getMillisToDecideToPopup() { return millisToDecideToPopup; } | public int getMillisToDecideToPopup() { return millisToDecideToPopup; // TODO } // getMillisToDecideToPopup() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public int getMillisToPopup() { return millisToPopup; } | public int getMillisToPopup() { return millisToPopup; } | public int getMillisToPopup() { return millisToPopup; // TODO } // getMillisToPopup() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public int getMinimum() { return minimum; } | public int getMinimum() { return min; } | public int getMinimum() { return minimum; // TODO } // getMinimum() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public String getNote() { return note; } | public String getNote() { return note; } | public String getNote() { return note; // TODO } // getNote() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public boolean isCanceled() { return false; } | public boolean isCanceled() { return canceled; } | public boolean isCanceled() { return false; // TODO } // isCanceled() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void setMaximum(int maximum) { this.maximum = maximum; } | public void setMaximum(int maximum) { max = maximum; } | public void setMaximum(int maximum) { this.maximum = maximum; // TODO } // setMaximum() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void setMillisToDecideToPopup(int time) { millisToDecideToPopup = time; } | public void setMillisToDecideToPopup(int time) { millisToDecideToPopup = time; } | public void setMillisToDecideToPopup(int time) { millisToDecideToPopup = time; // TODO } // setMillisToDecideToPopup() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void setMillisToPopup(int time) { millisToPopup = time; } | public void setMillisToPopup(int time) { millisToPopup = time; } | public void setMillisToPopup(int time) { millisToPopup = time; // TODO } // setMillisToPopup() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void setMinimum(int minimum) { this.minimum = minimum; } | public void setMinimum(int minimum) { min = minimum; } | public void setMinimum(int minimum) { this.minimum = minimum; // TODO } // setMinimum() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void setNote(String note) { this.note = note; } | public void setNote(String note) { if ( noteLabel != null ) { noteLabel.setText(note); } else { this.note = note; } } | public void setNote(String note) { this.note = note; // TODO } // setNote() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public void setProgress(int progress) { } | public void setProgress(int progress) { this.progress = progress; if ( timer == null && progressDialog == null ) { timer = new Timer(25, null); timer.addActionListener(new TimerListener()); timer.start(); } if ( progressBar != null && this.progress >= progressBar.getMaximum() ) { close(); } } | public void setProgress(int progress) { // TODO } // setProgress() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ProgressMonitor.java/buggy/core/src/classpath/javax/javax/swing/ProgressMonitor.java |
public DefaultButtonModel() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/DefaultButtonModel.java/clean/core/src/classpath/javax/javax/swing/DefaultButtonModel.java | ||
else if (! b && sel == m) | else if (!b && sel == m) | public void setSelected(ButtonModel m, boolean b) { if ((sel != m || b) && (! b || sel == m)) return; if (b && sel != m) { ButtonModel old = sel; sel = m; if (old != null) old.setSelected(false); AbstractButton button = FindButton(old); if (button != null) button.repaint(); } else if (! b... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/ButtonGroup.java/buggy/core/src/classpath/javax/javax/swing/ButtonGroup.java |
public CharHolder(char initial_value) | public CharHolder() | public CharHolder(char initial_value) { value = initial_value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9b55eb78411ab1a82da7ba097b7b93a8cd80865/CharHolder.java/clean/core/src/classpath/org/org/omg/CORBA/CharHolder.java |
value = initial_value; | public CharHolder(char initial_value) { value = initial_value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9b55eb78411ab1a82da7ba097b7b93a8cd80865/CharHolder.java/clean/core/src/classpath/org/org/omg/CORBA/CharHolder.java | |
public void loadPlugins(PluginRegistry piRegistry) { | public List loadPlugins(PluginRegistry piRegistry) { | public void loadPlugins(PluginRegistry piRegistry) { if (jarFile == null) { return; } final InitJarPluginLoader loader = new InitJarPluginLoader(); for (Enumeration e = jarFile.entries(); e.hasMoreElements();) { final JarEntry entry = (JarEntry) e.nextElement(); if (entry.getName().endsWith(".jar")) { try... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/InitJarProcessor.java/clean/core/src/core/org/jnode/boot/InitJarProcessor.java |
return; | return null; | public void loadPlugins(PluginRegistry piRegistry) { if (jarFile == null) { return; } final InitJarPluginLoader loader = new InitJarPluginLoader(); for (Enumeration e = jarFile.entries(); e.hasMoreElements();) { final JarEntry entry = (JarEntry) e.nextElement(); if (entry.getName().endsWith(".jar")) { try... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/InitJarProcessor.java/clean/core/src/core/org/jnode/boot/InitJarProcessor.java |
piRegistry.loadPlugin(loader, "", "", false); | final PluginDescriptor descr = piRegistry.loadPlugin(loader, "", "", false); descriptors.add(descr); | public void loadPlugins(PluginRegistry piRegistry) { if (jarFile == null) { return; } final InitJarPluginLoader loader = new InitJarPluginLoader(); for (Enumeration e = jarFile.entries(); e.hasMoreElements();) { final JarEntry entry = (JarEntry) e.nextElement(); if (entry.getName().endsWith(".jar")) { try... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/InitJarProcessor.java/clean/core/src/core/org/jnode/boot/InitJarProcessor.java |
return descriptors; | public void loadPlugins(PluginRegistry piRegistry) { if (jarFile == null) { return; } final InitJarPluginLoader loader = new InitJarPluginLoader(); for (Enumeration e = jarFile.entries(); e.hasMoreElements();) { final JarEntry entry = (JarEntry) e.nextElement(); if (entry.getName().endsWith(".jar")) { try... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a4bc60fa9952eee4e8b6801b3a5736f52717054a/InitJarProcessor.java/clean/core/src/core/org/jnode/boot/InitJarProcessor.java | |
public final void drawChar(Graphics2D g, int pos, int row, int col) { Screen5250 s = screen; ScreenPlanes planes = s.planes;// int attr = planes.getCharAttr(pos); int attr = updateRect.attr[pos]; sChar[0] = updateRect.text[pos]; setDrawAttr(pos); boolean attributePlace = planes.isA... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/c5eb8e840b5f3356b24c8dd991c0b6247ecf6849/GuiGraphicBuffer.java/buggy/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java | ||
public final void drawChar(Graphics2D g, int pos, int row, int col) { Screen5250 s = screen; ScreenPlanes planes = s.planes;// int attr = planes.getCharAttr(pos); int attr = updateRect.attr[pos]; sChar[0] = updateRect.text[pos]; setDrawAttr(pos); boolean attributePlace = planes.isA... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/c5eb8e840b5f3356b24c8dd991c0b6247ecf6849/GuiGraphicBuffer.java/buggy/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java | ||
public final void drawChar(Graphics2D g, int pos, int row, int col) { Screen5250 s = screen; ScreenPlanes planes = s.planes;// int attr = planes.getCharAttr(pos); int attr = updateRect.attr[pos]; sChar[0] = updateRect.text[pos]; setDrawAttr(pos); boolean attributePlace = planes.isA... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/c5eb8e840b5f3356b24c8dd991c0b6247ecf6849/GuiGraphicBuffer.java/buggy/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java | ||
public final void drawChar(Graphics2D g, int pos, int row, int col) { Screen5250 s = screen; ScreenPlanes planes = s.planes;// int attr = planes.getCharAttr(pos); int attr = updateRect.attr[pos]; sChar[0] = updateRect.text[pos]; setDrawAttr(pos); boolean attributePlace = planes.isA... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/c5eb8e840b5f3356b24c8dd991c0b6247ecf6849/GuiGraphicBuffer.java/buggy/tn5250j/src/org/tn5250j/GuiGraphicBuffer.java | ||
return screenIsAttr[pos]; | return screenIsAttr[pos] == '1' ? true : false; | protected final boolean isAttributePlace(int pos) { return screenIsAttr[pos]; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/712320ed131f97f335a7cc629aa6ad6b6b806652/ScreenPlanes.java/buggy/tn5250j/src/org/tn5250j/ScreenPlanes.java |
jComponent.getContentPane().setLayout(new SwingContainerLayout(this)); | public SwingWindowPeer(SwingToolkit toolkit, Window window) { super(toolkit, window, new SwingWindow(window)); SwingToolkit.copyAwtProperties(window, jComponent); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c772b17b7fb843d3870d0fbcde37f457a2948dbf/SwingWindowPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingWindowPeer.java | |
System.out.println("User Home = " + System.getProperty("user.home")); | private void checkLegacy() { // we check if the sessions file already exists in the directory // if it does exist we are working with an old install so we // need to set the settings directory to the users directory File ses = new File("sessions"); if(ses.exists()) { settings.setProp... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/3c79882749ca7a142413c77c9d4aa2b3c910a74a/GlobalConfigure.java/clean/tn5250j/src/org/tn5250j/GlobalConfigure.java | |
log.info("reserved triple indirect block: "+tripleIndirectBlockNr); | private final void registerBlockIndex(long i, long blockNr) throws FileSystemException, IOException{ final long blockCount = getSizeInBlocks(); final int indirectCount = getIndirectCount(); long allocatedBlocks = i; if(i != blockCount) throw new FileSystemException( "Trying to register block "+i+" (counts from ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/052fc489d30725556cfdc680b282f9b0bed89fe2/INode.java/buggy/fs/src/fs/org/jnode/fs/ext2/INode.java | |
public void setLastAllocatedBlockIndex(long l) { lastAllocatedBlockIndex = l; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public int getPreallocCount() { return preallocCount; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public synchronized long usePreallocBlock() throws FileSystemException { if(preallocCount <= 0) throw new FileSystemException("No preallocated blocks"); --preallocCount; return preallocBlock++; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public synchronized void setPreallocBlock(long l) { preallocBlock = l; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public synchronized void setPreallocCount(int l) { preallocCount = l; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public int getGroup() { return group; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public long getLastAllocatedBlockIndex() { return lastAllocatedBlockIndex; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public int getINodeNr() { return iNodeNr; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public INodeTable getINodeTable() { return iNodeTable; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
public int getIndex() { return index; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/INodeDescriptor.java/buggy/fs/src/fs/org/jnode/fs/ext2/INodeDescriptor.java | ||
return entry.getCertificates(); | return ((JarEntry) ((JarURLLoader) loader).jarfile.getEntry(name)) .getCertificates(); | Certificate[] getCertificates() { return entry.getCertificates(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return (Class)AccessController.doPrivileged | result = (Class)AccessController.doPrivileged | 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/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
return defineClass(className, classData, 0, classData.length, source); | result = defineClass(className, classData, 0, classData.length, source); super.setSigners(result, resource.getCertificates()); return result; | 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/62bb818fd7bc55fbb32b7cfa4b44b94383422a54/URLClassLoader.java/clean/core/src/classpath/java/java/net/URLClassLoader.java |
"SplitPaneDivider.border", BasicBorders.getSplitPaneDividerBorder(), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
return new DummyIcon(); | return new Icon() { public int getIconHeight() { return 13; } public int getIconWidth() { return 13; } public void paintIcon(Component c, Graphics g, int x, int y) { Color saved = g.getColor(); g.setColor(Color.BLACK); g.drawLine(3 + x, 5 + y, 3 + x, 9 + y); g.drawLine(4 + x, 5 + y, 4 + x, 9 + y); g.drawLine(5 + x, 7... | public static Icon getMenuItemCheckIcon() { return new DummyIcon(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/72da40e5e4e3a49848a07aeb7fb7c8735af24ae0/BasicIconFactory.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicIconFactory.java |
if (dx==0 && dy==0) | if (dx == 0 && dy == 0) | void paintBackingStore(Graphics g) { // If we have no backing store image yet or the size of the component has // changed, we need to rebuild the backing store. if (backingStoreImage == null || sizeChanged) { backingStoreImage = createImage(getWidth(), getHeight()); sizeChanged = false; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JViewport.java/clean/core/src/classpath/javax/javax/swing/JViewport.java |
getWidth(), getHeight()); | getWidth(), getHeight()); | protected void paintBorder(Graphics graphics) { Border border = getBorder(); if (paintBorder && border != null) border.paintBorder(this, graphics, 0, 0, getWidth(), getHeight()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JProgressBar.java/buggy/core/src/classpath/javax/javax/swing/JProgressBar.java |
protected AccessibleJRadioButtonMenuItem() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JRadioButtonMenuItem.java/buggy/core/src/classpath/javax/javax/swing/JRadioButtonMenuItem.java | ||
throw new BAD_OPERATION("CORBA object expected"); | BAD_OPERATION bad = new BAD_OPERATION("CORBA object expected"); bad.minor = Minor.Any; throw bad; | public static org.omg.CORBA.Object extract(Any a) { try { return ((ObjectHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("CORBA object expected"); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/44e3ea509d80974dab547c4d1cf8c070d32bac86/ObjectHelper.java/clean/core/src/classpath/org/org/omg/CORBA/ObjectHelper.java |
File ses = new File("sessions"); if(ses.exists()) { | private void checkLegacy() { // we check if the sessions file already exists in the directory // if it does exist we are working with an old install so we // need to set the settings directory to the users directory File ses = new File("sessions"); if(ses.exists()) { settings.setProperty("emulator.settingsD... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java | |
settings.setProperty("emulator.settingsDirectory", System.getProperty("user.dir") + File.separator); } else { settings.setProperty("emulator.settingsDirectory", System.getProperty("user.home") + File.separator + ".tn5250j" + File.separator); | File ses = new File("sessions"); | private void checkLegacy() { // we check if the sessions file already exists in the directory // if it does exist we are working with an old install so we // need to set the settings directory to the users directory File ses = new File("sessions"); if(ses.exists()) { settings.setProperty("emulator.settingsD... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
} } | if(ses.exists()) { settings.setProperty("emulator.settingsDirectory", System.getProperty("user.dir") + File.separator); } else { settings.setProperty("emulator.settingsDirectory", System.getProperty("user.home") + File.separator + ".tn5250j" + File.separator); } } | private void checkLegacy() { // we check if the sessions file already exists in the directory // if it does exist we are working with an old install so we // need to set the settings directory to the users directory File ses = new File("sessions"); if(ses.exists()) { settings.setProperty("emulator.settingsD... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
loadSettings(); | loadSettings(); | private void initialize() { loadSettings(); loadSessions(); loadMacros(); loadKeyStrokes(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
getProperties(KEYMAP,KEYMAP,true,"",true); | setProperties(KEYMAP,KEYMAP, "------ Key Map key=keycode,isShiftDown,isControlDown,isAltDown,isAltGrDown --------", true); | private void loadKeyStrokes() {// FileInputStream in = null;// Properties keystrokes = new Properties();//// try {// in = new FileInputStream(settingssDirectory()// + KEYMAP);// keystrokes.load(in);// }// catch (FileNotFoundException fnfe) ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
getProperties(MACROS,MACROS,true,"",true); | setProperties(MACROS,MACROS,"------ Macros --------",true); | private void loadMacros() {// FileInputStream in = null;// Properties macs = new Properties();//// try {// in = new FileInputStream(settingssDirectory()// + MACROS);// macs.load(in);// }// catch (FileNotFoundException fnfe) {System.out.prin... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
getProperties(SESSIONS,SESSIONS,true,"",true); | setProperties(SESSIONS,SESSIONS,"------ Sessions --------",true); | private void loadSessions() {// FileInputStream in = null;// Properties sessions = new Properties();//// try {// in = new FileInputStream(settingssDirectory() + SESSIONS);// sessions.load(in);//// }// catch (FileNotFoundException fnfe) {// System.out.println(" Inform... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
in = new FileInputStream("tn5250jsettings.cfg"); | in = new FileInputStream(settingsFile); | private void loadSettings() { FileInputStream in = null; settings = new Properties(); try { in = new FileInputStream("tn5250jsettings.cfg"); settings.load(in); } catch (FileNotFoundException fnfe) { System.out.println(" Information Message: " + fnfe.getMessage() + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
System.out.println(" Information Message: " + fnfe.getMessage() + ". The file tn5250jsettings.cfg will" + " be created for first time use."); checkLegacy(); saveSettings(); | System.out.println(" Information Message: " + fnfe.getMessage() + ". The file " + settingsFile + " will" + " be created for first time use."); checkLegacy(); saveSettings(); | private void loadSettings() { FileInputStream in = null; settings = new Properties(); try { in = new FileInputStream("tn5250jsettings.cfg"); settings.load(in); } catch (FileNotFoundException fnfe) { System.out.println(" Information Message: " + fnfe.getMessage() + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
System.out.println("IO Exception accessing File tn5250jsettings.cfg for the following reason : " | System.out.println("IO Exception accessing File " + settingsFile + " for the following reason : " | private void loadSettings() { FileInputStream in = null; settings = new Properties(); try { in = new FileInputStream("tn5250jsettings.cfg"); settings.load(in); } catch (FileNotFoundException fnfe) { System.out.println(" Information Message: " + fnfe.getMessage() + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
System.out.println("Security Exception for file tn5250jsettings.cfg. This file can not be " + "accessed because : " + se.getMessage()); | System.out.println("Security Exception for file " + settingsFile + " This file can not be " + "accessed because : " + se.getMessage()); | private void loadSettings() { FileInputStream in = null; settings = new Properties(); try { in = new FileInputStream("tn5250jsettings.cfg"); settings.load(in); } catch (FileNotFoundException fnfe) { System.out.println(" Information Message: " + fnfe.getMessage() + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
File sd = new File(settings.getProperty("emulator.settingsDirectory")); if (!sd.isDirectory()) sd.mkdirs(); | File sd = new File(settings.getProperty("emulator.settingsDirectory")); if (!sd.isDirectory()) sd.mkdirs(); | private void loadSettings() { FileInputStream in = null; settings = new Properties(); try { in = new FileInputStream("tn5250jsettings.cfg"); settings.load(in); } catch (FileNotFoundException fnfe) { System.out.println(" Information Message: " + fnfe.getMessage() + "... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
try { FileOutputStream out = new FileOutputStream("tn5250jsettings.cfg"); settings.store(out,"----------------- tn5250j Global Settings --------------"); } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {} | try { FileOutputStream out = new FileOutputStream(settingsFile); settings.store(out,"----------------- tn5250j Global Settings --------------"); } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {} | public void saveSettings() { try { FileOutputStream out = new FileOutputStream("tn5250jsettings.cfg"); settings.store(out,"----------------- tn5250j Global Settings --------------"); } catch (FileNotFoundException fnfe) {} catch (IOException ioe) {} } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java |
private String settingsDirectory() { //System.out.println(settings.getProperty("emulator.settingsDirectory")); return settings.getProperty("emulator.settingsDirectory"); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/30f98b37d145e16ed4c5e314b8cf6d272bab1023/GlobalConfigure.java/buggy/tn5250j/src/org/tn5250j/GlobalConfigure.java | ||
public void drawString(String text, int x, int y) { System.out.println("drawText():" + text); if(this.font != null) ((JNodeToolkit)Toolkit.getDefaultToolkit()).getFontManager().drawText(this,text,font,x,y); | public void drawString(AttributedCharacterIterator iterator, float x, float y) { | public void drawString(String text, int x, int y) { System.out.println("drawText():" + text); if(this.font != null) ((JNodeToolkit)Toolkit.getDefaultToolkit()).getFontManager().drawText(this,text,font,x,y); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4557d0702a8d0890ae78e109ce9a6ba79d7a5beb/AbstractGraphics.java/buggy/gui/src/awt/org/jnode/awt/util/AbstractGraphics.java |
return (cObject) objects.get(key); | return (cObject) objects.get(key); } | public cObject get(byte[] key) { synchronized (objects) { return (cObject) objects.get(key); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java |
} | public cObject get(byte[] key) { synchronized (objects) { return (cObject) objects.get(key); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java | |
Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; | Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; | public cObject getKey(org.omg.CORBA.Object stored_object) { synchronized (objects) { Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); if (stored_objec... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java |
while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); | while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); | public cObject getKey(org.omg.CORBA.Object stored_object) { synchronized (objects) { Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); if (stored_objec... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java |
return ref; } | return ref; } | public cObject getKey(org.omg.CORBA.Object stored_object) { synchronized (objects) { Map.Entry item; Iterator iter = objects.entrySet().iterator(); cObject ref; while (iter.hasNext()) { item = (Map.Entry) iter.next(); ref = (cObject) item.getValue(); if (stored_objec... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java |
cObject ref = getKey(object); if (ref != null) objects.remove(ref.key); | cObject ref = getKey(object); if (ref != null) objects.remove(ref.key); } | public void remove(org.omg.CORBA.Object object) { synchronized (objects) { cObject ref = getKey(object); if (ref != null) objects.remove(ref.key); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java |
} | public void remove(org.omg.CORBA.Object object) { synchronized (objects) { cObject ref = getKey(object); if (ref != null) objects.remove(ref.key); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6fbea77d56a376359e68d80e2947191a6f9dae3/Connected_objects.java/buggy/core/src/classpath/gnu/gnu/CORBA/Connected_objects.java | |
public static Constant getInstance(Object value) { return new ReferenceConstant(value); | public static Constant getInstance(int value) { return new IntConstant(value); | public static Constant getInstance(Object value) { return new ReferenceConstant(value); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/Constant.java/buggy/core/src/core/org/jnode/vm/compiler/ir/Constant.java |
Ext2Debugger.debug("CACHE HIT, size:"+size(),4); | log.debug("CACHE HIT, size:"+size()); | public boolean containsKey(Integer key) { boolean result = super.containsKey(key); if(result) Ext2Debugger.debug("CACHE HIT, size:"+size(),4); else Ext2Debugger.debug("CACHE MISS",4); return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95169e195210009513efbf3cd307b4f1185f9ce5/BlockCache.java/clean/fs/src/fs/org/jnode/fs/ext2/cache/BlockCache.java |
Ext2Debugger.debug("CACHE MISS",4); | log.debug("CACHE MISS"); | public boolean containsKey(Integer key) { boolean result = super.containsKey(key); if(result) Ext2Debugger.debug("CACHE HIT, size:"+size(),4); else Ext2Debugger.debug("CACHE MISS",4); return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/95169e195210009513efbf3cd307b4f1185f9ce5/BlockCache.java/clean/fs/src/fs/org/jnode/fs/ext2/cache/BlockCache.java |
throws NotImplementedException | public boolean getDragEnabled() throws NotImplementedException { // FIXME: Implement return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java | |
return false; | return dragEnabled; | public boolean getDragEnabled() throws NotImplementedException { // FIXME: Implement return false; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
return "JFileChooser"; | StringBuffer sb = new StringBuffer(super.paramString()); sb.append(",approveButtonText="); if (approveButtonText != null) sb.append(approveButtonText); sb.append(",currentDirectory="); if (currentDir != null) sb.append(currentDir); sb.append(",dialogTitle="); if (dialogTitle != null) sb.append(dialogTitle); sb.append("... | protected String paramString() { return "JFileChooser"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java |
throws NotImplementedException | public void setDragEnabled(boolean b) throws NotImplementedException { // FIXME: Implement } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java | |
if (b && GraphicsEnvironment.isHeadless()) throw new HeadlessException(); dragEnabled = b; | public void setDragEnabled(boolean b) throws NotImplementedException { // FIXME: Implement } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFileChooser.java/clean/core/src/classpath/javax/javax/swing/JFileChooser.java | |
editor.addActionListener(l); | public void addActionListener(ActionListener l) { // FIXME: Need to implement } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/BasicComboBoxEditor.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxEditor.java | |
editor.removeActionListener(l); | public void removeActionListener(ActionListener l) { // FIXME: Need to implement } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/BasicComboBoxEditor.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicComboBoxEditor.java | |
super(CS_sRGB, profile.getNumComponents()); | super(profile.getColorSpaceType(), profile.getNumComponents()); converter = getConverter(profile); | public ICC_ColorSpace(ICC_Profile profile) { super(CS_sRGB, profile.getNumComponents()); thisProfile = profile; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
nComponents = profile.getNumComponents(); type = profile.getColorSpaceType(); makeArrays(); | public ICC_ColorSpace(ICC_Profile profile) { super(CS_sRGB, profile.getNumComponents()); thisProfile = profile; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java | |
throw new UnsupportedOperationException(); | return converter.fromCIEXYZ(colorvalue); | public float[] fromCIEXYZ(float[] colorvalue) { // FIXME: Not implemented throw new UnsupportedOperationException(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
if (rgbvalue.length < 3) throw new IllegalArgumentException (); return rgbvalue; | return converter.fromRGB(rgbvalue); | public float[] fromRGB(float[] rgbvalue) { if (rgbvalue.length < 3) throw new IllegalArgumentException (); // FIXME: Always assumes sRGB: return rgbvalue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
if (type == TYPE_XYZ && idx >= 0 && idx <= 2) | if (type == ColorSpace.TYPE_XYZ && idx >= 0 && idx <= 2) | public float getMaxValue(int idx) { if (type == TYPE_XYZ && idx >= 0 && idx <= 2) return 1 + 32767 / 32768f; else if (type == TYPE_Lab) { if (idx == 0) return 100; if (idx == 1 || idx == 2) return 127; } if (idx < 0 || idx >= numComponents) throw new Illeg... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
else if (type == TYPE_Lab) | else if (type == ColorSpace.TYPE_Lab) | public float getMaxValue(int idx) { if (type == TYPE_XYZ && idx >= 0 && idx <= 2) return 1 + 32767 / 32768f; else if (type == TYPE_Lab) { if (idx == 0) return 100; if (idx == 1 || idx == 2) return 127; } if (idx < 0 || idx >= numComponents) throw new Illeg... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
if (idx < 0 || idx >= numComponents) | if (idx < 0 || idx >= nComponents) | public float getMaxValue(int idx) { if (type == TYPE_XYZ && idx >= 0 && idx <= 2) return 1 + 32767 / 32768f; else if (type == TYPE_Lab) { if (idx == 0) return 100; if (idx == 1 || idx == 2) return 127; } if (idx < 0 || idx >= numComponents) throw new Illeg... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
if (type == TYPE_Lab && (idx == 1 || idx == 2)) return -128; if (idx < 0 || idx >= numComponents) | if (type == ColorSpace.TYPE_Lab && (idx == 1 || idx == 2)) return -128f; if (idx < 0 || idx >= nComponents) | public float getMinValue(int idx) { if (type == TYPE_Lab && (idx == 1 || idx == 2)) return -128; if (idx < 0 || idx >= numComponents) throw new IllegalArgumentException(); return 0; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
throw new UnsupportedOperationException(); | return converter.toCIEXYZ(colorvalue); | public float[] toCIEXYZ(float[] colorvalue) { // FIXME: Not implemented throw new UnsupportedOperationException(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
if (colorvalue.length < numComponents) throw new IllegalArgumentException (); return colorvalue; | return converter.toRGB(colorvalue); | public float[] toRGB(float[] colorvalue) { if (colorvalue.length < numComponents) throw new IllegalArgumentException (); // FIXME: Always assumes sRGB: return colorvalue; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_ColorSpace.java/clean/core/src/classpath/java/java/awt/color/ICC_ColorSpace.java |
throw new Error("not implemented"); | return header.getColorSpace(); | public int getColorSpaceType() { throw new Error("not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_Profile.java/buggy/core/src/classpath/java/java/awt/color/ICC_Profile.java |
switch (profileID) { case ColorSpace.CS_sRGB: case ColorSpace.CS_LINEAR_RGB: case ColorSpace.CS_CIEXYZ: return 3; case ColorSpace.CS_GRAY: return 1; case ColorSpace.CS_PYCC: default: throw new UnsupportedOperationException("profile not implemented"); } | int[] lookup = { ColorSpace.TYPE_RGB, 3, ColorSpace.TYPE_CMY, 3, ColorSpace.TYPE_CMYK, 4, ColorSpace.TYPE_GRAY, 1, ColorSpace.TYPE_YCbCr, 3, ColorSpace.TYPE_XYZ, 3, ColorSpace.TYPE_Lab, 3, ColorSpace.TYPE_HSV, 3, ColorSpace.TYPE_2CLR, 2, ColorSpace.TYPE_Luv, 3, ColorSpace.TYPE_Yxy, 3, ColorSpace.TYPE_HLS, 3, ColorSpace... | public int getNumComponents() { switch (profileID) { case ColorSpace.CS_sRGB: case ColorSpace.CS_LINEAR_RGB: case ColorSpace.CS_CIEXYZ: return 3; case ColorSpace.CS_GRAY: return 1; case ColorSpace.CS_PYCC: // have no clue about this one default: throw new UnsupportedOperationExc... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/511ee4599fec6e0fd95b9d64823beef0c7439ee1/ICC_Profile.java/buggy/core/src/classpath/java/java/awt/color/ICC_Profile.java |
public ArrayIndexOutOfBoundsException(String s) | public ArrayIndexOutOfBoundsException() | public ArrayIndexOutOfBoundsException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ArrayIndexOutOfBoundsException.java/buggy/core/src/classpath/java/java/lang/ArrayIndexOutOfBoundsException.java |
super(s); | public ArrayIndexOutOfBoundsException(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ArrayIndexOutOfBoundsException.java/buggy/core/src/classpath/java/java/lang/ArrayIndexOutOfBoundsException.java | |
public DefaultFocusManager() { | public DefaultFocusManager() { | public DefaultFocusManager() { // TODO } // DefaultFocusManager() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/DefaultFocusManager.java/clean/core/src/classpath/javax/javax/swing/DefaultFocusManager.java |
public boolean compareTabOrder(Component component1, Component component2) { | public boolean compareTabOrder(Component component1, Component component2) { | public boolean compareTabOrder(Component component1, Component component2) { return false; // TODO } // compareTabOrder() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/DefaultFocusManager.java/clean/core/src/classpath/javax/javax/swing/DefaultFocusManager.java |
public void focusNextComponent(Component component) { | public void focusNextComponent(Component component) { | public void focusNextComponent(Component component) { // TODO } // focusNextComponent() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/DefaultFocusManager.java/clean/core/src/classpath/javax/javax/swing/DefaultFocusManager.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.