rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
public DecimalFormatSymbols getDecimalFormatSymbols ()
public DecimalFormatSymbols getDecimalFormatSymbols()
public DecimalFormatSymbols getDecimalFormatSymbols () { return symbols; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/DecimalFormat.java/buggy/core/src/classpath/java/java/text/DecimalFormat.java
return symbols;
return (DecimalFormatSymbols) symbols.clone();
public DecimalFormatSymbols getDecimalFormatSymbols () { return symbols; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/DecimalFormat.java/buggy/core/src/classpath/java/java/text/DecimalFormat.java
public void setDecimalFormatSymbols (DecimalFormatSymbols newSymbols)
public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols)
public void setDecimalFormatSymbols (DecimalFormatSymbols newSymbols) { symbols = newSymbols; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/DecimalFormat.java/buggy/core/src/classpath/java/java/text/DecimalFormat.java
symbols = newSymbols;
symbols = (DecimalFormatSymbols) newSymbols.clone();
public void setDecimalFormatSymbols (DecimalFormatSymbols newSymbols) { symbols = newSymbols; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/322bdf31032fa8067da8c0c35cf403ba70c4c1c4/DecimalFormat.java/buggy/core/src/classpath/java/java/text/DecimalFormat.java
final ParsedArguments cmdLine = HELP_INFO.parse(args); final File entry = ARG_DIR.getFile(cmdLine); boolean deleteOk=false; if (!entry.exists()) { System.err.println(entry + " does not exist"); } if(entry.isDirectory()){ final File[] subFile=entry.listFiles(); for(int i=0;i<subFile.length;i++){ final String name=subF...
new DeleteCommand().execute(new CommandLine(args), System.in, System.out, System.err);
public static void main(String[] args) throws Exception { final ParsedArguments cmdLine = HELP_INFO.parse(args); final File entry = ARG_DIR.getFile(cmdLine); boolean deleteOk=false; if (!entry.exists()) { System.err.println(entry + " does not exist"); } // for this time, delete only empty directory (wait ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2017000443d42345d2722c0e3010c0ee595d8e15/DeleteCommand.java/buggy/fs/src/fs/org/jnode/fs/command/DeleteCommand.java
if(object == null || list.contains(object))
public void setSelectedItem(Object object) { selectedItem = object; if(object == null || list.contains(object)) fireContentsChanged(this, -1, -1); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/DefaultComboBoxModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultComboBoxModel.java
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) {
protected void fireIntervalAdded (Object source, int startIndex, int endIndex) { ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index;
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex); // Get Listeners li...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index;
event = new ListDataEvent (source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex);
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex); // Get Listeners li...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex);
listeners = getListDataListeners ();
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex); // Get Listeners li...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
listeners = listenerList.getListeners(ListDataListener.class); for (index = 0; index < listeners.length; index++) { listener = (ListDataListener) listeners[index]; listener.intervalAdded(event); } }
for (index = 0; index < listeners.length; index++) { listener = listeners [index]; listener.intervalAdded (event); } }
protected void fireIntervalAdded(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, startIndex, endIndex); // Get Listeners li...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) {
protected void fireIntervalRemoved (Object source, int startIndex, int endIndex) { ListDataEvent event; ListDataListener[] listeners; ListDataListener listener; int index;
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex); // Get Listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index;
event = new ListDataEvent (source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex);
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex); // Get Listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex);
listeners = getListDataListeners ();
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex); // Get Listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
listeners = listenerList.getListeners(ListDataListener.class); for (index = 0; index < listeners.length; index++) { listener = (ListDataListener) listeners[index]; listener.intervalRemoved(event); } }
for (index = 0; index < listeners.length; index++) { listener = listeners [index]; listener.intervalRemoved (event); } }
protected void fireIntervalRemoved(Object source, int startIndex, int endIndex) { // Variables ListDataEvent event; EventListener[] listeners; ListDataListener listener; int index; // Create Event event = new ListDataEvent(source, ListDataEvent.INTERVAL_REMOVED, startIndex, endIndex); // Get Listener...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractListModel.java/buggy/core/src/classpath/javax/javax/swing/AbstractListModel.java
throw new DomEx(DomEx.NOT_SUPPORTED_ERR);
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR);
public Node adoptNode(Node source) { switch (source.getNodeType()) { case DOCUMENT_NODE: case DOCUMENT_TYPE_NODE: throw new DomEx(DomEx.NOT_SUPPORTED_ERR); case ENTITY_NODE: case NOTATION_NODE: throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (source instance...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR);
throw new DomDOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR);
public Node adoptNode(Node source) { switch (source.getNodeType()) { case DOCUMENT_NODE: case DOCUMENT_TYPE_NODE: throw new DomEx(DomEx.NOT_SUPPORTED_ERR); case ENTITY_NODE: case NOTATION_NODE: throw new DomEx(DomEx.NO_MODIFICATION_ALLOWED_ERR); } if (source instance...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR, name, null, 0);
throw new DomDOMException(DOMException.NAMESPACE_ERR, name, null, 0);
static void checkNCName(String name, boolean xml11) { checkName(name, xml11); int len = name.length(); int index = name.indexOf(':'); if (index != -1) { if (index == 0 || index == (len - 1) || name.lastIndexOf(':') != index) { throw new DomEx(DomEx.NAMESPACE_ERR...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0);
throw new DomDOMException(DOMException.NAMESPACE_ERR, name, null, 0);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0);
throw new DomDOMException(DOMException.NAMESPACE_ERR, name, null, 0);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.INVALID_CHARACTER_ERR, name, null, c);
throw new DomDOMException(DOMException.INVALID_CHARACTER_ERR, name, null, c);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.INVALID_CHARACTER_ERR, name, null, c);
throw new DomDOMException(DOMException.INVALID_CHARACTER_ERR, name, null, c);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.INVALID_CHARACTER_ERR, name, null, c);
throw new DomDOMException(DOMException.INVALID_CHARACTER_ERR, name, null, c);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.INVALID_CHARACTER_ERR, name, null, c);
throw new DomDOMException(DOMException.INVALID_CHARACTER_ERR, name, null, c);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.INVALID_CHARACTER_ERR, name, null, c);
throw new DomDOMException(DOMException.INVALID_CHARACTER_ERR, name, null, c);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.INVALID_CHARACTER_ERR, name, null, c);
throw new DomDOMException(DOMException.INVALID_CHARACTER_ERR, name, null, c);
static void checkName(String name, boolean xml11) { if (name == null) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } int len = name.length(); if (len == 0) { throw new DomEx (DomEx.NAMESPACE_ERR, name, null, 0); } // dog: rewritten to use the rules for XML 1.0...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR,
throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR,
private void checkNewChild(Node newChild) { if (newChild.getNodeType() == ELEMENT_NODE && getDocumentElement() != null) { throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR, "document element already present: " + getDocumentElement(), newChild, 0); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR,
throw new DomDOMException(DOMException.HIERARCHY_REQUEST_ERR,
private void checkNewChild(Node newChild) { if (newChild.getNodeType() == ELEMENT_NODE && getDocumentElement() != null) { throw new DomEx (DomEx.HIERARCHY_REQUEST_ERR, "document element already present: " + getDocumentElement(), newChild, 0); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Attr createAttributeNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith ("xml:")) { if (namespaceURI == null) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
XMLConstants.XML_NS_URI, this, 0);
XMLConstants.XML_NS_URI, this, 0);
public Attr createAttributeNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith ("xml:")) { if (namespaceURI == null) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Attr createAttributeNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith ("xml:")) { if (namespaceURI == null) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
XMLConstants.XMLNS_ATTRIBUTE_NS_URI, this, 0);
XMLConstants.XMLNS_ATTRIBUTE_NS_URI, this, 0);
public Attr createAttributeNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith ("xml:")) { if (namespaceURI == null) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Attr createAttributeNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith ("xml:")) { if (namespaceURI == null) {...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
return new DomCDATA(this, value);
return new DomCDATASection(this, value);
public CDATASection createCDATASection(String value) { if (checkingCharacters) { checkChar(value, "1.1".equals(version)); } return new DomCDATA(this, value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
return new DomFragment(this);
return new DomDocumentFragment(this);
public DocumentFragment createDocumentFragment() { return new DomFragment(this); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Element createElementNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith("xml:")) { if (namespaceURI != null ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Element createElementNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith("xml:")) { if (namespaceURI != null ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR, "prefixed name '" + name + "' needs a URI", this, 0);
throw new DomDOMException(DOMException.NAMESPACE_ERR, "prefixed name '" + name + "' needs a URI", this, 0);
public Element createElementNS(String namespaceURI, String name) { if (checkingCharacters) { checkNCName(name, "1.1".equals(version)); } if ("".equals(namespaceURI)) { namespaceURI = null; } if (name.startsWith("xml:")) { if (namespaceURI != null ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.SYNTAX_ERR, "illegal PI target name", this, 0);
throw new DomDOMException(DOMException.SYNTAX_ERR, "illegal PI target name", this, 0);
public ProcessingInstruction createProcessingInstruction(String target, String data) { if (checkingCharacters) { boolean xml11 = "1.1".equals(version); checkName(target, xml11); if ("xml".equalsIgnoreCase(target)) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
return new DomPI(this, target, data);
return new DomProcessingInstruction(this, target, data);
public ProcessingInstruction createProcessingInstruction(String target, String data) { if (checkingCharacters) { boolean xml11 = "1.1".equals(version); checkName(target, xml11); if ("xml".equalsIgnoreCase(target)) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
dst = new DomFragment(this);
dst = new DomDocumentFragment(this);
public Node importNode(Node src, boolean deep) { Node dst = null; switch (src.getNodeType()) { case TEXT_NODE: dst = createTextNode(src.getNodeValue()); break; case CDATA_SECTION_NODE: dst = createCDATASection(src.getNodeValue()); break; case COMMENT_NODE: ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NOT_SUPPORTED_ERR, null, src, 0);
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR, null, src, 0);
public Node importNode(Node src, boolean deep) { Node dst = null; switch (src.getNodeType()) { case TEXT_NODE: dst = createTextNode(src.getNodeValue()); break; case CDATA_SECTION_NODE: dst = createCDATASection(src.getNodeValue()); break; case COMMENT_NODE: ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NOT_FOUND_ERR);
throw new DomDOMException(DOMException.NOT_FOUND_ERR);
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.WRONG_DOCUMENT_ERR, null, src, 0);
throw new DomDOMException(DOMException.WRONG_DOCUMENT_ERR, null, src, 0);
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NAMESPACE_ERR,
throw new DomDOMException(DOMException.NAMESPACE_ERR,
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NOT_SUPPORTED_ERR, null, n, 0);
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR, null, n, 0);
public Node renameNode(Node n, String namespaceURI, String qualifiedName) throws DOMException { if (n instanceof DomNsNode) { DomNsNode src = (DomNsNode) n; if (src == null) { throw new DomEx(DomEx.NOT_FOUND_ERR); } if (src.owner != this) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
throw new DomEx(DomEx.NOT_SUPPORTED_ERR);
throw new DomDOMException(DOMException.NOT_SUPPORTED_ERR);
public void setXmlVersion(String xmlVersion) { if (xmlVersion == null) { xmlVersion = "1.0"; } if ("1.0".equals(xmlVersion) || "1.1".equals(xmlVersion)) { version = xmlVersion; } else { throw new DomEx(DomEx.NOT_SUPPORTED_ERR); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java
NamedValue returns, ExceptionList exceptions, ContextList ctx_list
NamedValue returns
Request _create_request(Context context, String operation, NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list );
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/Object.java/buggy/core/src/classpath/org/org/omg/CORBA/Object.java
NVList parameters, NamedValue returns, ExceptionList exceptions, ContextList ctx_list
NVList parameters, NamedValue returns
public abstract Request create_request(org.omg.CORBA.Object target, Context context, String operation, NVList parameters, NamedValue returns, ExceptionList exceptions, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/Delegate.java/buggy/core/src/classpath/org/org/omg/CORBA/portable/Delegate.java
ParameterNode(TemplateNode children, TemplateNode next, String name, Expr select, boolean global)
ParameterNode(String name, Expr select, boolean global)
ParameterNode(TemplateNode children, TemplateNode next, String name, Expr select, boolean global) { super(children, next); this.name = name; this.select = select; this.global = global; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java
super(children, next);
ParameterNode(TemplateNode children, TemplateNode next, String name, Expr select, boolean global) { super(children, next); this.name = name; this.select = select; this.global = global; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java
return new ParameterNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), name,
TemplateNode ret = new ParameterNode(name,
TemplateNode clone(Stylesheet stylesheet) { return new ParameterNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), name, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java
if (children != null) { ret.children = children.clone(stylesheet); } if (next != null) { ret.next = next.clone(stylesheet); } return ret;
TemplateNode clone(Stylesheet stylesheet) { return new ParameterNode((children == null) ? null : children.clone(stylesheet), (next == null) ? null : next.clone(stylesheet), name, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/ParameterNode.java/clean/core/src/classpath/gnu/gnu/xml/transform/ParameterNode.java
log.setLevel(Level.DEBUG);
public Ext2File(INode iNode) { this.iNode=iNode; valid = true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/Ext2File.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2File.java
public long getLength() { return iNode.getSize(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/Ext2File.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2File.java
throw new IOException("EXT2 implementation is currently readonly");
long blockSize = iNode.getExt2FileSystem().getBlockSize(); if(length<getLength()) { long blockNr = length / blockSize; long blockOffset = length % blockSize; long nextBlock; if(blockOffset==0) nextBlock=blockNr; else nextBlock=blockNr+1; for(long i=iNode.getAllocatedBlockCount()-1; i>=nextBlock; i--) { log.debug(...
public void setLength(long length) throws IOException { throw new IOException("EXT2 implementation is currently readonly"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/Ext2File.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2File.java
throw new IOException("EXT2 implementation is currently readonly");
if(fileOffset > getLength()) throw new IOException("Can't write beyond the end of the file! (fileOffset: "+ fileOffset+", getLength()"+getLength()); if(off+len>src.length) throw new IOException("src is shorter than what you want to write"); log.debug("write(fileOffset="+fileOffset+", src, off, len="+len+")"); final ...
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { throw new IOException("EXT2 implementation is currently readonly"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5d32e4c533c3f554b2099795fe6d30766c16e4da/Ext2File.java/clean/fs/src/fs/org/jnode/fs/ext2/Ext2File.java
serialVersionOnStream = 1;
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); if (serialVersionOnStream < 1) { monetarySeparator = decimalSeparator; exponential = 'E'; serialVersionOnStream = 1; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormatSymbols.java/clean/core/src/classpath/java/java/text/DecimalFormatSymbols.java
if (serialVersionOnStream < 2) locale = Locale.getDefault(); serialVersionOnStream = 2;
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); if (serialVersionOnStream < 1) { monetarySeparator = decimalSeparator; exponential = 'E'; serialVersionOnStream = 1; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormatSymbols.java/clean/core/src/classpath/java/java/text/DecimalFormatSymbols.java
public static Currency getInstance (String currencyCode)
public static Currency getInstance (Locale locale)
public static Currency getInstance (String currencyCode) { Locale[] all_locales = Locale.getAvailableLocales (); for (int i=0;i<all_locales.length;i++) { Currency test_currency = getInstance (all_locales[i]); if (test_currency.getCurrencyCode() != null && test_currency.getCurrencyCode().equals(cu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/buggy/core/src/classpath/java/java/util/Currency.java
Locale[] all_locales = Locale.getAvailableLocales (); for (int i=0;i<all_locales.length;i++)
/** * The new instance must be the only available instance * for the currency it supports. We ensure this happens, * while maintaining a suitable performance level, by * creating the appropriate object on the first call to * this method, and returning the cached instance on * later calls. */ Currency newCurrency; /* ...
public static Currency getInstance (String currencyCode) { Locale[] all_locales = Locale.getAvailableLocales (); for (int i=0;i<all_locales.length;i++) { Currency test_currency = getInstance (all_locales[i]); if (test_currency.getCurrencyCode() != null && test_currency.getCurrencyCode().equals(cu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/buggy/core/src/classpath/java/java/util/Currency.java
Currency test_currency = getInstance (all_locales[i]); if (test_currency.getCurrencyCode() != null && test_currency.getCurrencyCode().equals(currencyCode)) return test_currency;
/* Create the currency for this locale */ newCurrency = new Currency (locale); /* Cache it */ cache.put(locale, newCurrency);
public static Currency getInstance (String currencyCode) { Locale[] all_locales = Locale.getAvailableLocales (); for (int i=0;i<all_locales.length;i++) { Currency test_currency = getInstance (all_locales[i]); if (test_currency.getCurrencyCode() != null && test_currency.getCurrencyCode().equals(cu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/buggy/core/src/classpath/java/java/util/Currency.java
return null;
/* Return the instance */ return newCurrency;
public static Currency getInstance (String currencyCode) { Locale[] all_locales = Locale.getAvailableLocales (); for (int i=0;i<all_locales.length;i++) { Currency test_currency = getInstance (all_locales[i]); if (test_currency.getCurrencyCode() != null && test_currency.getCurrencyCode().equals(cu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/buggy/core/src/classpath/java/java/util/Currency.java
/* What does this return if there is no mapping? */
public String getSymbol() { try { return res.getString ("currencySymbol"); } catch (Exception _) { return null; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Currency.java/buggy/core/src/classpath/java/java/util/Currency.java
if (! remEx && !force) throw new CompilationError(m[i].getName() + ", defined in " + c.getName() + ", does not throw " + RemoteException.class.getName()); }
} if (! remEx && !force) throw new CompilationError(m[i].getName() + ", defined in " + c.getName() + ", does not throw " + RemoteException.class.getName());
public synchronized void compile(Class remote) { reset(); String s; // Get the package. s = remote.getName(); int p = s.lastIndexOf('.'); if (p < 0) { // Root package. packag = ""; implName = name = s; } else { packag = s.substring(0, p); implNam...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/a0a1b5a96bc35d919f1dc104ff6cc513e7610801/GiopRmicCompiler.java/buggy/core/src/classpath/tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
public void addChangeListener(ChangeListener listener);
void addChangeListener(ChangeListener listener);
public void addChangeListener(ChangeListener listener);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SingleSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/SingleSelectionModel.java
public int getSelectedIndex();
int getSelectedIndex();
public int getSelectedIndex();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SingleSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/SingleSelectionModel.java
public void removeChangeListener(ChangeListener listener);
void removeChangeListener(ChangeListener listener);
public void removeChangeListener(ChangeListener listener);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/SingleSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/SingleSelectionModel.java
protected ImageReaderWriterSpi()
public ImageReaderWriterSpi()
protected ImageReaderWriterSpi() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/ImageReaderWriterSpi.java/buggy/core/src/classpath/javax/javax/imageio/spi/ImageReaderWriterSpi.java
public static AlgorithmParameterGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameterGenerator." + algorithm); if (classname != null) return getIn...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameterGenerator.java/clean/core/src/classpath/java/java/security/AlgorithmParameterGenerator.java
String classname = p[i].getProperty("AlgorithmParameterGenerator." + algorithm); if (classname != null) return getInstance(classname, algorithm, p[i]);
return getInstance(algorithm, p[i]);
public static AlgorithmParameterGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameterGenerator." + algorithm); if (classname != null) return getIn...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameterGenerator.java/clean/core/src/classpath/java/java/security/AlgorithmParameterGenerator.java
catch (NoSuchAlgorithmException ignored) {}
public static AlgorithmParameterGenerator getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) { String classname = p[i].getProperty("AlgorithmParameterGenerator." + algorithm); if (classname != null) return getIn...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/AlgorithmParameterGenerator.java/clean/core/src/classpath/java/java/security/AlgorithmParameterGenerator.java
this.id = id;
name = id; flags = 0;
protected Tag(String id) { this.id = id; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/HTML.java/buggy/core/src/classpath/javax/javax/swing/text/html/HTML.java
public UnknownTag(String id)
public UnknownTag(String name)
public UnknownTag(String id) { super(id); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/HTML.java/buggy/core/src/classpath/javax/javax/swing/text/html/HTML.java
super(id);
super(name);
public UnknownTag(String id) { super(id); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/320c6e82f0607a5c7ec66c594ec20bb9010947d1/HTML.java/buggy/core/src/classpath/javax/javax/swing/text/html/HTML.java
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); activeBorder = defaults.getBorder("ToolTip.border"); inactiveBorder = defaults.getBorder("ToolTip.borderInactive"); isAcceleratorHidden = defaults.getBoolean("ToolTip.hideAccelerator"); acceleratorFont = defaults.getFont("MenuItem.acceleratorFont"); acceleratorF...
public MetalToolTipUI() { super(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ae9ec43c5570a0f69e3d8c8b733283719f52a770/MetalToolTipUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalToolTipUI.java
private int findClosestTick(int value)
int findClosestTick(int value)
private int findClosestTick(int value) { int min = slider.getMinimum(); int max = slider.getMaximum(); int majorSpace = slider.getMajorTickSpacing(); int minorSpace = slider.getMinorTickSpacing(); // The default value to return is value + minor or // value + major. // Initializing at min - valu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicSliderUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSliderUI.java
if (SwingButtonPeer.this.awtComponent != null) retVal = SwingButtonPeer.this.awtComponent.isShowing();
if (button != null) retVal = button.isShowing();
public boolean isShowing() { boolean retVal = false; if (SwingButtonPeer.this.awtComponent != null) retVal = SwingButtonPeer.this.awtComponent.isShowing(); return retVal; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingButtonPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingButtonPeer.java
SwingButton button = new SwingButton();
SwingButton button = new SwingButton(theButton);
public SwingButtonPeer(Button theButton) { SwingButton button = new SwingButton(); button.setText(theButton.getLabel()); button.addActionListener(new SwingButtonListener()); init(theButton, button); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2a81be29c1d1dc9cadff27003717d18f8262c70/SwingButtonPeer.java/buggy/core/src/classpath/gnu/gnu/java/awt/peer/swing/SwingButtonPeer.java
if (isSet[HOUR_OF_DAY]) hour = fields[HOUR_OF_DAY]; else if (isSet[HOUR])
if (isSet[HOUR])
protected synchronized void computeTime() { int millisInDay = 0; int era = fields[ERA]; int year = fields[YEAR]; int month = fields[MONTH]; int day = fields[DAY_OF_MONTH]; int minute = fields[MINUTE]; int second = fields[SECOND]; int millis = fields[MILLISECOND]; int[] month_days = { 31, 28, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/GregorianCalendar.java/clean/core/src/classpath/java/java/util/GregorianCalendar.java
if (isSet[AM_PM] && fields[AM_PM] == PM)
if (fields[AM_PM] == PM)
protected synchronized void computeTime() { int millisInDay = 0; int era = fields[ERA]; int year = fields[YEAR]; int month = fields[MONTH]; int day = fields[DAY_OF_MONTH]; int minute = fields[MINUTE]; int second = fields[SECOND]; int millis = fields[MILLISECOND]; int[] month_days = { 31, 28, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/GregorianCalendar.java/clean/core/src/classpath/java/java/util/GregorianCalendar.java
if (isSet[AM_PM] && fields[AM_PM] == AM && hour == 12)
if (fields[AM_PM] == AM && hour == 12)
protected synchronized void computeTime() { int millisInDay = 0; int era = fields[ERA]; int year = fields[YEAR]; int month = fields[MONTH]; int day = fields[DAY_OF_MONTH]; int minute = fields[MINUTE]; int second = fields[SECOND]; int millis = fields[MILLISECOND]; int[] month_days = { 31, 28, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/GregorianCalendar.java/clean/core/src/classpath/java/java/util/GregorianCalendar.java
int rawOffset = zone.getRawOffset(); int dstOffset = zone.getOffset((year < 1) ? BC : AD, (year < 1) ? 1 - year : year, month, day, weekday, millisInDay) - zone.getRawOffset(); time -= (rawOffset + dstOffset);
int rawOffset = isSet[ZONE_OFFSET] ? fields[ZONE_OFFSET] : zone.getRawOffset(); int dstOffset = isSet[DST_OFFSET] ? fields[DST_OFFSET] : (zone.getOffset((year < 0) ? BC : AD, (year < 0) ? 1 - year : year, month, day, weekday, millisInDay) - zone.getRawOffset()); time -= rawOffset + dstOffset;
protected synchronized void computeTime() { int millisInDay = 0; int era = fields[ERA]; int year = fields[YEAR]; int month = fields[MONTH]; int day = fields[DAY_OF_MONTH]; int minute = fields[MINUTE]; int second = fields[SECOND]; int millis = fields[MILLISECOND]; int[] month_days = { 31, 28, ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bdd0bca7f46f1e8a19b790749e32f82de6de3685/GregorianCalendar.java/clean/core/src/classpath/java/java/util/GregorianCalendar.java
protected Calendar(TimeZone zone, Locale locale)
protected Calendar()
protected Calendar(TimeZone zone, Locale locale) { this.zone = zone; lenient = true; String[] days = { "", "sun", "mon", "tue", "wed", "thu", "fri", "sat" }; ResourceBundle rb = getBundle(locale); String min = (String) rb.getObject("minNumberOfDaysInFirstWeek"); String first = (String) rb.getObject("fi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java
this.zone = zone; lenient = true; String[] days = { "", "sun", "mon", "tue", "wed", "thu", "fri", "sat" }; ResourceBundle rb = getBundle(locale); String min = (String) rb.getObject("minNumberOfDaysInFirstWeek"); String first = (String) rb.getObject("firstDayOfWeek"); try { if (min != null) minimalDaysInFirstWeek = Int...
this(TimeZone.getDefault(), Locale.getDefault());
protected Calendar(TimeZone zone, Locale locale) { this.zone = zone; lenient = true; String[] days = { "", "sun", "mon", "tue", "wed", "thu", "fri", "sat" }; ResourceBundle rb = getBundle(locale); String min = (String) rb.getObject("minNumberOfDaysInFirstWeek"); String first = (String) rb.getObject("fi...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/Calendar.java/buggy/core/src/classpath/java/java/util/Calendar.java
if (isOcean && tabIndex == tabPane.getSelectedIndex()+ 1)
if (isOcean && tabIndex == tabPane.getSelectedIndex() + 1)
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); // Paint gap if necessary. if (shou...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalTabbedPaneUI.java
if (tabIndex != tabRuns[runCount- 1])
if (tabIndex != tabRuns[runCount - 1])
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); // Paint gap if necessary. if (shou...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalTabbedPaneUI.java
|| rect.y + rect.height + 1 < y || rect.x < x ||rect.x > x + w)
|| rect.y + rect.height + 1 < y || rect.x < x || rect.x > x + w)
protected void paintContentBorderTopEdge(Graphics g, int tabPlacement, int selectedIndex, int x, int y, int w, int h) { Color oceanSelectedBorder = UIManager.getColor("TabbedPane.borderHightlightColor"); boolean isOcean = ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e0c4001932916dcdf180e32bf374255e88829b25/MetalTabbedPaneUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalTabbedPaneUI.java
return;
return;
public JIFSFplugin() { return; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8b67ee52c51432dcf0f6438f3f284134d4b3cc8/JIFSFplugin.java/clean/fs/src/fs/org/jnode/fs/jifs/files/JIFSFplugin.java
if (descr != null) {
if (descr != null) {
public void refresh(){ super.refresh(); try{ final PluginManager mgr = InitialNaming.lookup(PluginManager.NAME); final PluginDescriptor descr = mgr.getRegistry().getPluginDescriptor(name); if (descr != null) { addStringln("Name:"); addStringln("\t"+descr.getId()); addStringln("Provider:"); add...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8b67ee52c51432dcf0f6438f3f284134d4b3cc8/JIFSFplugin.java/clean/fs/src/fs/org/jnode/fs/jifs/files/JIFSFplugin.java
addStringln("Prerequisites:");
*/ addStringln("\tunknown"); addStringln("Prerequisites:");
public void refresh(){ super.refresh(); try{ final PluginManager mgr = InitialNaming.lookup(PluginManager.NAME); final PluginDescriptor descr = mgr.getRegistry().getPluginDescriptor(name); if (descr != null) { addStringln("Name:"); addStringln("\t"+descr.getId()); addStringln("Provider:"); add...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8b67ee52c51432dcf0f6438f3f284134d4b3cc8/JIFSFplugin.java/clean/fs/src/fs/org/jnode/fs/jifs/files/JIFSFplugin.java
public void refresh(){ super.refresh(); try{ final PluginManager mgr = InitialNaming.lookup(PluginManager.NAME); final PluginDescriptor descr = mgr.getRegistry().getPluginDescriptor(name); if (descr != null) { addStringln("Name:"); addStringln("\t"+descr.getId()); addStringln("Provider:"); add...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8b67ee52c51432dcf0f6438f3f284134d4b3cc8/JIFSFplugin.java/clean/fs/src/fs/org/jnode/fs/jifs/files/JIFSFplugin.java
public FloatSeqHolder(float[] initial_value)
public FloatSeqHolder()
public FloatSeqHolder(float[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/FloatSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/FloatSeqHolder.java
value = initial_value; typecode.setLength(value.length);
public FloatSeqHolder(float[] initial_value) { value = initial_value; typecode.setLength(value.length); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f28a29b36e025f22e3af3a9b984c6450ba6c8d7/FloatSeqHolder.java/buggy/core/src/classpath/org/org/omg/CORBA/FloatSeqHolder.java
return (cal.get(Calendar.ZONE_OFFSET)
return - (cal.get(Calendar.ZONE_OFFSET)
public int getTimezoneOffset() { Calendar cal = Calendar.getInstance(); cal.setTimeInMillis(time); return (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / (60 * 1000); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Date.java/clean/core/src/classpath/java/java/util/Date.java
private void readObject(java.io.ObjectInputStream input) throws java.io.IOException, ClassNotFoundException
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException
private void readObject(java.io.ObjectInputStream input) throws java.io.IOException, ClassNotFoundException { input.defaultReadObject(); time = input.readLong(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Date.java/clean/core/src/classpath/java/java/util/Date.java
private void writeObject(java.io.ObjectOutputStream output) throws java.io.IOException
private void writeObject(ObjectOutputStream output) throws IOException
private void writeObject(java.io.ObjectOutputStream output) throws java.io.IOException { output.defaultWriteObject(); output.writeLong(time); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Date.java/clean/core/src/classpath/java/java/util/Date.java
public final String getDisplayName(boolean dst, int style)
public final String getDisplayName()
public final String getDisplayName(boolean dst, int style) { return (getDisplayName(dst, style, Locale.getDefault())); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b12e4b97d99b73f08ccf219bf0a3ffe50371c94a/TimeZone.java/buggy/core/src/classpath/java/java/util/TimeZone.java