rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
public synchronized void removeItemListener(ItemListener listener) { | removeItemListener(ItemListener listener) { | public synchronized void removeItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.remove(item_listeners, listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5af1a0dd02ba16d1f4f4556ab34fa51c2db060d/CheckboxMenuItem.java/clean/core/src/classpath/java/java/awt/CheckboxMenuItem.java |
} | } | public synchronized void removeItemListener(ItemListener listener) { item_listeners = AWTEventMulticaster.remove(item_listeners, listener); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b5af1a0dd02ba16d1f4f4556ab34fa51c2db060d/CheckboxMenuItem.java/clean/core/src/classpath/java/java/awt/CheckboxMenuItem.java |
protected Object clone () | protected Object clone() | protected Object clone () throws CloneNotSupportedException { // Clone this formatter. AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); // And remove the association to the JFormattedTextField. newFormatter.textField = null; return newFormatter; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); | AbstractFormatter newFormatter = (AbstractFormatter) super.clone(); | protected Object clone () throws CloneNotSupportedException { // Clone this formatter. AbstractFormatter newFormatter = (AbstractFormatter)super.clone(); // And remove the association to the JFormattedTextField. newFormatter.textField = null; return newFormatter; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected Action[] getActions () | protected Action[] getActions() | protected Action[] getActions () { return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected DocumentFilter getDocumentFilter () | protected DocumentFilter getDocumentFilter() | protected DocumentFilter getDocumentFilter () { // Subclasses should override this if they want to install a // DocumentFilter. return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected JFormattedTextField getFormattedTextField () | protected JFormattedTextField getFormattedTextField() | protected JFormattedTextField getFormattedTextField () { return textField; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected NavigationFilter getNavigationFilter () | protected NavigationFilter getNavigationFilter() | protected NavigationFilter getNavigationFilter () { // This should be subclassed if the formatter wants to install // a NavigationFilter on the JFormattedTextField. return null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
((AbstractDocument)doc).setDocumentFilter(getDocumentFilter()); | ((AbstractDocument) doc).setDocumentFilter(getDocumentFilter()); | public void install(JFormattedTextField textField) { // Uninstall the current textfield. if (this.textField != null) uninstall(); this.textField = textField; // Install some state on the text field, including display text, // DocumentFilter, NavigationFilter, and formatter s... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected void invalidEdit () | protected void invalidEdit() | protected void invalidEdit () { textField.invalidEdit(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected void setEditValid (boolean valid) | protected void setEditValid(boolean valid) | protected void setEditValid (boolean valid) { textField.editValid = valid; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public abstract Object stringToValue (String text) | public abstract Object stringToValue(String text) | public abstract Object stringToValue (String text) throws ParseException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public void uninstall () | public void uninstall() | public void uninstall () { // Set the DocumentFilter for the field's Document. Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(null); textField.setNavigationFilter(null); // FIXME: Have to remove the Actions fr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
((AbstractDocument)doc).setDocumentFilter(null); | ((AbstractDocument) doc).setDocumentFilter(null); | public void uninstall () { // Set the DocumentFilter for the field's Document. Document doc = textField.getDocument(); if (doc instanceof AbstractDocument) ((AbstractDocument)doc).setDocumentFilter(null); textField.setNavigationFilter(null); // FIXME: Have to remove the Actions fr... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public abstract String valueToString (Object value) | public abstract String valueToString(Object value) | public abstract String valueToString (Object value) throws ParseException; | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public AbstractFormatterFactory () | public AbstractFormatterFactory() | public AbstractFormatterFactory () { // Do nothing here. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public abstract AbstractFormatter getFormatter (JFormattedTextField tf); | public abstract AbstractFormatter getFormatter(JFormattedTextField tf); | public abstract AbstractFormatter getFormatter (JFormattedTextField tf); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public JFormattedTextField () | public JFormattedTextField() | public JFormattedTextField () { this((AbstractFormatterFactory) null, null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public void commitEdit () | public void commitEdit() | public void commitEdit () throws ParseException { if (formatter == null) return; // Note: this code is a lot like setValue except that we don't want // to create a new formatter. Object oldValue = this.value; this.value = formatter.stringToValue(getText());; editValid = true; fir... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public Action[] getActions () | public Action[] getActions() | public Action[] getActions () { // FIXME: Add JFormattedTextField specific actions // These are related to committing or cancelling edits. return super.getActions(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) | private AbstractFormatterFactory getAppropriateFormatterFactory(Format format) | private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)forma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
newFormatter = new DateFormatter((DateFormat)format); | newFormatter = new DateFormatter((DateFormat) format); | private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)forma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
newFormatter = new NumberFormatter ((NumberFormat)format); | newFormatter = new NumberFormatter ((NumberFormat) format); | private AbstractFormatterFactory getAppropriateFormatterFactory (Format format) { AbstractFormatter newFormatter; if (format instanceof DateFormat) newFormatter = new DateFormatter((DateFormat)format); else if (format instanceof NumberFormat) newFormatter = new NumberFormatter ((NumberFormat)forma... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public AbstractFormatter getFormatter () | public AbstractFormatter getFormatter() | public AbstractFormatter getFormatter () { return formatter; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public AbstractFormatterFactory getFormatterFactory () | public AbstractFormatterFactory getFormatterFactory() | public AbstractFormatterFactory getFormatterFactory () { return formatterFactory; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public String getUIClassID () | public String getUIClassID() | public String getUIClassID () { return "FormattedTextFieldUI"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public Object getValue () | public Object getValue() | public Object getValue () { return value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected void invalidEdit () | protected void invalidEdit() | protected void invalidEdit () { UIManager.getLookAndFeel().provideErrorFeedback(this); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public boolean isEditValid () | public boolean isEditValid() | public boolean isEditValid () { return editValid; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected void processFocusEvent (FocusEvent evt) | protected void processFocusEvent(FocusEvent evt) | protected void processFocusEvent (FocusEvent evt) { super.processFocusEvent(evt); // Let the formatterFactory change the formatter for this text field // based on whether or not it has focus. setFormatter (formatterFactory.getFormatter(this)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
protected void setFormatter (AbstractFormatter formatter) | protected void setFormatter(AbstractFormatter formatter) | protected void setFormatter (AbstractFormatter formatter) { AbstractFormatter oldFormatter = null; oldFormatter = this.formatter; if (oldFormatter != null) oldFormatter.uninstall(); this.formatter = formatter; if (formatter != null) formatter.install(this); firePropertyChange(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public void setFormatterFactory (AbstractFormatterFactory factory) | public void setFormatterFactory(AbstractFormatterFactory factory) | public void setFormatterFactory (AbstractFormatterFactory factory) { if (formatterFactory == factory) return; AbstractFormatterFactory oldFactory = formatterFactory; formatterFactory = factory; firePropertyChange("formatterFactory", oldFactory, factory); // Now set the formatter according... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
public void setValue (Object newValue) | public void setValue(Object newValue) | public void setValue (Object newValue) { if (value == newValue) return; Object oldValue = value; value = newValue; // If there is no formatterFactory then make one. if (formatterFactory == null) setFormatterFactory(createFormatterFactory(newValue)); // Set the formatter approp... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7a2e92fd1a70a7ebb674875e63bf471ea5bca540/JFormattedTextField.java/buggy/core/src/classpath/javax/javax/swing/JFormattedTextField.java |
final Vm vm = new Vm(arch, null, cl.getStatics(), false); | final Vm vm = new Vm("?", arch, null, cl.getStatics(), false); | private void doExecute() throws BuildException, ClassNotFoundException, IllegalAccessException, IOException { final VmArchitecture arch = getArchitecture(); final int slotSize = arch.getReferenceSize(); VmSystemClassLoader cl = new VmSystemClassLoader(classesURL, arch); final Vm vm = new Vm(arch, null, cl.getStati... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/06ef01b2121b3c49ebf7112f24742fd8617db518/AbstractAsmConstBuilder.java/buggy/builder/src/builder/org/jnode/build/AbstractAsmConstBuilder.java |
} }; sendMenu.add(action); action = new AbstractAction(LangTool.getString("popup.toImage")) { public void actionPerformed(ActionEvent e) { sendMeToImageFile(); | private void doPopup (MouseEvent me) { JMenuItem menuItem; Action action; popup = new JPopupMenu(); final Gui5250 g = this; JMenuItem mi; final int pos = screen.getPosFromView(me.getX(),me.getY()); if (!rubberband.isAreaSelected() && screen.isInField(pos,false) ) { action =... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java | |
doConnections(); } | sendMeToImageFile(); } | public void actionPerformed(ActionEvent e) { doConnections(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
changeConnection(); getFocusForMe(); } | doConnections(); } | public void actionPerformed(ActionEvent e) { changeConnection(); getFocusForMe(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
closeSession(); } | changeConnection(); getFocusForMe(); } | public void actionPerformed(ActionEvent e) { closeSession(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
private void sendMeToFile() { new SendScreenToFile(screen); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java | ||
if (((String)hm.getSelectedValue()).length() > 7) | if (((String)hm.getSelectedValue()).length() > 8) | private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d2b23250c95f45ef098e021cba0d970cd4733e3e/Gui5250.java/clean/tn5250j/src/org/tn5250j/Gui5250.java |
this.className = className; | this.declaringClass = className; | StackTraceElement(String fileName, int lineNumber, String className, String methodName, boolean isNative) { this.fileName = fileName; this.lineNumber = lineNumber; this.className = className; this.methodName = methodName; this.isNative = isNative; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/StackTraceElement.java/buggy/core/src/classpath/java/java/lang/StackTraceElement.java |
&& equals(className, e.className) | && equals(declaringClass, e.declaringClass) | public boolean equals(Object o) { if (! (o instanceof StackTraceElement)) return false; StackTraceElement e = (StackTraceElement) o; return equals(fileName, e.fileName) && lineNumber == e.lineNumber && equals(className, e.className) && equals(methodName, e.methodName); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/StackTraceElement.java/buggy/core/src/classpath/java/java/lang/StackTraceElement.java |
return className; | return declaringClass; | public String getClassName() { return className; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/StackTraceElement.java/buggy/core/src/classpath/java/java/lang/StackTraceElement.java |
return hashCode(fileName) ^ lineNumber ^ hashCode(className) | return hashCode(fileName) ^ lineNumber ^ hashCode(declaringClass) | public int hashCode() { return hashCode(fileName) ^ lineNumber ^ hashCode(className) ^ hashCode(methodName); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/StackTraceElement.java/buggy/core/src/classpath/java/java/lang/StackTraceElement.java |
if (className != null) | if (declaringClass != null) | public String toString() { StringBuffer sb = new StringBuffer(); if (className != null) { sb.append(className); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append(fileName)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/StackTraceElement.java/buggy/core/src/classpath/java/java/lang/StackTraceElement.java |
sb.append(className); | sb.append(declaringClass); | public String toString() { StringBuffer sb = new StringBuffer(); if (className != null) { sb.append(className); if (methodName != null) sb.append('.'); } if (methodName != null) sb.append(methodName); sb.append(" ("); if (fileName != null) sb.append(fileName)... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/37d5fed12204d348d94cd6409a12ac3d0787ccc3/StackTraceElement.java/buggy/core/src/classpath/java/java/lang/StackTraceElement.java |
Border border = getBorder(); if (border != null) border.paintBorder(this, g, 0, 0, s.width, s.height); | public void paint(Graphics g) { Dimension s = getSize(); MetalUtils.fillMetalPattern(splitPane, g, 2, 2, s.width - 4, s.height - 4, light, dark); if (splitPane.isOneTouchExpandable()) { ((BasicArrowButton) rightButton).paint(g); ((BasicArrowButton) leftButto... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fd7e81b5c6d5963539719dfde9d197c68890c201/MetalSplitPaneDivider.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalSplitPaneDivider.java | |
byte buf[] = new byte [1]; int bytes_read = read(buf, 0, 1); if (bytes_read == -1) return -1; return buf[0] & 0xFF; | if (channel == null) throw new SocketException("not connected"); while (true) { try { return channel.getVMChannel().read(); } catch (SocketTimeoutException ste) { throw ste; } catch (InterruptedIOException iioe) { } } | public int read() throws IOException { byte buf[] = new byte [1]; int bytes_read = read(buf, 0, 1); if (bytes_read == -1) return -1; return buf[0] & 0xFF; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
byte buf[] = { (byte) b }; write(buf, 0, 1); | if (channel == null) throw new SocketException("not connected"); while (true) { try { channel.getVMChannel().write(b); return; } catch (InterruptedIOException iioe) { } } | public void write(int b) throws IOException { byte buf[] = { (byte) b }; write(buf, 0, 1); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
throws IOException { throw new SocketException("Not implemented"); | throws IOException { if (channel == null) create(true); if (!(impl instanceof PlainSocketImpl)) throw new IOException("incompatible SocketImpl: " + impl.getClass().getName()); PlainSocketImpl that = (PlainSocketImpl) impl; VMChannel c = channel.getVMChannel().accept(); that.impl.getState().setChannelFD(c.getState()); t... | protected synchronized void accept(SocketImpl impl) throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
protected int available() throws IOException { throw new SocketException("Not implemented"); | protected int available() throws IOException { if (channel == null) throw new SocketException("not connected"); return channel.getVMChannel().available(); | protected int available() throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
throws IOException { throw new SocketException("Not implemented"); | throws IOException { if (channel == null) create(true); impl.bind(new InetSocketAddress(addr, port)); localport = channel.getVMChannel().getLocalAddress().getPort(); | protected synchronized void bind(InetAddress addr, int port) throws IOException { // @vm-specific no natives throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
protected void close() throws IOException { throw new SocketException("Not implemented"); | protected void close() throws IOException { if (impl.getState().isValid()) impl.close(); address = null; port = -1; | protected void close() throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
protected synchronized void connect(String host, int port) throws IOException | protected synchronized void connect(String hostname, int port) throws IOException | protected synchronized void connect(String host, int port) throws IOException { connect(InetAddress.getByName(host), port); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
connect(InetAddress.getByName(host), port); | connect(InetAddress.getByName(hostname), port); | protected synchronized void connect(String host, int port) throws IOException { connect(InetAddress.getByName(host), port); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
protected synchronized InputStream getInputStream() throws IOException { if (in == null) in = new SocketInputStream(); return in; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java | ||
public Object getOption(int optID) throws SocketException { throw new SocketException("Not implemented"); | public Object getOption(int optionId) throws SocketException { if (optionId == SO_BINDADDR) { try { return channel.getVMChannel().getLocalAddress().getAddress(); } catch (IOException ioe) { SocketException se = new SocketException(); se.initCause(ioe); throw se; } } switch (optionId) { case SO_LINGER: case IP_MULTICA... | public Object getOption(int optID) throws SocketException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
protected synchronized OutputStream getOutputStream() throws IOException { if (out == null) out = new SocketOutputStream(); return out; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java | ||
throws IOException { throw new SocketException("Not implemented"); | throws IOException { impl.listen(queuelen); | protected synchronized void listen(int queuelen) throws IOException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
public void sendUrgentData(int data) | public void sendUrgentData(int data) throws IOException | public void sendUrgentData(int data) { throw new InternalError ("PlainSocketImpl::sendUrgentData not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
throw new InternalError ("PlainSocketImpl::sendUrgentData not implemented"); | impl.sendUrgentData(data); | public void sendUrgentData(int data) { throw new InternalError ("PlainSocketImpl::sendUrgentData not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
public void setOption(int optID, Object value) throws SocketException { throw new SocketException("Not implemented"); | public void setOption(int optionId, Object value) throws SocketException { switch (optionId) { case SO_LINGER: case IP_MULTICAST_LOOP: case SO_BROADCAST: case SO_KEEPALIVE: case SO_OOBINLINE: case TCP_NODELAY: case IP_TOS: case SO_RCVBUF: case SO_SNDBUF: case SO_TIMEOUT: case SO_REUSEADDR: impl.setOption(optionId, valu... | public void setOption(int optID, Object value) throws SocketException { // @vm-specific no natives //TODO implement me throw new SocketException("Not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
public void shutdownInput() | public void shutdownInput() throws IOException | public void shutdownInput() { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownInput not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
throw new InternalError ("PlainSocketImpl::shutdownInput not implemented"); | impl.shutdownInput(); | public void shutdownInput() { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownInput not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
throw new InternalError ("PlainSocketImpl::shutdownOutput not implemented"); | impl.shutdownOutput(); | public void shutdownOutput() throws IOException { // @vm-specific no natives //TODO implement me throw new InternalError ("PlainSocketImpl::shutdownOutput not implemented"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c6bd4d63622475fff01c1920f223e404234d976f/PlainSocketImpl.java/clean/core/src/classpath/gnu/gnu/java/net/PlainSocketImpl.java |
if (event.getPropertyName().equals("editable")) { if (textComponent.isEditable()) textComponent.setBackground(background); else textComponent.setBackground(inactiveBackground); } | protected void propertyChange(PropertyChangeEvent event) { // Does nothing by default. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTextFieldUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTextFieldUI.java | |
if (!initStageDone) | if (isRootPaneCheckingEnabled()) getContentPane().add(comp, constraints, index); else | protected void addImpl(Component comp, Object constraints, int index) { // If we're in the initialization stage use super.add. Here we add the // rootPane as well as the title bar and other stuff. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp,constraints, in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java |
else { if (isRootPaneCheckingEnabled()) throw new Error("Do not use add() on JInternalFrame directly. Use " + "getContentPane().add() instead"); getContentPane().add(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { // If we're in the initialization stage use super.add. Here we add the // rootPane as well as the title bar and other stuff. // Otherwise pass the add onto the content pane. if (!initStageDone) super.addImpl(comp,constraints, in... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
return "JInternalFrame"; | return super.paramString(); | protected String paramString() { return "JInternalFrame"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java |
invalidate(); doLayout(); | revalidate(); | public void reshape(int x, int y, int width, int height) { super.reshape(x, y, width, height); invalidate(); doLayout(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java |
if (initStageDone) { | public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
throw new Error("Cannot set layout. Use getContentPane().setLayout()" + " instead."); | public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
} | public void setLayout(LayoutManager manager) { // Check if we're in initialization stage. If so, call super.setLayout // otherwise, valid calls go to the content pane. if (initStageDone) { if (isRootPaneCheckingEnabled()) throw new Error("Cannot set layout. Use getContentPane().setLayout()... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
setRootPaneCheckingEnabled(old); | public void setUI(InternalFrameUI ui) { super.setUI(ui); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
setRootPaneCheckingEnabled(old); | public void updateUI() { setUI((InternalFrameUI) UIManager.getUI(this)); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/JInternalFrame.java/clean/core/src/classpath/javax/javax/swing/JInternalFrame.java | |
public IRBasicBlock(int address) { this(address, -1, false); | public IRBasicBlock( int startPC, int endPC, boolean startOfExceptionHandler) { this.startPC = startPC; this.endPC = endPC; this.startOfExceptionHandler = startOfExceptionHandler; this.stackOffset = -1; this.name = "B" + startPC; predecessors = new BootableArrayList(); successors = new BootableArrayList(); dominated... | public IRBasicBlock(int address) { this(address, -1, false); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/51e4aed2205f326c2698e2154ea7f83ae5dfc2b6/IRBasicBlock.java/buggy/core/src/core/org/jnode/vm/compiler/ir/IRBasicBlock.java |
writeOut(outputstream,"<" + indexNodeName + " axisIdRef=\""+axisIdRef+"\">"); | writeOut(outputstream,"<" + indexNodeName + " axisIdRef=\""+axisIdRef+"\"/>"); | public void toXMLOutputStream ( OutputStream outputstream, Hashtable XMLDeclAttribs, String indent, boolean dontCloseNode, String newNodeNameString, ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/31da9762f4d003995eaa5cc170f4dba6ac322019/NotesLocationOrder.java/clean/src/gov/nasa/gsfc/adc/xdf/NotesLocationOrder.java |
if (fatNr > 0) { offset += (fatNr-1) * sectsPerFat * sectSize; } | offset += fatNr * fatSize; | public static long getFatOffset(BootSector bs, int fatNr) { long sectSize = bs.getBytesPerSector(); long sectsPerFat = bs.getSectorsPerFat(); long resSects = bs.getNrReservedSectors(); long offset = resSects * sectSize; if (fatNr > 0) { offset += (fatNr-1) * sectsPerFat * sectSize; } return offset; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d15f6ac6df22c6596357420ee10d33acdbebc290/FatUtils.java/buggy/fs/src/fs/org/jnode/fs/fat/FatUtils.java |
if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); updateImage(r); } | Rectangle r = new Rectangle(dirty); updateImage(r); | public void updateDirty() { //LDC - 12/02/2003 - check if we must repaint it if (drawing == false) return; //LDC - 18/02/2003 - only update the screen when the window is showing if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); // update the image updateImage(r); } ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d53bd6d69ba150cc87c82295765edc9cb642a117/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
drawing = false; | drawing = false; | public void updateDirty() { //LDC - 12/02/2003 - check if we must repaint it if (drawing == false) return; //LDC - 18/02/2003 - only update the screen when the window is showing if (this.gui.isShowing()) { Rectangle r = new Rectangle(dirty); // update the image updateImage(r); } ... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d53bd6d69ba150cc87c82295765edc9cb642a117/Screen5250.java/clean/tn5250j/src/org/tn5250j/Screen5250.java |
super (parent, a); | super(parent, a); | public BlockElement (Element parent, AttributeSet a) { super (parent, a); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/HTMLDocument.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLDocument.java |
attr.addAttribute(StyleConstants.NameAttribute, t); element = new DefaultStyledDocument.ElementSpec(attr, | AbstractDocument.AttributeContext ctx = getAttributeContext(); AttributeSet copy = attr.copyAttributes(); copy = ctx.addAttribute(copy, StyleConstants.NameAttribute, t); element = new DefaultStyledDocument.ElementSpec(copy, | protected void blockOpen(HTML.Tag t, MutableAttributeSet attr) { printBuffer(); DefaultStyledDocument.ElementSpec element; attr.addAttribute(StyleConstants.NameAttribute, t); element = new DefaultStyledDocument.ElementSpec(attr, DefaultStyledDocument.ElementSpec.StartTagType); parseBuf... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/HTMLDocument.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLDocument.java |
AttributeContext ctx = getAttributeContext(); | AbstractDocument.AttributeContext ctx = getAttributeContext(); | protected AbstractElement createDefaultRoot() { AttributeContext ctx = getAttributeContext(); // Create html element. AttributeSet atts = ctx.getEmptySet(); atts = ctx.addAttribute(atts, StyleConstants.NameAttribute, HTML.Tag.HTML); BranchElement html = (BranchElement) createBranchElement(null, atts);... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/70a2876c99036463feada99a37295405c146f49b/HTMLDocument.java/clean/core/src/classpath/javax/javax/swing/text/html/HTMLDocument.java |
{ | { | public void mouseClicked(MouseEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
{ | { | public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | public void mouseDragged(MouseEvent e) { curr = new Point(e.getX(), e.getY()); updateSelection(e.isControlDown()); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | public void mouseEntered(MouseEvent e) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
{ | { | public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
updateSelection(e.isControlDown()); | updateSelection(e.isControlDown()); | public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
if (rowLead != rowModel.getLeadSelectionIndex() || colLead != colModel.getLeadSelectionIndex()) if (table.isEditing()) table.editingStopped(new ChangeEvent(e)); | public void mousePressed(MouseEvent e) { begin = new Point(e.getX(), e.getY()); curr = new Point(e.getX(), e.getY()); //if control is pressed and the cell is already selected, deselect it if (e.isControlDown() && table. isCellSelected(table.rowAtPoint(begin),table.columnAtPoint(begi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | |
{ | { | public void mouseReleased(MouseEvent e) { begin = null; curr = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | public void mouseReleased(MouseEvent e) { begin = null; curr = null; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
{ | { | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) | int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
if (controlPressed && rowModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) rowModel.addSelectionInterval(lo_row, hi_row); | if (controlPressed && rowModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) rowModel.addSelectionInterval(lo_row, hi_row); | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | } | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
int lo_col = table.columnAtPoint(begin); int hi_col = table.columnAtPoint(curr); ListSelectionModel colModel = table.getColumnModel(). getSelectionModel(); if (lo_col != -1 && hi_col != -1) { if (controlPressed && colModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) colModel.addSelectionInterval(lo_col, ... | int lo_col = table.columnAtPoint(begin); int hi_col = table.columnAtPoint(curr); ListSelectionModel colModel = table.getColumnModel(). getSelectionModel(); if (lo_col != -1 && hi_col != -1) { if (controlPressed && colModel.getSelectionMode() != ListSelectionModel.SINGLE_SELECTION) colModel.addSelectionInterval(lo_col, ... | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
} | private void updateSelection(boolean controlPressed) { // Update the rows int lo_row = table.rowAtPoint(begin); int hi_row = table.rowAtPoint(curr); ListSelectionModel rowModel = table.getSelectionModel(); if (lo_row != -1 && hi_row != -1) { if (c... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java | |
{ | { | protected FocusListener createFocusListener() { return new FocusHandler(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
{ | { | protected MouseInputListener createMouseInputListener() { return new MouseInputHandler(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/BasicTableUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.