rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
if (i == lm1)
if (i == em1)
private int indexOfCRLF(char[] b, int off, int len) throws IOException { doReset = false; int lm1 = len - 1; for (int i = off; i < len; i++) { if (b[i] == '\r') // CR { int d; if (i == lm1) { d = in.read(); doReset = tr...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/89208158729137f73c8259a059fc5845c4da3e56/CRLFReader.java/clean/core/src/classpath/gnu/gnu/xml/stream/CRLFReader.java
RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities .getRoot(invoker);
Component rootContainer = SwingUtilities.getRoot(invoker);
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
((Container) rootContainer).removeComponentListener(topWindowListener);
rootContainer.removeComponentListener(topWindowListener);
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
if (topLevelMenu || !(popupMenu.getInvoker() instanceof MenuElement))
if ((topLevelMenu || !(popupMenu.getInvoker() instanceof MenuElement)) && rootContainer instanceof RootPaneContainer)
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
Container glassPane = (Container) rootContainer.getGlassPane();
Container glassPane = (Container) rpContainer.getGlassPane();
public void popupMenuWillBecomeInvisible(PopupMenuEvent event) { // remove listener that listens to component events fired // by the top - level window that this popup belongs to. Component invoker = popupMenu.getInvoker(); RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
RootPaneContainer rootContainer = (RootPaneContainer) SwingUtilities .getRoot(invoker); ((Container) rootContainer).addComponentListener(topWindowListener);
Component rootContainer = SwingUtilities.getRoot(invoker); rootContainer.addComponentListener(topWindowListener);
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/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
if (mouseInputListener == null)
if (mouseInputListener == null && rootContainer instanceof RootPaneContainer)
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/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
Container glassPane = (Container) rootContainer.getGlassPane();
RootPaneContainer rpContainer = (RootPaneContainer) rootContainer; Container glassPane = (Container) rpContainer.getGlassPane();
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/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
mouseInputListener = new MouseInputHandler(rootContainer);
mouseInputListener = new MouseInputHandler(rpContainer);
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/e62592e8f80f1dcb092adb192d67f254df4e9392/BasicPopupMenuUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicPopupMenuUI.java
throw new RemoteException("connection failed to host: " + manager.serverName, e1);
throw new ConnectException("connection failed to host: " + manager.serverName, e1);
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (new...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/27e9978154ebcb2e4d9c4e05e11bf17d1b8e1ef5/UnicastRef.java/buggy/core/src/classpath/gnu/gnu/java/rmi/server/UnicastRef.java
public URI(String str) throws URISyntaxException {
public URI(String str) throws URISyntaxException { parseURI(str);
public URI(String str) throws URISyntaxException { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public int compareTo(Object obj) throws ClassCastException {
public int compareTo(Object obj) throws ClassCastException {
public int compareTo(Object obj) throws ClassCastException { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public static URI create(String str) throws IllegalArgumentException { return null;
public static URI create(String str) { try { return new URI(str); } catch (URISyntaxException e) { throw (IllegalArgumentException) new IllegalArgumentException() .initCause(e); }
public static URI create(String str) throws IllegalArgumentException { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public boolean equals(Object obj) {
public boolean equals(Object obj) {
public boolean equals(Object obj) { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getAuthority() { return null;
public String getAuthority() { return authority;
public String getAuthority() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getFragment() { return null;
public String getFragment() { return fragment;
public String getFragment() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getHost() {
public String getHost() {
public String getHost() { return host; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getPath() { return null;
public String getPath() { return path;
public String getPath() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public int getPort() {
public int getPort() {
public int getPort() { return port; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getQuery() { return null;
public String getQuery() { return query;
public String getQuery() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getRawAuthority() { return authority;
public String getRawAuthority() { return rawAuthority;
public String getRawAuthority() { return authority; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getRawFragment() { return fragment;
public String getRawFragment() { return rawFragment;
public String getRawFragment() { return fragment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getRawPath() { return path;
public String getRawPath() { return rawPath;
public String getRawPath() { return path; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getRawQuery() { return query;
public String getRawQuery() { return rawQuery;
public String getRawQuery() { return query; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getRawSchemeSpecificPart() { return null;
public String getRawSchemeSpecificPart() { return rawSchemeSpecificPart;
public String getRawSchemeSpecificPart() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getRawUserInfo() { return userInfo;
public String getRawUserInfo() { return rawUserInfo;
public String getRawUserInfo() { return userInfo; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getScheme() {
public String getScheme() {
public String getScheme() { return scheme; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getSchemeSpecificPart() { return null;
public String getSchemeSpecificPart() { return schemeSpecificPart;
public String getSchemeSpecificPart() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String getUserInfo() { return null;
public String getUserInfo() { return userInfo;
public String getUserInfo() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public int hashCode() {
public int hashCode() {
public int hashCode() { return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public boolean isAbsolute() { return false;
public boolean isAbsolute() { return (scheme != null);
public boolean isAbsolute() { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public boolean isOpaque() { return false;
public boolean isOpaque() { return ((scheme != null) && ! (schemeSpecificPart.startsWith("/")));
public boolean isOpaque() { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public URI normalize() {
public URI normalize() {
public URI normalize() { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public URI parseServerAuthority() throws URISyntaxException {
public URI parseServerAuthority() throws URISyntaxException {
public URI parseServerAuthority() throws URISyntaxException { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException { }
private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException { }
private void readObject(ObjectInputStream is) throws ClassNotFoundException, IOException { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public URI relativize(URI uri) {
public URI relativize(URI uri) {
public URI relativize(URI uri) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public URI resolve(URI uri) {
public URI resolve(URI uri) { if (uri.isAbsolute()) return uri; if (uri.isOpaque()) return uri; String scheme = uri.getScheme(); String schemeSpecificPart = uri.getSchemeSpecificPart(); String authority = uri.getAuthority(); String path = uri.getPath(); String query = uri.getQuery(); String fragment = uri.getFragment(...
public URI resolve(URI uri) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
}
public URI resolve(URI uri) { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String toASCIIString() {
public String toASCIIString() {
public String toASCIIString() { return ""; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public String toString() { return "";
public String toString() { return (getScheme() == null ? "" : getScheme() + ":") + (getRawAuthority() == null ? "" : " + (getRawPath() == null ? "" : getRawPath()) + (getRawQuery() == null ? "" : "?" + getRawQuery()) + (getRawFragment() == null ? "" : "#" + getRawFragment());
public String toString() { return ""; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
public URL toURL() throws IllegalArgumentException, MalformedURLException { return null;
public URL toURL() throws IllegalArgumentException, MalformedURLException { if (isAbsolute()) return new URL(this.toString()); throw new IllegalArgumentException("not absolute");
public URL toURL() throws IllegalArgumentException, MalformedURLException { return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
private void writeObject(ObjectOutputStream is) throws IOException { }
private void writeObject(ObjectOutputStream is) throws IOException { }
private void writeObject(ObjectOutputStream is) throws IOException { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e3f7218be7244f0de74b2230a33469c2bf32546b/URI.java/clean/core/src/classpath/java/java/net/URI.java
if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits));
if (opaque || pixel >= map_size) return 255;
public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IndexColorModel.java/buggy/core/src/classpath/java/java/awt/image/IndexColorModel.java
return 0;
return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits));
public final int getAlpha (int pixel) { if (pixel < map_size) return (int) ((generateMask (3) & rgb[pixel]) >> (3 * pixel_bits)); return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/IndexColorModel.java/buggy/core/src/classpath/java/java/awt/image/IndexColorModel.java
String temp; calendar.setTime(date); Enumeration e = tokens.elements(); while (e.hasMoreElements()) { Object o = e.nextElement(); if (o instanceof FieldSizePair) { FieldSizePair p = (FieldSizePair) o; int beginIndex = buffer.length(); switch (p.field) { case ERA_FIELD: buffer.append(formatData.eras[calendar.get(Calen...
formatWithAttribute(date, new StringFormatBuffer (buffer), pos);
public StringBuffer format(Date date, StringBuffer buffer, FieldPosition pos) { String temp; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Enumeration e = tokens.elements(); while (e.hasMoreElements()) { Object o = e.nextElement(); if (o ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/SimpleDateFormat.java/buggy/core/src/classpath/java/java/text/SimpleDateFormat.java
AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang,
AbstractNumberNode(TemplateNode format, String lang,
AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next); this.format = format; this.lang = lang; this.letterValue = lette...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/AbstractNumberNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/AbstractNumberNode.java
super(children, next);
AbstractNumberNode(TemplateNode children, TemplateNode next, TemplateNode format, String lang, int letterValue, String groupingSeparator, int groupingSize) { super(children, next); this.format = format; this.lang = lang; this.letterValue = lette...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b8e6f02cb6a820cbb793320542ee01a4b70f176a/AbstractNumberNode.java/buggy/core/src/classpath/gnu/gnu/xml/transform/AbstractNumberNode.java
protected AccessibleContainerHandler(AccessibleJComponent component) { }
protected AccessibleContainerHandler(AccessibleJComponent component) {}
protected AccessibleContainerHandler(AccessibleJComponent component) { // TODO } // AccessibleContainerHandler()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void componentAdded(ContainerEvent event) { }
public void componentAdded(ContainerEvent event) {}
public void componentAdded(ContainerEvent event) { // TODO } // componentAdded()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void componentRemoved(ContainerEvent valevent) { }
public void componentRemoved(ContainerEvent valevent) {}
public void componentRemoved(ContainerEvent valevent) { // TODO } // componentRemoved()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
protected AccessibleFocusHandler(AccessibleJComponent component) { }
protected AccessibleFocusHandler(AccessibleJComponent component){}
protected AccessibleFocusHandler(AccessibleJComponent component) { // TODO } // AccessibleFocusHandler()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void focusGained(FocusEvent event) { }
public void focusGained(FocusEvent event){}
public void focusGained(FocusEvent event) { // TODO } // focusGained()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void focusLost(FocusEvent valevent) { }
public void focusLost(FocusEvent valevent){}
public void focusLost(FocusEvent valevent) { // TODO } // focusLost()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
protected AccessibleJComponent(JComponent component) { }
protected AccessibleJComponent(JComponent component) {}
protected AccessibleJComponent(JComponent component) {// super((Container)component); // TODO } // AccessibleJComponent()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void addPropertyChangeListener(PropertyChangeListener listener) { }
public void addPropertyChangeListener(PropertyChangeListener listener) {}
public void addPropertyChangeListener(PropertyChangeListener listener) { // TODO } // addPropertyChangeListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public Accessible getAccessibleChild(int value0) { return null; }
public Accessible getAccessibleChild(int value0) { return null; }
public Accessible getAccessibleChild(int value0) { return null; // TODO } // getAccessibleChild()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public int getAccessibleChildrenCount() { return 0; }
public int getAccessibleChildrenCount() { return 0; }
public int getAccessibleChildrenCount() { return 0; // TODO } // getAccessibleChildrenCount()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public String getAccessibleDescription() { return null; }
public String getAccessibleDescription() { return null; }
public String getAccessibleDescription() { return null; // TODO } // getAccessibleDescription()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public String getAccessibleName() { return null; }
public String getAccessibleName() { return null; }
public String getAccessibleName() { return null; // TODO } // getAccessibleName()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public AccessibleRole getAccessibleRole() { return null; }
public AccessibleRole getAccessibleRole() { return null; }
public AccessibleRole getAccessibleRole() { return null; // TODO } // getAccessibleRole()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public AccessibleStateSet getAccessibleStateSet() { return null; }
public AccessibleStateSet getAccessibleStateSet() { return null; }
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } // getAccessibleStateSet()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
protected String getBorderTitle(Border value0) { return null; }
protected String getBorderTitle(Border value0) { return null; }
protected String getBorderTitle(Border value0) { return null; // TODO } // getBorderTitle()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void removePropertyChangeListener(PropertyChangeListener listener) { }
public void removePropertyChangeListener(PropertyChangeListener listener) {}
public void removePropertyChangeListener(PropertyChangeListener listener) { // TODO } // removePropertyChangeListener()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
defaultLocale = Locale.getDefault(); debugGraphicsOptions = DebugGraphics.NONE_OPTION;
public JComponent() { super(); super.setLayout(new FlowLayout()); //eventMask |= AWTEvent.COMP_KEY_EVENT_MASK; // enableEvents( AWTEvent.KEY_EVENT_MASK ); //updateUI(); // get a proper ui }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
Component c = getParent(); if (c != null && c instanceof JComponent) { ((JComponent) c).computeVisibleRect(rect); rect.translate(-getX(), -getY()); Rectangle2D.intersect(rect, new Rectangle(0, 0, getWidth(), getHeight()), rect); } else rect.setRect(0, 0, getWidth(), getHeight());
public void computeVisibleRect(Rectangle rect) { //Returns the Component's "visible rect rectangle" - the intersection of the visible rectangles for this component and all of its ancestors. //super.computeVisibleRect(rect); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (tooltip == null) tooltip = new JToolTip(tool_tip_text); return tooltip;
if (toolTip == null) toolTip = new JToolTip(toolTipText); return toolTip;
public JToolTip createToolTip() { if (tooltip == null) tooltip = new JToolTip(tool_tip_text); return tooltip; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)
public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) { if (changeSupport != null) changeSupport.firePropertyChange(propertyName, new Boolean(oldValue), new Boolean(newValue)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue)
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws PropertyVetoException { // Support for reporting constrained property changes. }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public AccessibleContext getAccessibleContext() { // Get the AccessibleContext associated with this JComponent return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke) { //Return the object that will perform the action registered for a given keystroke. return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return 0;
return alignmentX;
public float getAlignmentX() { // Overrides Container.getAlignmentX to return the vertical alignment. return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return 0;
return alignmentY;
public float getAlignmentY() { // Overrides Container.getAlignmentY to return the horizontal alignment. return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return (AncestorListener[]) getListeners (AncestorListener.class);
return (AncestorListener[]) getListeners(AncestorListener.class);
public AncestorListener[] getAncestorListeners() { return (AncestorListener[]) getListeners (AncestorListener.class); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return false;
return autoscrolls;
public boolean getAutoscrolls() { //Returns true if this component automatically scrolls its contents when dragged, (when contained in a component that supports scrolling, like JViewport return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{ return border; }
{ return border; }
public Border getBorder() { return border; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return new Rectangle(getX(),getY(),getWidth(),getHeight());
return new Rectangle(getX(), getY(), getWidth(), getHeight());
public Rectangle getBounds(Rectangle rv) { if (rv == null) return new Rectangle(getX(),getY(),getWidth(),getHeight()); else { rv.setBounds(getX(),getY(),getWidth(),getHeight()); return rv; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
rv.setBounds(getX(),getY(),getWidth(),getHeight());
rv.setBounds(getX(), getY(), getWidth(), getHeight());
public Rectangle getBounds(Rectangle rv) { if (rv == null) return new Rectangle(getX(),getY(),getWidth(),getHeight()); else { rv.setBounds(getX(),getY(),getWidth(),getHeight()); return rv; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{ return get_prop_hash().get(key); }
{ return getClientProperties().get(key); }
public Object getClientProperty(Object key) { return get_prop_hash().get(key); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{ return g; }
{ g.setFont(this.getFont()); g.setColor(this.getForeground()); return g; }
protected Graphics getComponentGraphics(Graphics g) { return g; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return 0;
return UNDEFINED_CONDITION;
public int getConditionForKeyStroke(KeyStroke aKeyStroke) { //Return the condition that determines whether a registered action occurs in response to the specified keystroke. return 0; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public Insets getInsets() { // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) { //System.out.println("compares to null !"); return super.getInsets(); } // System.out.println("compare failed !"); return getBorder().getBorderInset...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{
public Insets getInsets() { // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) { //System.out.println("compares to null !"); return super.getInsets(); } // System.out.println("compare failed !"); return getBorder().getBorderInset...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
}
public Insets getInsets() { // System.out.println("watch this border"); // DebugMe(border); // System.out.println("border = " + border); if (border == null) { //System.out.println("compares to null !"); return super.getInsets(); } // System.out.println("compare failed !"); return getBorder().getBorderInset...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public EventListener[] getListeners (Class listenerType)
public EventListener[] getListeners(Class listenerType)
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners (listenerType); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
return listenerList.getListeners (listenerType);
return listenerList.getListeners(listenerType);
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners (listenerType); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (rv == null) return new Point(getX(), getY());
public Point getLocation(Point rv) { //Store the x,y origin of this component into "return value" rv and return rv. if (rv == null) return new Point(getX(), getY()); rv.setLocation(getX(), getY()); return rv; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (rv == null) return new Point(getX(), getY()); rv.setLocation(getX(), getY());
rv.setLocation(getX(), getY());
public Point getLocation(Point rv) { //Store the x,y origin of this component into "return value" rv and return rv. if (rv == null) return new Point(getX(), getY()); rv.setLocation(getX(), getY()); return rv; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (max != null) { return max; }
if (maximumSize != null) return maximumSize;
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
}
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public Dimension getMaximumSize() { if (max != null) { //System.out.println("HAVE_MAX_SIZE = " + max); return max; } if (ui != null) { Dimension s = ui.getMaximumSize(this); if (s != null) { //System.out.println(" UI-MAX = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dim...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (min != null) { return min; }
if (minimumSize != null) return minimumSize;
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
}
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public Dimension getMinimumSize() { if (min != null) { //System.out.println("HAVE_MIN_SIZE = " + min); return min; } if (ui != null) { Dimension s = ui.getMinimumSize(this); if (s != null) { // System.out.println(" UI-MIN = " + s + ", UI = " + ui + ", IM="+this); return s; } } Dimensio...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public Component getNextFocusableComponent() { // Return the next focusable component or null if the focus manager should choose the next focusable component automatically return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
if (pref != null) { return pref; }
if (preferredSize != null) return preferredSize;
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
{
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
}
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java
public Dimension getPreferredSize() { if (pref != null) { //System.out.println("HAVE_PREF_SIZE = " + pref); return pref; } if (ui != null) { Dimension s = ui.getPreferredSize(this); if (s != null) { //System.out.println(" UI-PREF = " + s + ", UI = " + ui + ", IM="+this); return s; } } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/JComponent.java/clean/core/src/classpath/javax/javax/swing/JComponent.java