rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
} | } | 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 |
equals(Object obj) { if (obj == this) return(true); else return(false); } | public boolean equals(Object obj) { if (obj == this) return true; else return false; } | equals(Object obj){ if (obj == this) return(true); else return(false);} | 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 |
getCollationElementIterator(String str) { return(new CollationElementIterator(this, str)); } | public CollationElementIterator getCollationElementIterator(String source) { return new CollationElementIterator(this, source); } | getCollationElementIterator(String str){ return(new CollationElementIterator(this, str));} | 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 |
getCollationKey(String str) { CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); | public CollationKey getCollationKey(String source) { CollationElementIterator cei = getCollationElementIterator(source); ArrayList vect = new ArrayList(); | getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder... | 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 |
ord = CollationElementIterator.secondaryOrder(ord); | ord = CollationElementIterator.primaryOrder(ord) << 8; ord |= CollationElementIterator.secondaryOrder(ord); | getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder... | 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 |
for (int i = 0; i < key.length; i++) | for (int i = 0; i < objarr.length; i++) | getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder... | 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 j = ((Integer)objarr[i]).intValue(); key[i++] = (byte)((j & 0xFF000000) >> 24); key[i++] = (byte)((j & 0x00FF0000) >> 16); key[i++] = (byte)((j & 0x0000FF00) >> 8); key[i++] = (byte)(j & 0x000000FF); | int j = ((Integer) objarr[i]).intValue(); key [i * 4] = (byte) ((j & 0xFF000000) >> 24); key [i * 4 + 1] = (byte) ((j & 0x00FF0000) >> 16); key [i * 4 + 2] = (byte) ((j & 0x0000FF00) >> 8); key [i * 4 + 3] = (byte) (j & 0x000000FF); | getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder... | 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(new CollationKey(this, str, key)); } | return new CollationKey(this, source, key); } | getCollationKey(String str){ CollationElementIterator cei = getCollationElementIterator(str); Vector vect = new Vector(25); int ord = cei.next(); while (ord != CollationElementIterator.NULLORDER) { switch (getStrength()) { case PRIMARY: ord = CollationElementIterator.primaryOrder... | 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 |
getRules() { return(rules); } | public String getRules() { return rules; } | getRules(){ return(rules);} | 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 |
hashCode() { return(System.identityHashCode(this)); } | public int hashCode() { return System.identityHashCode(this); } | hashCode(){ return(System.identityHashCode(this));} | 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 |
public static final int primaryOrder (int order) { | public static final int primaryOrder(int order) { | public static final int primaryOrder (int order){ // From the JDK 1.2 spec. return order >>> 16;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
} | } | public static final int primaryOrder (int order){ // From the JDK 1.2 spec. return order >>> 16;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
public static final short secondaryOrder (int order) { | public static final short secondaryOrder(int order) { | public static final short secondaryOrder (int order){ // From the JDK 1.2 spec. return (short) ((order >>> 8) & 255);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
} | } | public static final short secondaryOrder (int order){ // From the JDK 1.2 spec. return (short) ((order >>> 8) & 255);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
public static final short tertiaryOrder (int order) { | public static final short tertiaryOrder(int order) { | public static final short tertiaryOrder (int order){ // From the JDK 1.2 spec. return (short) (order & 255);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
} | } | public static final short tertiaryOrder (int order){ // From the JDK 1.2 spec. return (short) (order & 255);} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
CollationElementIterator(RuleBasedCollator rbc, String str) { this.rbc = rbc; this.str = str; } | CollationElementIterator(RuleBasedCollator collator, String text) { this.collator = collator; setText (text); } | CollationElementIterator(RuleBasedCollator rbc, String str){ this.rbc = rbc; this.str = str;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
next() { ++pos; if (pos >= str.length()) return(NULLORDER); | public int next() { RuleBasedCollator.CollationElement e = nextBlock(); | next(){ ++pos; if (pos >= str.length()) return(NULLORDER); String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s));} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s)); } | if (e == null) return NULLORDER; return e.getValue(); } | next(){ ++pos; if (pos >= str.length()) return(NULLORDER); String s = str.charAt(pos) + ""; return(rbc.getCollationElementValue(s));} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
reset() { pos = 0; } | public void reset() { index = 0; textIndex = 0; } | reset(){ pos = 0;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationElementIterator.java/buggy/core/src/classpath/java/java/text/CollationElementIterator.java |
CollationKey(Collator collator, String str, byte[] key) { | CollationKey (Collator collator, String originalText, byte[] key) { | CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationKey.java/buggy/core/src/classpath/java/java/text/CollationKey.java |
this.str = str; | this.originalText = originalText; | CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationKey.java/buggy/core/src/classpath/java/java/text/CollationKey.java |
} | } | CollationKey(Collator collator, String str, byte[] key){ this.collator = collator; this.str = str; this.key = key;} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/CollationKey.java/buggy/core/src/classpath/java/java/text/CollationKey.java |
ActionMap createActionMap() | private ActionMap createActionMap() | ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) | for (int i = actions.length - 1; i >= 0; i--) | ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); | Action action = actions[i]; am.put(action.getValue(Action.NAME), action); | ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
Action copyAction = TransferHandler.getCopyAction(); am.put(copyAction.getValue(Action.NAME), copyAction); Action cutAction = TransferHandler.getCutAction(); am.put(cutAction.getValue(Action.NAME), cutAction); Action pasteAction = TransferHandler.getPasteAction(); am.put(pasteAction.getValue(Action.NAME), pasteActio... | ActionMap createActionMap() { Action[] actions = textComponent.getActions(); ActionMap am = new ActionMapUIResource(); for (int i = 0; i < actions.length; ++i) { String name = (String) actions[i].getValue(Action.NAME); if (name != null) am.put(name, actions[i]); } return ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java | |
InputMap getInputMap(int condition) | private InputMap getInputMap() | InputMap getInputMap(int condition) { String prefix = getPropertyPrefix(); switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: // FIXME: is this the right string? nobody seems to use it. return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT: return (InputMap) UIManager.get(prefix + ".ancestorInputMap"); default: case JComponent.WHEN_FOCUSED: return (InputMap) UIManager.get(prefix + ".... | InputMap shared = (InputMap) SharedUIDefaults.get(prefix + ".focusInputMap"); if (shared != null) im.setParent(shared); return im; | InputMap getInputMap(int condition) { String prefix = getPropertyPrefix(); switch (condition) { case JComponent.WHEN_IN_FOCUSED_WINDOW: // FIXME: is this the right string? nobody seems to use it. return (InputMap) UIManager.get(prefix + ".windowInputMap"); case JComponent.WHEN_ANC... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
getInputMap(JComponent.WHEN_FOCUSED)); SwingUtilities.replaceUIActionMap(textComponent, createActionMap()); ActionMap parentActionMap = new ActionMapUIResource(); Action[] actions = textComponent.getActions(); for (int j = 0; j < actions.length; j++) { Action currAction = actions[j]; parentActionMap.put(currAction.get... | getInputMap()); SwingUtilities.replaceUIActionMap(textComponent, getActionMap()); | protected void installKeyboardActions() { // This is only there for backwards compatibility. textComponent.setKeymap(createKeymap()); // load any bindings for the newer InputMap / ActionMap interface SwingUtilities.replaceUIInputMap(textComponent, JComponent.WHEN_FOCUSED, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/BasicTextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextUI.java |
public void repaint(Rectangle r) | public void repaint(long tm, int x, int y, int width, int height) | public void repaint(Rectangle r) { repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java |
repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); | Rectangle dirty = new Rectangle(x, y, width, height); Rectangle vis = getVisibleRect(); dirty = dirty.intersection(vis); RepaintManager.currentManager(this).addDirtyRegion(this, dirty.x, dirty.y, dirty.width, dirty.height); | public void repaint(Rectangle r) { repaint((long) 0, (int) r.getX(), (int) r.getY(), (int) r.getWidth(), (int) r.getHeight()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1edc4cba009ff2c639001f1fd1842c4da4b86249/JComponent.java/buggy/core/src/classpath/javax/javax/swing/JComponent.java |
out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); | out.println("Memory size: " + NumberUtils.size(rt.totalMemory())); out.println("Free memory: " + NumberUtils.size(rt.freeMemory())); | public void execute( CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); out.println("Starting gc..."); long start = System.curr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e05eb361be2477c496a6c281a82f52392e5d9f7d/GcCommand.java/buggy/shell/src/shell/org/jnode/shell/command/GcCommand.java |
out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); | out.println("Memory size: " + NumberUtils.size(rt.totalMemory())); out.println("Free memory: " + NumberUtils.size(rt.freeMemory())); | public void execute( CommandLine cmdLine, InputStream in, PrintStream out, PrintStream err) throws Exception { final Runtime rt = Runtime.getRuntime(); out.println("Memory size: " + rt.totalMemory()); out.println("Free memory: " + rt.freeMemory()); out.println("Starting gc..."); long start = System.curr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e05eb361be2477c496a6c281a82f52392e5d9f7d/GcCommand.java/buggy/shell/src/shell/org/jnode/shell/command/GcCommand.java |
protected AccessibleAbstractButton(AbstractButton component) { super(component); } | protected AccessibleAbstractButton(JComponent c) { super(c); } | protected AccessibleAbstractButton(AbstractButton component) { super(component); // TODO } // AccessibleAbstractButton() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
protected void configurePropertiesFromAction(Action a) { } | protected void configurePropertiesFromAction(Action a) { if (a == null) { setText(null); setIcon(null); setEnabled(true); setToolTipText(null); } else { setText((String)(a.getValue(Action.NAME))); setIcon((Icon)(a.getValue(Action.SMALL_ICON))); setEnabled(a.isEnabled()); setToolTipText((String)(a.getValue(Action.SHORT... | protected void configurePropertiesFromAction(Action a) { //Factory method which sets the ActionEvent source's properties according to values from the Action instance. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
protected PropertyChangeListener createActionPropertyChangeListener(Action a) { return null; } | protected PropertyChangeListener createActionPropertyChangeListener(Action a) { return new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent e) { Action act = (Action)(e.getSource()); AbstractButton.this.configurePropertiesFromAction(act); } }; } | protected PropertyChangeListener createActionPropertyChangeListener(Action a) { //Factory method which creates the PropertyChangeListener used to update the ActionEvent source as properties change on its Action instance. return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public abstract Component getComponent(); | Component getComponent(); | public abstract Component getComponent(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MenuElement.java/buggy/core/src/classpath/javax/javax/swing/MenuElement.java |
public abstract MenuElement[] getSubElements(); | MenuElement[] getSubElements(); | public abstract MenuElement[] getSubElements(); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MenuElement.java/buggy/core/src/classpath/javax/javax/swing/MenuElement.java |
public abstract void menuSelectionChanged(boolean included); | void menuSelectionChanged(boolean included); | public abstract void menuSelectionChanged(boolean included); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MenuElement.java/buggy/core/src/classpath/javax/javax/swing/MenuElement.java |
protected String paramString() { return "AbstractButton"; } | protected String paramString() { return "AbstractButton"; } | protected String paramString() { // Returns a string representation of this AbstractButton. return "AbstractButton"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public abstract void processKeyEvent(KeyEvent event, | void processKeyEvent(KeyEvent event, | public abstract void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MenuElement.java/buggy/core/src/classpath/javax/javax/swing/MenuElement.java |
public void processMouseEvent(MouseEvent event, | void processMouseEvent(MouseEvent event, | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/MenuElement.java/buggy/core/src/classpath/javax/javax/swing/MenuElement.java |
public void setUI(ButtonUI ui) { super.setUI(ui); } | public void setUI(ButtonUI ui) { super.setUI(ui); } | public void setUI(ButtonUI ui) { // Sets the L&F object that renders this component. super.setUI(ui); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public void updateUI() { /* if (getUI() == null) { setUI(getUI()); } */ } | public void updateUI() { } | public void updateUI() { /* // Notification from the UIFactory that the L&F has changed. if (getUI() == null) { setUI(getUI()); } */ } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/AbstractButton.java/buggy/core/src/classpath/javax/javax/swing/AbstractButton.java |
public GetDelegateInstanceException(String msg, Throwable next) | public GetDelegateInstanceException(String msg) | public GetDelegateInstanceException(String msg, Throwable next) { super(msg, next); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/GetDelegateInstanceException.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/GetDelegateInstanceException.java |
super(msg, next); | super(msg); | public GetDelegateInstanceException(String msg, Throwable next) { super(msg, next); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/GetDelegateInstanceException.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/GetDelegateInstanceException.java |
public org.omg.CORBA.portable.OutputStream _request(String method, boolean response_expected ) | public Request _request(String method) | public org.omg.CORBA.portable.OutputStream _request(String method, boolean response_expected ) { return delegate.request(this, method, response_expected); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/ObjectImpl.java/buggy/core/src/classpath/org/org/omg/CORBA/portable/ObjectImpl.java |
return delegate.request(this, method, response_expected); | return delegate.request(this, method); | public org.omg.CORBA.portable.OutputStream _request(String method, boolean response_expected ) { return delegate.request(this, method, response_expected); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/307c62a404c75cfe6d08b0eae748fea5c1b5a741/ObjectImpl.java/buggy/core/src/classpath/org/org/omg/CORBA/portable/ObjectImpl.java |
public Text createTextNode(char[] buf, int off, int len) | public Text createTextNode(String value) | public Text createTextNode(char[] buf, int off, int len) { if (checkingCharacters) { checkChar(buf, off, len, "1.1".equals(version)); } return new DomText(this, buf, off, len); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java |
checkChar(buf, off, len, "1.1".equals(version)); | checkChar(value, "1.1".equals(version)); | public Text createTextNode(char[] buf, int off, int len) { if (checkingCharacters) { checkChar(buf, off, len, "1.1".equals(version)); } return new DomText(this, buf, off, len); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java |
return new DomText(this, buf, off, len); | return new DomText(this, value); | public Text createTextNode(char[] buf, int off, int len) { if (checkingCharacters) { checkChar(buf, off, len, "1.1".equals(version)); } return new DomText(this, buf, off, len); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/DomDocument.java/buggy/core/src/classpath/gnu/gnu/xml/dom/DomDocument.java |
Object val = (arg == null) ? null : arg.evaluate(context, pos, len); | Object val = (arg == null) ? Collections.singleton(context) : arg.evaluate(context, pos, len); | public Object evaluate(Node context, int pos, int len) { Object val = (arg == null) ? null : arg.evaluate(context, pos, len); return _name(context, (Collection) val); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/NameFunction.java/buggy/core/src/classpath/gnu/gnu/xml/xpath/NameFunction.java |
public DefaultSingleSelectionModel() { } | public DefaultSingleSelectionModel () { } | public DefaultSingleSelectionModel() { // TODO } // DefaultSingleSelectionModel() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/DefaultSingleSelectionModel.java/buggy/core/src/classpath/javax/javax/swing/DefaultSingleSelectionModel.java |
public boolean isSelected(); | boolean isSelected(); | public boolean isSelected(); | 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 setSelectedIndex(int index); | void setSelectedIndex(int index); | public void setSelectedIndex(int index); | 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 |
Name add(int posn, String comp) throws InvalidNameException; | Name add(String comp) throws InvalidNameException; | Name add(int posn, String comp) throws InvalidNameException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/Name.java/buggy/core/src/classpath/javax/javax/naming/Name.java |
Name addAll(int posn, Name n) throws InvalidNameException; | Name addAll(Name suffix) throws InvalidNameException; | Name addAll(int posn, Name n) throws InvalidNameException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/Name.java/buggy/core/src/classpath/javax/javax/naming/Name.java |
invalidate(); | comp.invalidate(); | protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
repaint(); | protected void addImpl(Component comp, Object constraints, int index) { synchronized (getTreeLock ()) { if (index > ncomponents || (index < 0 && index != -1) || comp instanceof Window || (comp instanceof Container && ((Container) comp).isAncestorOf(this)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (! this.isLightweight()) { if (dispatcher == null) | if (!this.isLightweight() && dispatcher == null) | private void addNotifyContainerChildren() { synchronized (getTreeLock ()) { for (int i = ncomponents; --i >= 0; ) { component[i].addNotify(); if (component[i].isLightweight ()) { // If we're not lightweight, and we just got a lightweight ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
} | private void addNotifyContainerChildren() { synchronized (getTreeLock ()) { for (int i = ncomponents; --i >= 0; ) { component[i].addNotify(); if (component[i].isLightweight ()) { // If we're not lightweight, and we just got a lightweight ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (dispatcher != null) dispatcher.enableEvents(component[i].eventMask); | private void addNotifyContainerChildren() { synchronized (getTreeLock ()) { for (int i = ncomponents; --i >= 0; ) { component[i].addNotify(); if (component[i].isLightweight ()) { // If we're not lightweight, and we just got a lightweight ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (eventTypeEnabled (e.id) && dispatcher != null && dispatcher.handleEvent (e)) | if (dispatcher != null && dispatcher.handleEvent (e)) | void dispatchEventImpl(AWTEvent e) { // Give lightweight dispatcher a chance to handle it. if (eventTypeEnabled (e.id) && dispatcher != null && dispatcher.handleEvent (e)) return; if ((e.id <= ContainerEvent.CONTAINER_LAST && e.id >= ContainerEvent.CONTAINER_FIRST) && ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
if (layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.getLayoutAlignmentX(this); } else | public float getAlignmentX() { if (layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.getLayoutAlignmentX(this); } else return super.getAlignmentX(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.getLayoutAlignmentY(this); } else | public float getAlignmentY() { if (layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.getLayoutAlignmentY(this); } else return super.getAlignmentY(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (layoutMgr != null && layoutMgr instanceof LayoutManager2) | if (valid && maxSize != null) return new Dimension(maxSize); LayoutManager layout = getLayout(); if (layout != null && layout instanceof LayoutManager2) | public Dimension getMaximumSize() { if (layoutMgr != null && layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.maximumLayoutSize(this); } else return super.getMaximumSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.maximumLayoutSize(this); | LayoutManager2 lm2 = (LayoutManager2) layout; maxSize = lm2.maximumLayoutSize(this); return maxSize; | public Dimension getMaximumSize() { if (layoutMgr != null && layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; return lm2.maximumLayoutSize(this); } else return super.getMaximumSize(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
if (layoutMgr != null && layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; lm2.invalidateLayout(this); } | public void invalidate() { super.invalidate(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (layoutMgr != null && layoutMgr instanceof LayoutManager2) { LayoutManager2 lm2 = (LayoutManager2) layoutMgr; lm2.invalidateLayout(this); } | void invalidateTree() { for (int i = 0; i < ncomponents; i++) { Component comp = component[i]; comp.invalidate(); if (comp instanceof Container) ((Container) comp).invalidateTree(); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (layoutMgr != null) return layoutMgr.minimumLayoutSize (this); | if(valid && minSize != null) return new Dimension(minSize); LayoutManager layout = getLayout(); if (layout != null) { minSize = layout.minimumLayoutSize (this); return minSize; } | public Dimension minimumSize() { if (layoutMgr != null) return layoutMgr.minimumLayoutSize (this); else return super.minimumSize (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
super.paint(g); | public void paint(Graphics g) { if (!isShowing()) return; // Paint self first. super.paint(g); // Visit heavyweights as well, in case they were // erased when we cleared the background for this container. visitChildren(g, GfxPaintVisitor.INSTANCE, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
if (layoutMgr != null) return layoutMgr.preferredLayoutSize (this); | synchronized(treeLock) { if(valid && prefSize != null) return new Dimension(prefSize); LayoutManager layout = getLayout(); if (layout != null) { Dimension layoutSize = layout.preferredLayoutSize(this); if(valid) prefSize = layoutSize; return new Dimension(layoutSize); } | public Dimension preferredSize() { if (layoutMgr != null) return layoutMgr.preferredLayoutSize (this); else return super.preferredSize (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
} | public Dimension preferredSize() { if (layoutMgr != null) return layoutMgr.preferredLayoutSize (this); else return super.preferredSize (); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
repaint(); | public void remove(int index) { synchronized (getTreeLock ()) { Component r = component[index]; r.removeNotify(); System.arraycopy(component, index + 1, component, index, ncomponents - index - 1); component[--ncomponents] = null; invalidate(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
focusTraversalKeys = new Set[3]; | focusTraversalKeys = new Set[4]; | public void setFocusTraversalKeys(int id, Set keystrokes) { if (id != KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS && id != KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS && id != KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS) throw new... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
} | public void setFont(Font f) { super.setFont(f); // FIXME: Although it might make more sense to invalidate only // those children whose font == null, Sun invalidates all children. // So we'll do the same. invalidateTree(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
super.update(g); | ComponentPeer p = peer; if (p != null && !(p instanceof LightweightPeer)) g.clearRect(0, 0, getWidth(), getHeight()); paint(g); | public void update(Graphics g) { super.update(g); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
private void visitChildren(Graphics gfx, GfxVisitor visitor, boolean lightweightOnly) { synchronized (getTreeLock ()) { for (int i = ncomponents - 1; i >= 0; --i) { Component comp = component[i]; // If we're visiting heavyweights as well, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | ||
&& (comp.isLightweight() || !lightweightOnly && ! (comp instanceof Container)); | && (comp.isLightweight() || !lightweightOnly); | private void visitChildren(Graphics gfx, GfxVisitor visitor, boolean lightweightOnly) { synchronized (getTreeLock ()) { for (int i = ncomponents - 1; i >= 0; --i) { Component comp = component[i]; // If we're visiting heavyweights as well, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
void acquireComponentForMouseEvent(MouseEvent me) | Component acquireComponentForMouseEvent(MouseEvent me) | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
SwingUtilities.getDeepestComponentAt(parent, p.x, p.y); | getDeepestComponentForMouseEventAt(parent, p.x, p.y); | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
p = SwingUtilities.convertPoint(parent, p.x, p.y, parent.parent); | p = AWTUtilities.convertPoint(parent, p.x, p.y, parent.parent); | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
if (SwingUtilities.isDescendingFrom(lastComponentEntered, nativeContainer)) | if (AWTUtilities.isDescendingFrom(lastComponentEntered, nativeContainer)) | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
Point tp = SwingUtilities.convertPoint(nativeContainer, | Point tp = AWTUtilities.convertPoint(nativeContainer, | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
tempComponent = lastComponentEntered; lastComponentEntered = null; tempComponent.dispatchEvent(exited); | lastComponentEntered.dispatchEvent (exited); | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
Point cp = SwingUtilities.convertPoint(nativeContainer, | Point cp = AWTUtilities.convertPoint(nativeContainer, | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
|| me.getID() == MouseEvent.MOUSE_PRESSED && pressCount > 0 | || me.getID() == MouseEvent.MOUSE_PRESSED && modifiers > 0 | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | ||
if (SwingUtilities.isDescendingFrom(pressedComponent, nativeContainer)) | if (AWTUtilities.isDescendingFrom(pressedComponent, nativeContainer)) | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
return mouseEventTarget; | void acquireComponentForMouseEvent(MouseEvent me) { int x = me.getX (); int y = me.getY (); // Find the candidate which should receive this event. Component parent = nativeContainer; Component candidate = null; Point p = me.getPoint(); while (candidate == null && parent != null) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
acquireComponentForMouseEvent(me); | Component mouseEventTarget = acquireComponentForMouseEvent(me); | boolean handleEvent(AWTEvent e) { if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching ENTERED and EXITED events twice. if (mouseEventTarget != null && mouseEventTarget.isShowing() && e.getID()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java |
MouseEvent newEvt = SwingUtilities.convertMouseEvent(nativeContainer, me, mouseEventTarget); mouseEventTarget.dispatchEvent(newEvt); | boolean handleEvent(AWTEvent e) { if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching ENTERED and EXITED events twice. if (mouseEventTarget != null && mouseEventTarget.isShowing() && e.getID()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
boolean handleEvent(AWTEvent e) { if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching ENTERED and EXITED events twice. if (mouseEventTarget != null && mouseEventTarget.isShowing() && e.getID()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | ||
MouseEvent newEvt = AWTUtilities.convertMouseEvent(nativeContainer, me, mouseEventTarget); mouseEventTarget.dispatchEvent(newEvt); | boolean handleEvent(AWTEvent e) { if (e instanceof MouseEvent) { MouseEvent me = (MouseEvent) e; acquireComponentForMouseEvent(me); // Avoid dispatching ENTERED and EXITED events twice. if (mouseEventTarget != null && mouseEventTarget.isShowing() && e.getID()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cfd5d26ab69af1fe494534bdf03f35be22c13bd8/Container.java/buggy/core/src/classpath/java/java/awt/Container.java | |
public IncompatibleClassChangeError(String s) { super(s); | public IncompatibleClassChangeError() { | public IncompatibleClassChangeError(String s) { super(s); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IncompatibleClassChangeError.java/buggy/core/src/classpath/java/java/lang/IncompatibleClassChangeError.java |
catch (Exception ignored) {} | catch (Exception e) { } | static Policy getCurrentPolicy() { // FIXME: The class name of the Policy provider should really be sourced // from the "java.security" configuration file. For now, just hard-code // a stub implementation. if (currentPolicy == null) { String pp = System.getProperty ("policy.provider"); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Policy.java/clean/core/src/classpath/java/java/security/Policy.java |
public Permissions() { | public Permissions() { | public Permissions() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Permissions.java/buggy/core/src/classpath/java/java/security/Permissions.java |
public void add(Permission perm) { if (isReadOnly()) { throw new SecurityException( "PermissionCollection is read only"); } final Class permClass = perm.getClass(); if (perm instanceof AllPermission) { if (allPermission == null) { | public void add(Permission perm) { if (isReadOnly()) throw new SecurityException("PermissionCollection is read only"); if (perm instanceof AllPermission) { if (allPermission == null) { | public void add(Permission perm) { if (isReadOnly()) { throw new SecurityException( "PermissionCollection is read only"); } final Class permClass = perm.getClass(); if (perm instanceof AllPermission) { if (allPermission == null) { allPermission = perm.ne... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Permissions.java/buggy/core/src/classpath/java/java/security/Permissions.java |
perms.put(permClass, allPermission); | perms.put(perm.getClass(), allPermission); } | public void add(Permission perm) { if (isReadOnly()) { throw new SecurityException( "PermissionCollection is read only"); } final Class permClass = perm.getClass(); if (perm instanceof AllPermission) { if (allPermission == null) { allPermission = perm.ne... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/61b8e27fab61a8487622d1793b61aa19c130c7ab/Permissions.java/buggy/core/src/classpath/java/java/security/Permissions.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.