rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
throws NotImplementedException | protected void uninstallKeyboardActions() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicTableHeaderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableHeaderUI.java | |
protected void uninstallKeyboardActions() throws NotImplementedException { // TODO: Implement this properly. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/BasicTableHeaderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableHeaderUI.java | ||
int prefWidth = resizingColumn.getPreferredWidth(); resizingColumn.setWidth(prefWidth); | public void doLayout() { TableColumn resizingColumn = null; int ncols = getColumnCount(); if (ncols < 1) return; int[] pref = new int[ncols]; int prefSum = 0; int rCol = -1; if (tableHeader != null) resizingColumn = tableHeader.getResizingColumn(); for (int i = 0; i < ncols; ++i) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
throw new FactoryConfigurationError(); | return new gnu.xml.stream.XMLOutputFactoryImpl(); | public static XMLOutputFactory newInstance() throws FactoryConfigurationError { ClassLoader loader = Thread.currentThread().getContextClassLoader(); if (loader == null) { loader = XMLOutputFactory.class.getClassLoader(); } String className = null; int count = 0; do { cl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/XMLOutputFactory.java/buggy/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java |
public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream) | public abstract XMLStreamWriter createXMLStreamWriter(Writer stream) | public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream) throws XMLStreamException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/045a5b41cdfa747889101d3993040acf89788bc4/XMLOutputFactory.java/buggy/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java |
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
if ( !(DataIOStyleAttribs.isEmpty()) ) { | if ( CurrentArray.getXMLDataIOStyle() instanceof TaggedXMLDataIOStyle ) { | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
FormattedXMLDataIOStyle readObj = new FormattedXMLDataIOStyle (CurrentArray, DataIOStyleAttribs); CurrentArray.setXMLDataIOStyle(readObj); | XMLDataIOStyle readObj = createFormattedReadObj(DataIOStyleAttribs); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
String readId = readObj.getReadId(); | CurrentArray.setXMLDataIOStyle(readObj); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
if (readId != null) { if (ReadObj.containsKey(readId)) Log.warnln("More than one read node with readId=\""+readId+"\", using latest node." ); ReadObj.put(readId, readObj); } DataIOStyleAttribs.clear(); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !(DataIOStyleAttribs.isEmpty()) ) { // create new object appropriately Formatte... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
DataIOStyleAttribs.clear(); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
XMLDataIOStyle readObj = null; | public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
String refAxisId = (String) AxisAliasId.get(arrayAxisObj.getAxisId()); | String refAxisId = (String) AxisAliasId.get(arrayAxisObj.getAxisId()); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
} | } | public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
CurrentArray.setXMLDataIOStyle(readObj); DataIOStyleAttribs.clear(); CurrentFormatObjectList.add(readObj); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs.clear(); // all old values cleared DataIOStyleAt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
if ( !DataIOStyleAttribs.isEmpty()) { | if ( CurrentArray.getXMLDataIOStyle() instanceof TaggedXMLDataIOStyle ) { | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
FormattedXMLDataIOStyle readObj = new FormattedXMLDataIOStyle (CurrentArray, DataIOStyleAttribs); | XMLDataIOStyle readObj = createFormattedReadObj(DataIOStyleAttribs); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
String readId = readObj.getReadId(); if (readId != null) { | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
if (ReadObj.containsKey(readId)) Log.warnln("More than one read node with readId=\""+readId+"\", using latest node." ); ReadObj.put(readId, readObj); } DataIOStyleAttribs.clear(); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // must be formatted style, thats the only style that has ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
if ( !DataIOStyleAttribs.isEmpty()) { | if ( CurrentArray.getXMLDataIOStyle() instanceof TaggedXMLDataIOStyle ) { | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
FormattedXMLDataIOStyle readObj = new FormattedXMLDataIOStyle (CurrentArray, DataIOStyleAttribs); | XMLDataIOStyle readObj = createFormattedReadObj(DataIOStyleAttribs); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
String readId = readObj.getReadId(); if (readId != null) { if (ReadObj.containsKey(readId)) Log.warnln("More than one read node with readId=\""+readId+"\", using latest node." ); ReadObj.put(readId, readObj); } DataIOStyleAttribs.clear(); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // if this is still defined, we havent init'd an // XMLDataIOStyle object for this array yet, do it now. if ( !DataIOStyleAttribs.isEmpty()) { // If we see a skipChar command, then we must have Formatt... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
/* | private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) {Log.debug("Add Data:["+thisS... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) {Log.debug("Add Data:["+thisS... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) {Log.debug("Add Data:["+thisS... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) {Log.debug("Add Data:["+thisS... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/5c9f8a215d8e4bfb148f7e37982a5cea9056111f/SaxDocumentHandler.java/clean/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
Iterator<FSEntry> rootIterator; | Iterator<? extends FSEntry> rootIterator; | public void iterateRoot(FSDirectory root) { try { Iterator<FSEntry> rootIterator; rootIterator = root.iterator(); while(rootIterator.hasNext()) { FSEntry entry=rootIterator.next(); System.out.println(entry.getName()); } } catch (IOException e) { // TODO Auto-generated catch block e.printSt... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fecc2fef45cb4f4e084815cf6726a427f11c01f2/NTFSTest.java/buggy/fs/src/test/org/jnode/fs/ntfs/test/NTFSTest.java |
for (Iterator<FSEntry> i = entry.getDirectory().iterator(); i.hasNext();) { | for (Iterator<? extends FSEntry> i = entry.getDirectory().iterator(); i.hasNext();) { | public String[] list(File directory, FilenameFilter filter) throws IOException { final FSEntry entry = NTFSfs.getRootEntry(); if (entry == null) { throw new FileNotFoundException(directory.getAbsolutePath()); } if (!entry.isDirectory()) { throw new IOException("Cannot list on non-directories " + directory); }... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fecc2fef45cb4f4e084815cf6726a427f11c01f2/NTFSTest.java/buggy/fs/src/test/org/jnode/fs/ntfs/test/NTFSTest.java |
this.hide(); | this.setVisible(false); | public void canceled(WizardEvent e) {// System.out.println("It is canceled!"); if (workingThread != null) { workingThread.interrupt(); workingThread = null; } this.hide(); this.dispose(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/SpoolExportWizard.java/clean/tn5250j/src/org/tn5250j/spoolfile/SpoolExportWizard.java |
public void add(int pc, int offset) { addressTable.add(pc, offset); | public final void add(VmMethod method, int pc, int offset) { addressTable.add(method, pc, offset); | public void add(int pc, int offset) { addressTable.add(pc, offset); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ed15438ffd2660dd945871e91d68689a27418753/CompiledMethod.java/clean/core/src/core/org/jnode/vm/compiler/CompiledMethod.java |
} | } | public VmAddressMap() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50e31eccd50a204db22831206646c58f95c4cc44/VmAddressMap.java/buggy/core/src/core/org/jnode/vm/classmgr/VmAddressMap.java |
if (table != null) { throw new RuntimeException("Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(pc, offset); if (list == null) { list = entry; } else { AddressPcEntry p = list; while (p.next != null) { p = p.next; } p.next = entry; } } | if (table != null) { throw new RuntimeException( "Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(pc, offset); if (list == null) { list = entry; } else { if (offset < list.offset) { entry.next = list; list = entry; } else { AddressPcEntry p = list; while ((p.next != null) && (offset > p.ne... | public void add(int pc, int offset) { if (table != null) { throw new RuntimeException("Address table is locked"); } final AddressPcEntry entry = new AddressPcEntry(pc, offset); if (list == null) { list = entry; } else { AddressPcEntry p = list; while (p.next != null) { p = p.next; } p.next = entry;... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50e31eccd50a204db22831206646c58f95c4cc44/VmAddressMap.java/buggy/core/src/core/org/jnode/vm/classmgr/VmAddressMap.java |
return media; | return mediaName; | public MediaSizeName getMediaSizeName() { return media; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b9aa2b76c5fb6ec27c94f7eecf71cb3bc137fe2f/MediaSize.java/clean/core/src/classpath/javax/javax/print/attribute/standard/MediaSize.java |
public boolean isConnected() { return vt.isConnected();// return connected; } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e95e8529e0583c40804063baff9fc99787c4f55b/Session.java/clean/tn5250j/src/org/tn5250j/Session.java | ||
Connect sc = new Connect(frame,LangTool.getString("ss.title"),sessions); | Connect sc = new Connect(frame1,LangTool.getString("ss.title"),sessions); | private String getConnectSession () { Connect sc = new Connect(frame,LangTool.getString("ss.title"),sessions); // load the new session information from the session property file loadSessions(); return sc.getConnectKey(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
int width = m.frame.getWidth(); int height = m.frame.getHeight(); | int width = m.frame1.getWidth(); int height = m.frame1.getHeight(); | static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
m.frame.setSize(width,height); m.frame.centerFrame(); | m.frame1.setSize(width,height); m.frame1.centerFrame(); | static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
m.frame.setVisible(true); | m.frame1.setVisible(true); | static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
if (!m.frame.isVisible()) m.frame.setVisible(true); | if (!m.frame1.isVisible()) m.frame1.setVisible(true); | static public void main(String[] args) { if (!isSpecified("-nc",args)) { if (!checkBootStrapper(args)) { // if we did not find a running instance and the -d options is // specified start up the bootstrap deamon to allow checking // for running instances ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
if (!frame.isVisible()) frame.setVisible(true); | if (!frame1.isVisible()) frame1.setVisible(true); | synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
frame.setVisible(true); | frame1.setVisible(true); | synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
frame.addSessionView(sel,s); | frame1.addSessionView(sel,s); | synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
frame.addSessionView(session,s); | frame1.addSessionView(session,s); | synchronized void newSession(String sel,String[] args) { Properties sesProps = new Properties(); String propFileName = null; String session = args[0]; // Start loading properties sesProps.put(SESSION_HOST,session); if (isSpecified("-e",args)) sesProps.put(SESSION_TN_ENHANCED,"1"... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
frame = new Gui5250Frame(this, frames.size()); frame.setSize(width,height); frame.centerFrame(); frame.setIconImage(tnicon.getImage()); frame.setIcons(focused,unfocused); | frame1 = new Gui5250Frame(this, frames.size()); frame1.setSize(width,height); frame1.centerFrame(); frame1.setIconImage(tnicon.getImage()); frame1.setIcons(focused,unfocused); | void newView() { int width = 600; int height = 500; if (sessions.containsKey("emul.width")) width = Integer.parseInt(sessions.getProperty("emul.width")); if (sessions.containsKey("emul.height")) height = Integer.parseInt(sessions.getProperty("emul.height")); frame = new Gui52... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
frames.add(frame); | frames.add(frame1); | void newView() { int width = 600; int height = 500; if (sessions.containsKey("emul.width")) width = Integer.parseInt(sessions.getProperty("emul.width")); if (sessions.containsKey("emul.height")) height = Integer.parseInt(sessions.getProperty("emul.height")); frame = new Gui52... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a61dbdd53c996e8a76dc4165e5010c2379355b80/My5250.java/buggy/tn5250j/src/org/tn5250j/My5250.java |
public void closeSession(Session sessionObject) { | public void closeSession(String sessionName) { | public void closeSession(Session sessionObject) { sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/SessionManager.java/buggy/tn5250j/src/org/tn5250j/SessionManager.java |
sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); | Session session = (Session)sessions.item(sessionName); if (session != null) closeSession(session); | public void closeSession(Session sessionObject) { sessionObject.closeDown(); sessions.removeSession((Session)sessionObject); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/379255347f37d0432228baaff23d41ccb4ad68bd/SessionManager.java/buggy/tn5250j/src/org/tn5250j/SessionManager.java |
return t_object; | return ObjectHelper.type(); | public TypeCode _type() { return t_object; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/ObjectHolder.java/clean/core/src/classpath/org/org/omg/CORBA/ObjectHolder.java |
if(!f.exists()) continue; | private void printList(File[] list, PrintStream out) { if (list != null) { for (int i = 0; i < list.length; i++) { File f = list[i]; if (f.isDirectory()) { out.print("[" + f.getName() + "]"); } else { out.print(f.getName() + " " + f.length()); } out.println(); } out.println(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c40ff122c496322a6f2152bb4ae62c57ffbdfa2e/DirCommand.java/clean/fs/src/fs/org/jnode/fs/command/DirCommand.java | |
int result = JOptionPane.showConfirmDialog(this,message); | int result = JOptionPane.showConfirmDialog(getParent(),message); | public void closeDown() { if (defaultProps.containsKey("saveme")) { defaultProps.remove("saveme"); Object[] args = {propFileName}; String message = MessageFormat.format( LangTool.getString("messages.saveSettings"), args); int re... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
me.frame, | this.getParent(), | private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int r... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
me.closingDown(); | me.closingDown((Session)this); | private void closeSession() { Object[] message = new Object[1]; message[0] = LangTool.getString("cs.message"); String[] options = {LangTool.getString("cs.optThis"), LangTool.getString("cs.optAll"), LangTool.getString("cs.optCancel")}; int r... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
me.frame); | (Frame)me.frame); | private void doAttributes() { SessionAttributes sa = new SessionAttributes(propFileName, defaultProps, me.frame); sa.addPropertyChangeListener(screen); sa.addPropertyChangeListener(this); sa.showIt(); defaultProps = ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
jumpEvent = new SessionJumpEvent(this); | private void jbInit() throws Exception { this.setLayout(borderLayout1);// this.setOpaque(false); setDoubleBuffered(true); s.setOpaque(false); s.setDoubleBuffered(true); loadProps(); screen = new Screen5250(this,defaultProps); this.addComponentListener(this); if (!defaultP... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java | |
me.nextSession(); | fireSessionJump(JUMP_NEXT); | protected void nextSession() { me.nextSession(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
me.prevSession(); | fireSessionJump(JUMP_PREVIOUS); | protected void prevSession() { me.prevSession(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
me.frame, | this.getParent(), | private void sendScreenEMail() { JPanel semp = new JPanel(); semp.setLayout(new AlignLayout(2,5,5)); JLabel tol = new JLabel(LangTool.getString("em.to")); JTextField tot = new JTextField(30); JLabel subl = new JLabel(LangTool.getString("em.subject")); JTextField subt =... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
null, | me.frame, | private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e480ddad6ac818533f9a417616e8a35aa7b9250c/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
URL url = getClass().getResource(image_location); | URL file=null; try { file = My5250.classLoader.getResource(image_location); | public TN5250jSplashScreen(String image_location) { // get the URL given the image location URL url = getClass().getResource(image_location); if (url == null) { throw new IllegalArgumentException("Image could not be found: " + image_location); } // ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e95e8529e0583c40804063baff9fc99787c4f55b/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java |
if (url == null) { throw new IllegalArgumentException("Image could not be found: " + image_location); | public TN5250jSplashScreen(String image_location) { // get the URL given the image location URL url = getClass().getResource(image_location); if (url == null) { throw new IllegalArgumentException("Image could not be found: " + image_location); } // ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e95e8529e0583c40804063baff9fc99787c4f55b/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java | |
ImageIcon image = new ImageIcon(url); | catch (Exception e) { System.err.println(e); } ImageIcon image = new ImageIcon(file); | public TN5250jSplashScreen(String image_location) { // get the URL given the image location URL url = getClass().getResource(image_location); if (url == null) { throw new IllegalArgumentException("Image could not be found: " + image_location); } // ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/e95e8529e0583c40804063baff9fc99787c4f55b/TN5250jSplashScreen.java/clean/tn5250j/src/org/tn5250j/gui/TN5250jSplashScreen.java |
public void onConfigChanged(SessionConfigEvent pce) { String pn = pce.getPropertyName(); if (pn.equals("keypad")) { if (((String)pce.getNewValue()).equals("Yes")) { keyPad.setVisible(true); } else { keyPad.setVisible(false); } this.validate(); ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ab81b6cdf373299f99830eac067d8b5f89c79453/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java | ||
protected void paintComponent(Graphics g) { log.debug("paint from screen"); if (bi == null) { checkOffScreenImage(); }// screen.paintComponent3(g); Graphics2D g2 = (Graphics2D) g; //Rectangle r = g.getClipBounds(); g2.setColor(bi.colorBg); g2.fillRect(0, 0, getWidth(), getHeight()); bi.drawI... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/ab81b6cdf373299f99830eac067d8b5f89c79453/Gui5250.java/buggy/tn5250j/src/org/tn5250j/Gui5250.java | ||
public final void writeTo(SocketBuffer skbuf, int skbufOffset) { skbuf.set(skbufOffset, address, 0, length); | public static void writeTo(SocketBuffer skbuf, int skbufOffset, Inet4Address address) { skbuf.set(skbufOffset, address.getAddress(), 0, length); | public final void writeTo(SocketBuffer skbuf, int skbufOffset) { skbuf.set(skbufOffset, address, 0, length); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/IPv4Address.java/buggy/net/src/net/org/jnode/net/ipv4/IPv4Address.java |
if(dataModel instanceof MutableComboBoxModel) { | if (dataModel instanceof MutableComboBoxModel) | public void insertItemAt(Object element, int index) { if(dataModel instanceof MutableComboBoxModel) { ((MutableComboBoxModel) dataModel).insertElementAt(element, index); } else { throw new RuntimeException("Unable to insert the item because the data model it is not an instance of MutableComboBoxModel."); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
} else { throw new RuntimeException("Unable to insert the item because the data model it is not an instance of MutableComboBoxModel."); } | else throw new RuntimeException("Unable to insert the item because the data " + "model it is not an instance of " + "MutableComboBoxModel."); | public void insertItemAt(Object element, int index) { if(dataModel instanceof MutableComboBoxModel) { ((MutableComboBoxModel) dataModel).insertElementAt(element, index); } else { throw new RuntimeException("Unable to insert the item because the data model it is not an instance of MutableComboBoxModel."); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
if(dataModel instanceof MutableComboBoxModel) { | if (dataModel instanceof MutableComboBoxModel) | public void removeItem(Object element) { if(dataModel instanceof MutableComboBoxModel) { ((MutableComboBoxModel) dataModel).removeElement(element); } else { throw new RuntimeException("Unable to remove the item because the data model it is not an instance of MutableComboBoxModel."); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
} else { throw new RuntimeException("Unable to remove the item because the data model it is not an instance of MutableComboBoxModel."); } | else throw new RuntimeException("Unable to remove the item because the data " + "model it is not an instance of " + "MutableComboBoxModel."); | public void removeItem(Object element) { if(dataModel instanceof MutableComboBoxModel) { ((MutableComboBoxModel) dataModel).removeElement(element); } else { throw new RuntimeException("Unable to remove the item because the data model it is not an instance of MutableComboBoxModel."); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
if(dataModel instanceof MutableComboBoxModel) { | if (dataModel instanceof MutableComboBoxModel) | public void removeItemAt(int index) { if(dataModel instanceof MutableComboBoxModel) { ((MutableComboBoxModel) dataModel).removeElementAt(index); } else { throw new RuntimeException("Unable to remove the item because the data model it is not an instance of MutableComboBoxModel."); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
} else { throw new RuntimeException("Unable to remove the item because the data model it is not an instance of MutableComboBoxModel."); } | else throw new RuntimeException("Unable to remove the item because the data " + "model it is not an instance of " + "MutableComboBoxModel."); | public void removeItemAt(int index) { if(dataModel instanceof MutableComboBoxModel) { ((MutableComboBoxModel) dataModel).removeElementAt(index); } else { throw new RuntimeException("Unable to remove the item because the data model it is not an instance of MutableComboBoxModel."); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
firePropertyChange("maximumRowCount", oldMaximumRowCount, maximumRowCount); | firePropertyChange("maximumRowCount", oldMaximumRowCount, maximumRowCount); | public void setMaximumRowCount(int rowCount) { if (maximumRowCount != rowCount) { int oldMaximumRowCount = maximumRowCount; maximumRowCount = rowCount; firePropertyChange("maximumRowCount", oldMaximumRowCount, maximumRowCount); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
public void setModel(ComboBoxModel newDataModel) { // dataModel is null if it this method is called from inside the constructors. if(dataModel != null) { // Prevents unneccessary updates. if (dataModel == newDataModel) return; // Removes itself (as DataListener) from the to-be-replaced model. dat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java | ||
if(dataModel != null) { | if (dataModel != null) { | public void setModel(ComboBoxModel newDataModel) { // dataModel is null if it this method is called from inside the constructors. if(dataModel != null) { // Prevents unneccessary updates. if (dataModel == newDataModel) return; // Removes itself (as DataListener) from the to-be-replaced model. dat... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/159638d634951eb718c5e3a0917ef516d5a44797/JComboBox.java/buggy/core/src/classpath/javax/javax/swing/JComboBox.java |
storeTargetName(target); | public Statement(Object target, String methodName, Object[] arguments) { this.target = target; this.methodName = methodName; this.arguments = (arguments != null) ? arguments : new Object[0]; storeTargetName(target); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java | |
if (args[i] == null) continue; | private boolean compatible(Class[] params, Class[] args) { for (int i = 0; i < params.length; i++) { // Treat Integer like int if appropriate Class nativeType = unwrap(args[i]); if (nativeType != null && params[i].isPrimitive() && params[i].isAssignableFrom(nativeType)) continue; if (params[i].isAssign... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java | |
argTypes[i] = args[i].getClass(); | argTypes[i] = (args[i] != null) ? args[i].getClass() : null; | final Object doExecute() throws Exception { Class klazz = (target instanceof Class) ? (Class) target : target.getClass(); Object args[] = (arguments == null) ? new Object[0] : arguments; Class argTypes[] = new Class[args.length]; for (int i = 0; i < args.length; i++) argTypes[i] = args[i].getClass()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java |
} catch(IllegalArgumentException iae){ System.err.println("method: " + method); for(int i=0;i<args.length;i++){ System.err.println("args[" + i + "]: " + args[i]); } throw iae; } | final Object doExecute() throws Exception { Class klazz = (target instanceof Class) ? (Class) target : target.getClass(); Object args[] = (arguments == null) ? new Object[0] : arguments; Class argTypes[] = new Class[args.length]; for (int i = 0; i < args.length; i++) argTypes[i] = args[i].getClass()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java | |
Class klass = target.getClass(); | String targetName = target.getClass().getName(); if ( targetName.startsWith("java")) { targetName = targetName.substring(targetName.lastIndexOf('.') + 1); } | public String toString() { StringBuffer result = new StringBuffer(); Class klass = target.getClass(); result.append( ((WeakHashMap) classMaps.get(klass)).get(target)); result.append("."); result.append(methodName); result.append("("); String sep = ""; for (int i = 0; i < arguments.length; i+... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java |
result.append( ((WeakHashMap) classMaps.get(klass)).get(target)); | result.append(targetName); | public String toString() { StringBuffer result = new StringBuffer(); Class klass = target.getClass(); result.append( ((WeakHashMap) classMaps.get(klass)).get(target)); result.append("."); result.append(methodName); result.append("("); String sep = ""; for (int i = 0; i < arguments.length; i+... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java |
result.append(arguments[i].getClass().getName()); | result.append( ( arguments[i] == null ) ? "null" : ( arguments[i] instanceof String ) ? "\"" + arguments[i] + "\"" : arguments[i].getClass().getName()); | public String toString() { StringBuffer result = new StringBuffer(); Class klass = target.getClass(); result.append( ((WeakHashMap) classMaps.get(klass)).get(target)); result.append("."); result.append(methodName); result.append("("); String sep = ""; for (int i = 0; i < arguments.length; i+... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/Statement.java/buggy/core/src/classpath/java/java/beans/Statement.java |
"ToolBar.border", new MetalBorders.ToolBarBorder(), | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5edad632205aa44aca51004923ae52d754cced11/MetalLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalLookAndFeel.java | |
new SecureRandom ().nextBytes(buffer); | getDefaultPRNG().nextBytes(buffer); | protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (LimitReachedException lre) { irnd = null; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/BaseKeyAgreementParty.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/key/BaseKeyAgreementParty.java |
{ new SecureRandom ().nextBytes(buffer); | getDefaultPRNG().nextBytes(buffer); | protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (LimitReachedException lre) { irnd = null; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/BaseKeyAgreementParty.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/key/BaseKeyAgreementParty.java |
} | protected void nextRandomBytes(byte[] buffer) { if (rnd != null) { rnd.nextBytes(buffer); } else if (irnd != null) { try { irnd.nextBytes(buffer, 0, buffer.length); } catch (LimitReachedException lre) { irnd = null; ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/BaseKeyAgreementParty.java/buggy/core/src/classpath/gnu/gnu/javax/crypto/key/BaseKeyAgreementParty.java | |
providers.remove(className); | FontProvider prv = providers.remove(className); if(firstProvider == prv) { firstProvider = null; } | public void extensionRemoved(ExtensionPoint point, Extension extension) { final ConfigurationElement[] elements = extension.getConfigurationElements(); for (int j = 0; j < elements.length; j++) { final String className = elements[j].getAttribute("class"); log.debug("Removed provi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/DefaultFontManager.java/clean/gui/src/awt/org/jnode/awt/font/def/DefaultFontManager.java |
if(firstProviderName.equals(prv.getName())) continue; | private FontProvider getProvider(Font font) { log.debug("getProvider for "+font.getName()+ " ("+providers.size()+" availables)"); for (FontProvider prv : providers.values()) { log.debug("font="+font+" provider="+prv); if (prv.provides(font)) { log.debug("prov... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27da370c3e05f80083e8c618351850b1d1d108b6/DefaultFontManager.java/clean/gui/src/awt/org/jnode/awt/font/def/DefaultFontManager.java | |
firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldIcon, newIcon); | firePropertyChange("disabledIcon", oldIcon, newIcon); | public void setDisabledIcon(Icon newIcon) { if (disabledIcon != newIcon) { Icon oldIcon = disabledIcon; disabledIcon = newIcon; firePropertyChange(DISABLED_ICON_CHANGED_PROPERTY, oldIcon, newIcon); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, | firePropertyChange("displayedMnemonic", | public void setDisplayedMnemonic(int mnemonic) { if (displayedMnemonic != mnemonic) { firePropertyChange(DISPLAYED_MNEMONIC_CHANGED_PROPERTY, displayedMnemonic, mnemonic); displayedMnemonic = mnemonic; if (text != null) setDisplayedMnemonicIndex(text.toUpperCase().indexOf(mnemonic)); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
firePropertyChange(DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY, | firePropertyChange("displayedMnemonicIndex", | public void setDisplayedMnemonicIndex(int newIndex) throws IllegalArgumentException { if (newIndex < -1 || (text != null && newIndex >= text.length())) throw new IllegalArgumentException(); if (newIndex == -1 || text == null || text.charAt(newIndex) != displaye... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
firePropertyChange(HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, oldAlignment, | firePropertyChange("horizontalAlignment", oldAlignment, | public void setHorizontalAlignment(int alignment) { if (horizontalAlignment == alignment) return; int oldAlignment = horizontalAlignment; horizontalAlignment = checkHorizontalKey(alignment, "horizontalAlignment"); firePropertyChange(HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, oldAlignment, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53b78dd1e4587254262f4618d2aa7551de8e0cbf/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.