rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
tree.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent(null);
tree.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent( null);
protected void uninstallKeyboardActions() { action = null; tree.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).setParent(null); tree.getActionMap().setParent(null); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
preferredSize = new Dimension(maxWidth, (getRowHeight() * path.length));
maxHeight = 0; maxHeight = getMaxHeight(tree); preferredSize = new Dimension(maxWidth, (maxHeight * path.length));
protected void updateCachedPreferredSize() { int maxWidth = 0; boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePath(getPathToRoot(path[i], 0)); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
else preferredSize = new Dimension(0, 0);
else preferredSize = new Dimension(0, 0);
protected void updateCachedPreferredSize() { int maxWidth = 0; boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePath(getPathToRoot(path[i], 0)); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
if ((bounds.width == 0 && bounds.height == 0) || (!isRootVisible() && tree.isExpanded(new TreePath(next))))
if ((bounds.width == 0 && bounds.height == 0) || (!isRootVisible() && tree.isExpanded(new TreePath(next))))
void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); if (next == null) return; TreePath rootPath = new TreePath(next); Rectangle bounds = getPathBounds(tree, rootPath); // If root is not a valid size to be visible, or is // not vis...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
while (next != null && !tree.isVisible(new TreePath(getPathToRoot(next, 0))));
while (next != null && !tree.isVisible(new TreePath(getPathToRoot(next, 0))));
void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); if (next == null) return; TreePath rootPath = new TreePath(next); Rectangle bounds = getPathBounds(tree, rootPath); // If root is not a valid size to be visible, or is // not vis...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
if (tree.getSelectionModel() != null && tree.getSelectionCount() == 0 && currentVisiblePath != null) selectPath(tree, new TreePath(getPathToRoot(currentVisiblePath. getPathComponent(0), 0)));
if (tree.getSelectionModel() != null && tree.getSelectionCount() == 0 && currentVisiblePath != null) selectPath( tree, new TreePath( getPathToRoot( currentVisiblePath.getPathComponent(0), 0)));
void updateCurrentVisiblePath() { if (treeModel == null) return; Object next = treeModel.getRoot(); if (next == null) return; TreePath rootPath = new TreePath(next); Rectangle bounds = getPathBounds(tree, rootPath); // If root is not a valid size to be visible, or is // not vis...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
if(tree.getCellRenderer() == null)
if (tree.getCellRenderer() == null)
protected void updateRenderer() { if (tree != null) { if(tree.getCellRenderer() == null) { if(currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
if(currentCellRenderer == null)
if (currentCellRenderer == null)
protected void updateRenderer() { if (tree != null) { if(tree.getCellRenderer() == null) { if(currentCellRenderer == null) currentCellRenderer = createDefaultCellRenderer(); tree.setCellRenderer(currentCellRenderer); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java
public Object getCellEditorValue();
Object getCellEditorValue();
public Object getCellEditorValue();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CellEditor.java/buggy/core/src/classpath/javax/javax/swing/CellEditor.java
public Icon getIcon() { return icon; }
public Icon getIcon() { return icon; }
public Icon getIcon() { return icon; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JLabel.java/buggy/core/src/classpath/javax/javax/swing/JLabel.java
public void cancelCellEditing();
void cancelCellEditing();
public void cancelCellEditing();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CellEditor.java/buggy/core/src/classpath/javax/javax/swing/CellEditor.java
int value2, boolean value3, Rectangle value4);
int value2, boolean value3, Rectangle value4);
public abstract Rectangle getNodeDimensions(Object value0, int value1, int value2, boolean value3, Rectangle value4);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/AbstractLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/AbstractLayoutCache.java
public Object getLastPathComponent() {
public Object getLastPathComponent() {
public Object getLastPathComponent() { return path[path.length - 1]; } // getLastPathComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
}
}
public Object getLastPathComponent() { return path[path.length - 1]; } // getLastPathComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public boolean isEnabled() { return enabled; }
public boolean isEnabled() { return enabled; }
public boolean isEnabled() { return enabled; } // isEnabled()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractAction.java/buggy/core/src/classpath/javax/javax/swing/AbstractAction.java
public boolean stopCellEditing();
boolean stopCellEditing();
public boolean stopCellEditing();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CellEditor.java/buggy/core/src/classpath/javax/javax/swing/CellEditor.java
public DefaultTreeCellEditor(JTree value0, DefaultTreeCellRenderer value1, TreeCellEditor value2) {
public DefaultTreeCellEditor(JTree value0, DefaultTreeCellRenderer value1) {
public DefaultTreeCellEditor(JTree value0, DefaultTreeCellRenderer value1, TreeCellEditor value2) { // TODO } // DefaultTreeCellEditor()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DefaultTreeCellEditor.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellEditor.java
public DefaultTreeCellRenderer() {
public DefaultTreeCellRenderer() {
public DefaultTreeCellRenderer() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForegro...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java
setBackgroundNonSelectionColor(defaults.getColor("Tree.textBackground")); setBackgroundSelectionColor(defaults.getColor("Tree.selectionBackground")); setBorderSelectionColor(defaults.getColor("Tree.selectionBorderColor"));
setBackgroundNonSelectionColor(defaults .getColor("Tree.textBackground")); setBackgroundSelectionColor(defaults .getColor("Tree.selectionBackground")); setBorderSelectionColor(defaults .getColor("Tree.selectionBorderColor"));
public DefaultTreeCellRenderer() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); setLeafIcon(getDefaultLeafIcon()); setOpenIcon(getDefaultOpenIcon()); setClosedIcon(getDefaultClosedIcon()); setTextNonSelectionColor(defaults.getColor("Tree.textForegro...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java
public FixedHeightLayoutCache() {
public FixedHeightLayoutCache() {
public FixedHeightLayoutCache() { // TODO } // FixedHeightLayoutCache()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65fc7899e6a31f0880fa2d7c7f5bd6905d251de4/FixedHeightLayoutCache.java/buggy/core/src/classpath/javax/javax/swing/tree/FixedHeightLayoutCache.java
public Object[] getPath() {
public Object[] getPath() {
public Object[] getPath() { return path; } // getPath()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
}
}
public Object[] getPath() { return path; } // getPath()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public int getPathCount() {
public int getPathCount() {
public int getPathCount() { return path.length; } // getPathCount()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
}
}
public int getPathCount() { return path.length; } // getPathCount()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public Object getPathComponent(int position) {
public Object getPathComponent(int position) {
public Object getPathComponent(int position) { return path[position]; } // getPathComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
}
}
public Object getPathComponent(int position) { return path[position]; } // getPathComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
Container p, Rectangle r) {
Container p, int x, int y, int w, int h, boolean shouldValidate) {
public void paintComponent(Graphics graphics, Component c, Container p, Rectangle r) { // TODO } // paintComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CellRendererPane.java/buggy/core/src/classpath/javax/javax/swing/CellRendererPane.java
public boolean shouldSelectCell(EventObject event);
boolean shouldSelectCell(EventObject event);
public boolean shouldSelectCell(EventObject event);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CellEditor.java/buggy/core/src/classpath/javax/javax/swing/CellEditor.java
public boolean isCellEditable(EventObject event);
boolean isCellEditable(EventObject event);
public boolean isCellEditable(EventObject event);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/CellEditor.java/buggy/core/src/classpath/javax/javax/swing/CellEditor.java
public TreePath pathByAddingChild(Object element) {
public TreePath pathByAddingChild(Object element) {
public TreePath pathByAddingChild(Object element) { return new TreePath(this, element); } // pathByAddingChild()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
}
}
public TreePath pathByAddingChild(Object element) { return new TreePath(this, element); } // pathByAddingChild()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/TreePath.java/buggy/core/src/classpath/javax/javax/swing/tree/TreePath.java
public abstract int selectionForKey(char value0, ComboBoxModel value1);
int selectionForKey(char value0, ComboBoxModel value1);
public abstract int selectionForKey(char value0, ComboBoxModel value1);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java
public void addActionListener(ActionListener value0) { }
public void addActionListener (ActionListener listener) { listenerList.add (ActionListener.class, listener); }
public void addActionListener(ActionListener value0) { // TODO } // addActionListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java
public void removeActionListener(ActionListener value0) { }
public void removeActionListener (ActionListener listener) { listenerList.remove (ActionListener.class, listener); }
public void removeActionListener(ActionListener value0) { // TODO } // removeActionListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/JComboBox.java/clean/core/src/classpath/javax/javax/swing/JComboBox.java
public int getColumnIndexAtX(int xPosition);
int getColumnIndexAtX(int xPosition);
public int getColumnIndexAtX(int xPosition);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumnModel.java
public Enumeration getColumns();
Enumeration getColumns();
public Enumeration getColumns();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumnModel.java
public int getSelectedColumnCount();
int getSelectedColumnCount();
public int getSelectedColumnCount();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumnModel.java
public int[] getSelectedColumns();
int[] getSelectedColumns();
public int[] getSelectedColumns();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumnModel.java
public void setSelectionModel(ListSelectionModel model);
void setSelectionModel(ListSelectionModel model);
public void setSelectionModel(ListSelectionModel model);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/TableColumnModel.java/buggy/core/src/classpath/javax/javax/swing/table/TableColumnModel.java
if (interrupted)
if (interrupted || len < 1)
public void characters(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } ctx.appendChild(createText(c, off, len)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
if (!inDTD) {
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
}
public void comment(char[] c, int off, int len) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node comment = createComment(c, off, len); ctx.appendChild(comment); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
if (!inDTD) {
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
}
public void processingInstruction(String target, String data) throws SAXException { if (interrupted) { return; } if (!inDTD) { Node pi = createProcessingInstruction(target, data); ctx.appendChild(pi); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
final String FEATURES = "http: final String PROPERTIES = "http: final String GNU_PROPERTIES = "http: boolean standalone = reader.getFeature(FEATURES + "is-standalone"); doc.setXmlStandalone(standalone); try { String version = (String) reader.getProperty(PROPERTIES + "document-xml-version"); doc.setXmlVersion(version)...
public void startDocument() throws SAXException { if (namespaceAware) { pending = new LinkedList(); } doc = new DomDocument(); doc.setStrictErrorChecking(false); doc.setBuilding(true); ctx = doc; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/SAXEventSink.java/buggy/core/src/classpath/gnu/gnu/xml/dom/ls/SAXEventSink.java
private static synchronized Calendar getCalendar() {
private static synchronized Calendar getCalendar() {
private static synchronized Calendar getCalendar() { if (cal == null) cal = Calendar.getInstance(); return cal; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public String getComment() {
public String getComment() {
public String getComment() { return comment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public long getCrc() {
public long getCrc() {
public long getCrc() { return (known & KNOWN_CRC) != 0 ? crc & 0xffffffffL : -1L; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
final int getDOSTime() {
final int getDOSTime() {
final int getDOSTime() { if ((known & KNOWN_TIME) == 0) return 0; else return dostime; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public byte[] getExtra() {
public byte[] getExtra() {
public byte[] getExtra() { return extra; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public long getSize() {
public long getSize() {
public long getSize() { return (known & KNOWN_SIZE) != 0 ? size & 0xffffffffL : -1L; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public long getTime() {
public long getTime() {
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
try {
try {
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
synchronized (cal) {
synchronized (cal) {
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
} catch (RuntimeException ex) {
} catch (RuntimeException ex) {
public long getTime() { if ((known & KNOWN_TIME) == 0) return -1; int sec = 2 * (dostime & 0x1f); int min = (dostime >> 5) & 0x3f; int hrs = (dostime >> 11) & 0x1f; int day = (dostime >> 16) & 0x1f; int mon = ((dostime >> 21) & 0xf) - 1; int year = ((dostime >> 25) & 0x7f) + 1980; /* since 1900 */ try { ca...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public int hashCode() {
public int hashCode() {
public int hashCode() { return name.hashCode(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public boolean isDirectory() {
public boolean isDirectory() {
public boolean isDirectory() { int nlen = name.length(); return nlen > 0 && name.charAt(nlen - 1) == '/'; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public void setTime(long time) {
public void setTime(long time) {
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11 | (cal.get(Calendar.MINUTE)) << 5 | (cal.get(Calendar.SECOND)) >> 1;
synchronized (cal) { cal.setTime(new Date(time)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11 | (cal.get(Calendar.MINUTE)) << 5 | (cal.get(Calendar.SECOND)) >> 1;
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
dostime = (int) (dostime / 1000L);
public void setTime(long time) { Calendar cal = getCalendar(); synchronized (cal) { cal.setTime(new Date(time * 1000L)); dostime = (cal.get(Calendar.YEAR) - 1980 & 0x7f) << 25 | (cal.get(Calendar.MONTH) + 1) << 21 | (cal.get(Calendar.DAY_OF_MONTH)) << 16 | (cal.get(Calendar.HOUR_OF_DAY)) << 11...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
public String toString() {
public String toString() {
public String toString() { return name; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/ZipEntry.java/clean/core/src/classpath/java/java/util/zip/ZipEntry.java
io.unlock();
public void restoreToVGA(VgaIO vgaIO) { final NVidiaVgaIO io = (NVidiaVgaIO) vgaIO; super.restoreToVGA(io); io.unlock(); if (loaded) { io.setReg32(NV32_PWRUPCTRL, pwupctrl); io.setFB(0x200, config); io.setReg32(NVDAC_CURPOS, cursor2); io.setReg32(NVDAC_PIXPLLC, vpll); io.setReg32(NVDAC_PLLSEL, pllsel); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b4526bb2ab06b3eef3f4b8621964a1355c676ca/NVidiaVgaState.java/clean/gui/src/driver/org/jnode/driver/video/nvidia/NVidiaVgaState.java
protected void restorePalette(VgaIO io) {
protected void restorePalette(VgaIO io) {
protected void restorePalette(VgaIO io) { if (palette != null) { final int size = Math.min(256, palette.getMapSize()); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; palette.getReds(r); palette.getGreens(g); palette.getBlues(b); //log.debug("Restore-...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b4526bb2ab06b3eef3f4b8621964a1355c676ca/VgaState.java/buggy/gui/src/driver/org/jnode/driver/video/vgahw/VgaState.java
log.debug("size=" + size + ", pal.mapsize=" + palette.getMapSize());
protected void restorePalette(VgaIO io) { if (palette != null) { final int size = Math.min(256, palette.getMapSize()); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; palette.getReds(r); palette.getGreens(g); palette.getBlues(b); //log.debug("Restore-...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b4526bb2ab06b3eef3f4b8621964a1355c676ca/VgaState.java/buggy/gui/src/driver/org/jnode/driver/video/vgahw/VgaState.java
palette = new IndexColorModel(32/*6*/, size, r, g, b);
palette = new IndexColorModel(8/*32*
protected void savePalette(VgaIO io) { final int size = getPaletteSize(io); final byte[] r = new byte[size]; final byte[] g = new byte[size]; final byte[] b = new byte[size]; for (int i = size - 1; i >= 0; i--) { getPaletteEntry(io, i, r, g, b); } //log.debug("Save-Size:" + size + ", R=" + NumberUtils.hex(r))...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9b4526bb2ab06b3eef3f4b8621964a1355c676ca/VgaState.java/buggy/gui/src/driver/org/jnode/driver/video/vgahw/VgaState.java
private void moveDividerTo(int locationIndex)
void moveDividerTo(int locationIndex)
private void moveDividerTo(int locationIndex) { Insets insets = splitPane.getInsets(); switch (locationIndex) { case 1: splitPane.setDividerLocation(splitPane.getLastDividerLocation()); break; case 0: int top = (orientation == JSplitPane.HORIZONTAL_SPLIT) ? insets.left ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01dce648448be461531cfd95f93f9421282da0f4/BasicSplitPaneDivider.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicSplitPaneDivider.java
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException {
public IndexedPropertyDescriptor(String name, Class beanClass) throws IntrospectionException {
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/IndexedPropertyDescriptor.java/clean/core/src/classpath/java/java/beans/IndexedPropertyDescriptor.java
if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters");
String capitalized; try { capitalized = Character.toUpperCase(name.charAt(0)) + name.substring(1); } catch(StringIndexOutOfBoundsException e) { capitalized = "";
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/IndexedPropertyDescriptor.java/clean/core/src/classpath/java/java/beans/IndexedPropertyDescriptor.java
if(getMethod != null && setMethod.getParameterTypes().length != 1) { throw new IntrospectionException("set method does not have exactly one parameter"); } if(getMethod != null && setMethod != null) { if(!getMethod.getReturnType().equals(setMethod.getParameterTypes()[0])) { throw new IntrospectionException("set and get ...
findMethods(beanClass, "get" + capitalized, "set" + capitalized, "get" + capitalized, "set" + capitalized);
public IndexedPropertyDescriptor(String name, Method getMethod, Method setMethod, Method getIndex, Method setIndex) throws IntrospectionException { super(name); if(getMethod != null && getMethod.getParameterTypes().length > 0) { throw new IntrospectionException("get method has parameters"); } if(getMethod != nul...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd6a57fe2ed88cedb0f331b4b49081272bc198c5/IndexedPropertyDescriptor.java/clean/core/src/classpath/java/java/beans/IndexedPropertyDescriptor.java
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException
ServerSocket(SocketImpl impl) throws IOException
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ServerSocket.java/buggy/core/src/classpath/java/java/net/ServerSocket.java
this();
if (impl == null) throw new NullPointerException("impl may not be null");
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ServerSocket.java/buggy/core/src/classpath/java/java/net/ServerSocket.java
bind(new InetSocketAddress(bindAddr, port), backlog);
this.impl = impl; this.impl.create(true);
public ServerSocket(int port, int backlog, InetAddress bindAddr) throws IOException { this(); // bind/listen socket bind(new InetSocketAddress(bindAddr, port), backlog); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/91f4232dfb8a5dff7627558a11285391ca44ebfd/ServerSocket.java/buggy/core/src/classpath/java/java/net/ServerSocket.java
}
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java
{
private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); debug("start Certificate len == " + cert.getLength()); this.encoded = cert.getEncoded(); if (!cert.isConstructed()) { throw new I...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3fecc4797b433a10203c51309b9d8626f7783895/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java
public final void update(byte[]data) throws SignatureException
public final void update(byte b) throws SignatureException
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Signature.java/buggy/core/src/classpath/java/java/security/Signature.java
engineUpdate(data, 0, data.length);
engineUpdate(b);
public final void update(byte[]data) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, 0, data.length); else throw new SignatureException(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Signature.java/buggy/core/src/classpath/java/java/security/Signature.java
public Set getCriticalExtensionOIDs();
Set getCriticalExtensionOIDs();
public Set getCriticalExtensionOIDs();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/X509Extension.java/buggy/core/src/classpath/java/java/security/cert/X509Extension.java
public byte[] getExtensionValue(String oid);
byte[] getExtensionValue(String oid);
public byte[] getExtensionValue(String oid);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/X509Extension.java/buggy/core/src/classpath/java/java/security/cert/X509Extension.java
public X500Principal(byte[] encoded)
public X500Principal(String name)
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java
try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); }
if (name == null) throw new NullPointerException(); this.name = new X500DistinguishedName(name);
public X500Principal(byte[] encoded) { try { name = new X500DistinguishedName(encoded); } catch (IOException ioe) { throw new IllegalArgumentException(ioe.toString()); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/X500Principal.java/buggy/core/src/classpath/javax/javax/security/auth/x500/X500Principal.java
public Set getNonCriticalExtensionOIDs();
Set getNonCriticalExtensionOIDs();
public Set getNonCriticalExtensionOIDs();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/X509Extension.java/buggy/core/src/classpath/java/java/security/cert/X509Extension.java
public boolean hasUnsupportedCriticalExtension();
boolean hasUnsupportedCriticalExtension();
public boolean hasUnsupportedCriticalExtension();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1007f675673d392de852ea798af2cedde0e31ef9/X509Extension.java/buggy/core/src/classpath/java/java/security/cert/X509Extension.java
catch (NoSuchAlgorithmException ignored) {}
catch (NoSuchAlgorithmException e) { }
public static KeyFactory getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw new NoSuchAlgorit...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/KeyFactory.java/buggy/core/src/classpath/java/java/security/KeyFactory.java
catch (NoSuchAlgorithmException ignored) {}
catch (NoSuchAlgorithmException e) { }
public static AlgorithmParameters getInstance(String algorithm) throws NoSuchAlgorithmException { Provider[] p = Security.getProviders(); for (int i = 0; i < p.length; i++) try { return getInstance(algorithm, p[i]); } catch (NoSuchAlgorithmException ignored) {} throw new NoSu...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/AlgorithmParameters.java/buggy/core/src/classpath/java/java/security/AlgorithmParameters.java
CollationElement(String char_seq, int primary, short secondary, short tertiary) { this.char_seq = char_seq;
CollationElement(String key, int primary, short secondary, short tertiary, short equality, String expansion, boolean ignore) { this.key = key;
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
}
this.equality = equality; this.ignore = ignore; this.expansion = expansion; }
CollationElement(String char_seq, int primary, short secondary, short tertiary){ this.char_seq = char_seq; this.primary = primary; this.secondary = secondary; this.tertiary = tertiary;}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
RuleBasedCollator(String rules) throws ParseException {
public RuleBasedCollator(String rules) throws ParseException { if (rules.equals("")) throw new ParseException("empty rule set", 0);
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer(""); for (int i = 0; i < rules.length(); i++) { char c = rules.charAt(i); if (((c ...
buildCollationVector(parseString(rules)); buildPrefixAccess(); }
RuleBasedCollator(String rules) throws ParseException{ this.rules = rules; if (rules.equals("")) throw new IllegalArgumentException("Empty rule set"); Vector v = new Vector(); boolean ignore_chars = true; int primary_seq = 0; short secondary_seq = 0; short tertiary_seq = 0; StringBuffer sb = new StringBuffer...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
clone() { return super.clone(); }
public Object clone() { return super.clone(); }
clone(){ return super.clone();}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
compare(String s1, String s2) { CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2);
public int compare(String source, String target) { CollationElementIterator cs, ct; CollationElement ord1block = null; CollationElement ord2block = null; boolean advance_block_1 = true; boolean advance_block_2 = true; cs = getCollationElementIterator(source); ct = getCollationElementIterator(target);
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
int ord1 = cei1.next(); int ord2 = cei2.next();
int ord1; int ord2;
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
if (ord1 == CollationElementIterator.NULLORDER) if (ord2 == CollationElementIterator.NULLORDER) return(0);
/* * We have to check whether the characters are ignorable. * If it is the case then forget them. */ if (advance_block_1) { ord1block = cs.nextBlock(); if (ord1block != null && ord1block.ignore) continue; } if (advance_block_2) { ord2block = ct.nextBlock(); if (ord2block != null && ord2block.ignore) { advance_block_1 ...
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(-1); else if (ord2 == CollationElementIterator.NULLORDER) return(1);
{ if (ord2block == null) return 0; return -1; } if (ord2block == null) return 1; ord2 = ord2block.getValue();
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(-1);
return -1;
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(1);
return 1;
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(-1);
return -1;
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(1);
return 1;
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
int tert2 = CollationElementIterator.tertiaryOrder(ord1);
int tert2 = CollationElementIterator.tertiaryOrder(ord2);
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(-1);
return -1;
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java
return(1);
return 1; else if (getStrength() == TERTIARY) continue; return ord1block.key.compareTo(ord2block.key);
compare(String s1, String s2){ CollationElementIterator cei1 = getCollationElementIterator(s1); CollationElementIterator cei2 = getCollationElementIterator(s2); for(;;) { int ord1 = cei1.next(); int ord2 = cei2.next(); // Check for end of string if (ord1 == CollationElementIterator.NULLORDER...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/RuleBasedCollator.java/clean/core/src/classpath/java/java/text/RuleBasedCollator.java