rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
filename = System.mapLibraryName(libname); | filename = VMRuntime.mapLibraryName(libname); | public void loadLibrary(String libname) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkLink(libname); String filename; ClassLoader cl = VMSecurityManager.currentClassLoader(); if (cl != null) { filename = cl.findLibrary(libname); if (filename... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/Runtime.java/buggy/core/src/classpath/java/java/lang/Runtime.java |
SecurityManager sm = securityManager; | SecurityManager sm = SecurityManager.current; | public static void runFinalizersOnExit(boolean finalizeOnExit) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkExit(0); VMRuntime.runFinalizersOnExit(finalizeOnExit); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/Runtime.java/buggy/core/src/classpath/java/java/lang/Runtime.java |
new Integer (cert.getLength())); | Integer.valueOf(cert.getLength())); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
new Integer (tbsCert.getLength())); | Integer.valueOf(tbsCert.getLength())); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
new Integer (version)); | Integer.valueOf(version)); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
new Integer (certAlgLen)); | Integer.valueOf(certAlgLen)); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
new Integer (val.getLength())); | Integer.valueOf(val.getLength())); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
new Integer (ext.getLength())); | Integer.valueOf(ext.getLength())); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
logger.log (Component.X509, "count == {0}", new Integer (len)); | logger.log (Component.X509, "count == {0}", Integer.valueOf(len)); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
new Integer (sigAlgLen)); | Integer.valueOf(sigAlgLen)); | private void parse(InputStream encoded) throws Exception { DERReader der = new DERReader(encoded); // Certificate ::= SEQUENCE { DERValue cert = der.read(); logger.log (Component.X509, "start Certificate len == {0}", new Integer (cert.getLength())); this.encoded = cert.getEncoded(); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/X509Certificate.java/clean/core/src/classpath/gnu/gnu/java/security/x509/X509Certificate.java |
if (orb instanceof Restricted_ORB) m_interceptor = ((Restricted_ORB) orb).iClient; if (m_interceptor != null && orb instanceof ORB_1_4) { m_slots = ((ORB_1_4) orb).ic_current.clone_slots(); } | public void setORB(ORB an_orb) { orb = an_orb; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/gnuRequest.java/buggy/core/src/classpath/gnu/gnu/CORBA/gnuRequest.java | |
{ | { | public BeepAction() { super(beepAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public BeepAction() { super(beepAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void actionPerformed(ActionEvent event) { Toolkit.getDefaultToolkit().beep(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public void actionPerformed(ActionEvent event) { Toolkit.getDefaultToolkit().beep(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void actionPerformed(ActionEvent event) { getTextComponent(event).copy(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public CutAction() { super(cutAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public CutAction() { super(cutAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void actionPerformed(ActionEvent event) { getTextComponent(event).cut(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public void actionPerformed(ActionEvent event) { getTextComponent(event).cut(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public DefaultKeyTypedAction() { super(defaultKeyTypedAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public DefaultKeyTypedAction() { super(defaultKeyTypedAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java | ||
} | } | public void actionPerformed(ActionEvent event) { // first we filter the following events: // - control characters // - key events with the ALT modifier (FIXME: filter that too!) char c = event.getActionCommand().charAt(0); if (Character.isISOControl(c)) return; JTextComponent... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ JTextComponent t = getTextComponent(event); | { JTextComponent t = getTextComponent(event); | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\n"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public InsertContentAction() { super(insertContentAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public InsertContentAction() { super(insertContentAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void actionPerformed(ActionEvent event) { // FIXME: Figure out what this Action is supposed to do. Obviously text // that is entered by the user is inserted through DefaultKeyTypedAction. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public InsertTabAction() { super(insertTabAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public InsertTabAction() { super(insertTabAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ JTextComponent t = getTextComponent(event); | { JTextComponent t = getTextComponent(event); | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); t.replaceSelection("\t"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public PasteAction() { super(pasteAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public PasteAction() { super(pasteAction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public void actionPerformed(ActionEvent event) { getTextComponent(event).paste(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public void actionPerformed(ActionEvent event) { getTextComponent(event).paste(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
{ | { | public DefaultEditorKit() { // Nothing to do here. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
} | } | public DefaultEditorKit() { // Nothing to do here. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/DefaultEditorKit.java/buggy/core/src/classpath/javax/javax/swing/text/DefaultEditorKit.java |
return null; | if (event.getSource() != null && event.getSource() instanceof JTextComponent) return (JTextComponent) event.getSource(); else return getFocusedComponent(); | protected final JTextComponent getTextComponent(ActionEvent event) { return null; // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/TextAction.java/buggy/core/src/classpath/javax/javax/swing/text/TextAction.java |
public Point getLocation() { return new Point(x, y); | public Point getLocation() { return new Point(x,y); | public Point getLocation() { return new Point(x, y); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Rectangle.java/buggy/core/src/classpath/java/java/awt/Rectangle.java |
super(name); | public TextAction(String name) { // TODO } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/TextAction.java/buggy/core/src/classpath/javax/javax/swing/text/TextAction.java | |
return getType(ch) == CONTROL; | return isISOControl((int)ch); | public static boolean isISOControl(char ch) { return getType(ch) == CONTROL; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1b7948b90667ad6e59c157b1700e8034e8813d3a/Character.java/buggy/core/src/classpath/5.0/java/lang/Character.java |
System.out.println("Michael: JTextComponent.replaceSelection: Error"); | public synchronized void replaceSelection(String content) { int dot = caret.getDot(); int mark = caret.getMark(); // If content is empty delete selection. if (content == null) { caret.setDot(dot); return; } try { int start = getSelectionStart(); int end = getSelectionEnd(); // Remove s... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/JTextComponent.java/buggy/core/src/classpath/javax/javax/swing/text/JTextComponent.java | |
if (address == null) throw new NullPointerException("Null address"); | public synchronized void setAddress(InetAddress address) { if (address == null) throw new NullPointerException("Null address"); this.address = address; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/DatagramPacket.java/buggy/core/src/classpath/java/java/net/DatagramPacket.java | |
} | public void popupMenuWillBecomeVisible(PopupMenuEvent event) { // Adds topWindowListener to top-level window to listener to // ComponentEvents fired by it. We need to cancel this popup menu // if topWindow to which this popup belongs was resized or moved. Component invoker = popupMenu.getInv... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java | |
popupMenu.setOpaque(true); | public void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); popupMenu.setBackground(defaults.getColor("PopupMenu.background")); popupMenu.setBorder(defaults.getBorder("PopupMenu.border")); popupMenu.setFont(defaults.getFont("PopupMenu.font")); popupMenu.setForeground(defa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50dc6879c9be89f646fdff68c58f785e3dc0b90e/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java | |
System.out.println("Before getPreferences"); | protected void startPlugin() throws PluginException { this.processor = new ConfigurationProcessor(); System.out.println("Before getPreferences"); this.config = new NetConfigurationData(getPreferences()); System.out.println("After getPreferences"); this.service = new ConfigurationS... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/871b019c4f76b914b0b0bb03874f869e97483ba9/IPv4ConfigurationPlugin.java/clean/net/src/net/org/jnode/net/ipv4/config/impl/IPv4ConfigurationPlugin.java | |
System.out.println("After getPreferences"); | protected void startPlugin() throws PluginException { this.processor = new ConfigurationProcessor(); System.out.println("Before getPreferences"); this.config = new NetConfigurationData(getPreferences()); System.out.println("After getPreferences"); this.service = new ConfigurationS... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/871b019c4f76b914b0b0bb03874f869e97483ba9/IPv4ConfigurationPlugin.java/clean/net/src/net/org/jnode/net/ipv4/config/impl/IPv4ConfigurationPlugin.java | |
g.drawRect(focusRect.x - 1, focusRect.y - 1, focusRect.width + 1, focusRect.height + 1); | g.drawRect(focusRect.x - 1, focusRect.y, focusRect.width + 1, focusRect.height); | protected void paintFocus(Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) { if (b.hasFocus() && b.isFocusPainted()) { Color savedColor = g.getColor(); g.setColor(getFocusColor()); Rectangle focusRect = iconRect.union(textRect); g.drawRect(fo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/MetalButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalButtonUI.java |
return "Button"; | return "Button."; | protected String getPropertyPrefix() { return "Button"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/BasicButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicButtonUI.java |
focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + ".background")); b.setMargin(defaults.getInsets(prefix + ".margin")); b.setBorder(defaults.getBorder(prefix + ".border")); b.setIconTextGap(defaults.getInt(prefix + "... | focusColor = defaults.getColor(prefix + "focus"); b.setForeground(defaults.getColor(prefix + "foreground")); b.setBackground(defaults.getColor(prefix + "background")); b.setMargin(defaults.getInsets(prefix + "margin")); b.setBorder(defaults.getBorder(prefix + "border")); b.setIconTextGap(defaults.getInt(prefix + "textI... | protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); String prefix = getPropertyPrefix(); focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + ".... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/BasicButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicButtonUI.java |
(InputMap) defaults.get(prefix + ".focusInputMap")); | (InputMap) defaults.get(prefix + "focusInputMap")); | protected void installDefaults(AbstractButton b) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); String prefix = getPropertyPrefix(); focusColor = defaults.getColor(prefix + ".focus"); b.setForeground(defaults.getColor(prefix + ".foreground")); b.setBackground(defaults.getColor(prefix + ".... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/BasicButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicButtonUI.java |
int indirectCount = fs.getSuperblock().getBlockSize() << 2; | int indirectCount = fs.getSuperblock().getBlockSize() >> 2; | public byte[] getDataBlock(long i) throws IOException { //get the direct blocks (0; 11) if(i<12) return fs.getBlock( Ext2Utils.get32(data,40+(int)i*4) ); //see the indirect blocks (12; indirectCount-1) int indirectCount = fs.getSuperblock().getBlockSize() << 2; //a block index is 4 bytes long if(i<12+indirectCo... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f8b3d6b8d0fc5df27ccebe9a95ce762f5bfe6cd6/INode.java/clean/fs/src/fs/org/jnode/fs/ext2/INode.java |
public byte[] getBlock(long nr) throws IOException{ | protected byte[] getBlock(long nr) throws IOException{ | public byte[] getBlock(long nr) throws IOException{ if(isClosed()) throw new IOException("FS closed (fs instance: "+this+")"); //log.debug("blockCache size: "+blockCache.size()); int blockSize = superblock.getBlockSize(); Block result; Integer key=new Integer((int)(nr)); synchronized(blockCache) { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/bca7c2e0848f3672930b39223f626f4996c1b295/Ext2FileSystem.java/buggy/fs/src/fs/org/jnode/fs/ext2/Ext2FileSystem.java |
else if (e.id == FocusEvent.FOCUS_LOST) { | public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/DefaultKeyboardFocusManager.java/clean/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java | |
if (focusOwner != null) | if (focusOwner != null && ! (focusOwner instanceof Window)) | public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/DefaultKeyboardFocusManager.java/clean/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java |
} else if (e.id == FocusEvent.FOCUS_LOST) { | public boolean dispatchEvent (AWTEvent e) { if (e instanceof WindowEvent) { Window target = (Window) e.getSource (); if (e.id == WindowEvent.WINDOW_ACTIVATED) setGlobalActiveWindow (target); else if (e.id == WindowEvent.WINDOW_GAINED_FOCUS) setGlobalFocusedWindow (targe... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ec415b5ab69e9516c29619bb561ab024d22ce1f2/DefaultKeyboardFocusManager.java/clean/core/src/classpath/java/java/awt/DefaultKeyboardFocusManager.java | |
protected abstract void dequeueKeyEvents(long after, Component untilFocused); | protected abstract void dequeueKeyEvents (long after, Component untilFocused); | protected abstract void dequeueKeyEvents(long after, Component untilFocused); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected abstract void discardKeyEvents(Component comp); | protected abstract void discardKeyEvents (Component comp); | protected abstract void discardKeyEvents(Component comp); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
firePropertyChange("activeWindow", activeWindow, window); try { fireVetoableChange("activeWindow", activeWindow, window); activeWindow = window; } catch (PropertyVetoException e) { } | setGlobalObject (currentActiveWindows, window, "activeWindow"); | protected void setGlobalActiveWindow(Window window) { // XXX Should this send focus events to the windows involved? firePropertyChange("activeWindow", activeWindow, window); try { fireVetoableChange("activeWindow", activeWindow, window); activeWindow = window; } catch (PropertyVet... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected void setGlobalFocusedWindow(Window window) | protected void setGlobalFocusedWindow (Window window) | protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java | ||
{ firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWindow, window); focusedWindow = window; } catch (PropertyVetoException e) { } } | setGlobalObject (currentFocusedWindows, window, "focusedWindow"); | protected void setGlobalFocusedWindow(Window window) { // XXX Should this send focus events to the windows involved? if (window == null || window.focusable) { firePropertyChange("focusedWindow", focusedWindow, window); try { fireVetoableChange("focusedWindow", focusedWind... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public final void redispatchEvent(Component target, AWTEvent e) | public final void redispatchEvent (Component target, AWTEvent e) | public final void redispatchEvent(Component target, AWTEvent e) { throw new Error("not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
throw new Error("not implemented"); | e.setSource (target); dispatchEvent (e); | public final void redispatchEvent(Component target, AWTEvent e) { throw new Error("not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected void setGlobalFocusOwner(Component owner) | protected void setGlobalFocusOwner (Component owner) | protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java | ||
{ firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); focusOwner = owner; | setGlobalObject (currentFocusOwners, owner, "focusOwner"); | protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
catch (PropertyVetoException e) { } } } | protected void setGlobalFocusOwner(Component owner) { // XXX Should this send focus events to the components involved? if (owner == null || owner.focusable) { firePropertyChange("focusOwner", focusOwner, owner); try { fireVetoableChange("focusOwner", focusOwner, owner); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java | |
protected void setGlobalPermanentFocusOwner(Component focusOwner) { | protected void setGlobalPermanentFocusOwner (Component focusOwner) { | protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
{ firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try { fireVetoableChange("permanentFocusOwner", permanentFocusOwner, focusOwner); permanentFocusOwner = focusOwner; } catch (PropertyVetoException e) { } | setGlobalObject (currentPermanentFocusOwners, focusOwner, "permanentFocusOwner"); | protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
} | protected void setGlobalPermanentFocusOwner(Component focusOwner) { // XXX Should this send focus events to the components involved? if (focusOwner == null || focusOwner.focusable) { firePropertyChange("permanentFocusOwner", permanentFocusOwner, focusOwner); try ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java | |
protected List getKeyEventDispatchers() | protected List getKeyEventDispatchers () | protected List getKeyEventDispatchers() { return (List) keyEventDispatchers.clone(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
return (List) keyEventDispatchers.clone(); | return (List) keyEventDispatchers.clone (); | protected List getKeyEventDispatchers() { return (List) keyEventDispatchers.clone(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected Component getGlobalPermanentFocusOwner() { return permanentFocusOwner == null ? focusOwner : permanentFocusOwner; | protected Component getGlobalPermanentFocusOwner () { return (Component) getGlobalObject (currentPermanentFocusOwners); | protected Component getGlobalPermanentFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return permanentFocusOwner == null ? focusOwner : permanentFocusOwner; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public abstract boolean dispatchKeyEvent(KeyEvent e); | public abstract boolean dispatchKeyEvent (KeyEvent e); | public abstract boolean dispatchKeyEvent(KeyEvent e); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected List getKeyEventPostProcessors() | protected List getKeyEventPostProcessors () | protected List getKeyEventPostProcessors() { return (List) keyEventPostProcessors.clone(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
return (List) keyEventPostProcessors.clone(); | return (List) keyEventPostProcessors.clone (); | protected List getKeyEventPostProcessors() { return (List) keyEventPostProcessors.clone(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) | public void setGlobalCurrentFocusCycleRoot (Container cycleRoot) | protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; | setGlobalObject (currentFocusCycleRoots, cycleRoot, "currentFocusCycleRoot"); | protected void setGlobalCurrentFocusCycleRoot(Container cycleRoot) { firePropertyChange("currentFocusCycleRoot", focusCycleRoot, cycleRoot); focusCycleRoot = cycleRoot; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected abstract void enqueueKeyEvents(long after, Component untilFocused); | protected abstract void enqueueKeyEvents (long after, Component untilFocused); | protected abstract void enqueueKeyEvents(long after, Component untilFocused); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public abstract void focusNextComponent(Component comp); | public abstract void focusNextComponent (Component comp); | public abstract void focusNextComponent(Component comp); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected Component getGlobalFocusOwner() | protected Component getGlobalFocusOwner () | protected Component getGlobalFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusOwner; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
return focusOwner; | Component focusOwner = (Component) getGlobalObject (currentFocusOwners); return (focusOwner == null) ? getGlobalPermanentFocusOwner () : focusOwner; | protected Component getGlobalFocusOwner() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusOwner; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public abstract void focusPreviousComponent(Component comp); | public abstract void focusPreviousComponent (Component comp); | public abstract void focusPreviousComponent(Component comp); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public abstract boolean postProcessKeyEvent(KeyEvent e); | public abstract boolean postProcessKeyEvent (KeyEvent e); | public abstract boolean postProcessKeyEvent(KeyEvent e); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
protected Window getGlobalFocusedWindow() | protected Window getGlobalFocusedWindow () | protected Window getGlobalFocusedWindow() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusedWindow; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
return focusedWindow; | return (Window) getGlobalObject (currentFocusedWindows); | protected Window getGlobalFocusedWindow() { // XXX Need a way to test if this thread is in the context of the focus // owner, and throw a SecurityException if that is the case. // XXX Implement. return focusedWindow; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
return(menus.size()); | return countMenus (); | getMenuCount(){ // FIXME: How does the help menu fit in here? return(menus.size());} | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/MenuBar.java/buggy/core/src/classpath/java/java/awt/MenuBar.java |
public int getItemCount() { return (items.size()); } | getItemCount() { return countItems (); } | public int getItemCount() { return (items.size()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Menu.java/buggy/core/src/classpath/java/java/awt/Menu.java |
public MenuItem getItem(int index) { return ((MenuItem) items.elementAt(index)); } | getItem(int index) { return((MenuItem)items.elementAt(index)); } | public MenuItem getItem(int index) { return ((MenuItem) items.elementAt(index)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Menu.java/buggy/core/src/classpath/java/java/awt/Menu.java |
public abstract void processKeyEvent(Component focused, KeyEvent e); | public abstract void processKeyEvent (Component focused, KeyEvent e); | public abstract void processKeyEvent(Component focused, KeyEvent e); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) | public static AWTKeyStroke getAWTKeyStroke(char keyChar) | public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/AWTKeyStroke.java/buggy/core/src/classpath/java/java/awt/AWTKeyStroke.java |
return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); | return getAWTKeyStroke(keyChar, KeyEvent.VK_UNDEFINED, 0, false); | public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean release) { return getAWTKeyStroke(KeyEvent.CHAR_UNDEFINED, keyCode, extend(modifiers), release); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e864c0d89c996e0999ad08d1701193723aaab52a/AWTKeyStroke.java/buggy/core/src/classpath/java/java/awt/AWTKeyStroke.java |
public abstract void upFocusCycle(Component comp); | public abstract void upFocusCycle (Component comp); | public abstract void upFocusCycle(Component comp); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/KeyboardFocusManager.java/buggy/core/src/classpath/java/java/awt/KeyboardFocusManager.java |
public abstract void setLabel(String label); | void setLabel (String label); | public abstract void setLabel(String label); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ButtonPeer.java/clean/core/src/classpath/java/java/awt/peer/ButtonPeer.java |
limit(capacity()); | public FloatBuffer compact () { int copied = 0; while (remaining () > 0) { put (copied, get ()); copied++; } position (copied); return this; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e32ed4d0b771e0ed9b5a8daf23f7ad9df5afb15/FloatBufferImpl.java/buggy/core/src/classpath/java/java/nio/FloatBufferImpl.java | |
public abstract float get (); | public FloatBuffer get (float[] dst, int offset, int length) { checkArraySize(dst.length, offset, length); checkForUnderflow(length); for (int i = offset; i < offset + length; i++) { dst [i] = get (); } return this; } | public abstract float get (); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f77cadd524e37c370e66da65aa495e6445226d4c/FloatBuffer.java/buggy/core/src/classpath/java/java/nio/FloatBuffer.java |
return BIG_ENDIAN; | return (System.getProperty ("gnu.cpu.endian").equals("big") ? BIG_ENDIAN : LITTLE_ENDIAN); | public static ByteOrder nativeOrder() { return BIG_ENDIAN; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e32ed4d0b771e0ed9b5a8daf23f7ad9df5afb15/ByteOrder.java/buggy/core/src/classpath/java/java/nio/ByteOrder.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.