rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
{
{
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
}
}
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
}
}
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
{
{
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
{
{
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
}
}
private int convertModifiers(int mod) { if ((mod & KeyEvent.SHIFT_DOWN_MASK) != 0) { mod |= KeyEvent.SHIFT_MASK; mod &= ~KeyEvent.SHIFT_DOWN_MASK; } if ((mod & KeyEvent.CTRL_DOWN_MASK) != 0) { mod |= KeyEvent.CTRL_MASK; mod &= ~KeyEvent.CTRL_DO...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/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/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
{
{
public Dimension getMaximumSize(JComponent comp) { int maxTotalColumnWidth = 0; for (int i = 0; i < table.getColumnCount(); i++) maxTotalColumnWidth += table.getColumnModel().getColumn(i).getMaxWidth(); if (maxTotalColumnWidth == 0 || table.getRowCount() == 0) return null; return new...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
}
}
public Dimension getMinimumSize(JComponent comp) { int minTotalColumnWidth = 0; for (int i = 0; i < table.getColumnCount(); i++) minTotalColumnWidth += table.getColumnModel().getColumn(i).getMinWidth(); if (minTotalColumnWidth == 0 || table.getRowCount() == 0) return null; return new Dimension...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
{
{
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
}
}
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
}
}
protected void installDefaults() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); table.setFont(defaults.getFont("Table.font")); table.setGridColor(defaults.getColor("Table.gridColor")); table.setForeground(defaults.getColor("Table.foreground")); table.setBackground(defaults.getColor("Tabl...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
{
{
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
if (gap != null) y += gap.height;
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
if (gap != null) x += gap.width;
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
x += cols.getColumn(c).getWidth();; if (gap != null) x += gap.width; gfx.drawLine(x, y0, x, ymax);
x += cols.getColumn(c).getWidth(); gfx.drawLine(x - gap.width, y0, x - gap.width, ymax);
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
if (gap != null) y += gap.height;
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/BasicTableUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTableUI.java
Object.class.getProtectionDomain() };
protDomain };
Class generate(ClassLoader loader) { byte[] bytecode = new byte[pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) bytecode[i] = (byte) c[...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9f304b5272ee64d537552ebeb779741933a599e1/Proxy.java/buggy/core/src/classpath/java/java/lang/reflect/Proxy.java
public Throwable getCause() {
public Throwable getCause() {
public Throwable getCause() { return exception; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ExceptionInInitializerError.java/buggy/core/src/classpath/java/java/lang/ExceptionInInitializerError.java
public Throwable getException() { return getCause();
public Throwable getException() { return exception;
public Throwable getException() { return getCause(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/ExceptionInInitializerError.java/buggy/core/src/classpath/java/java/lang/ExceptionInInitializerError.java
protected AccessibleJPopupMenu() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java
super();
public Separator() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java
Dimension size = this.getPreferredSize();
Dimension size = this.getSize();
public void setVisible(boolean visible) { if (visible == isVisible()) return; boolean old = isVisible(); this.visible = visible; if (old != isVisible()) { firePropertyChange("visible", old, isVisible()); if (visible) { firePopupMenuWillBecomeVisible(); ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JPopupMenu.java/buggy/core/src/classpath/javax/javax/swing/JPopupMenu.java
public FileChooserUI() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/FileChooserUI.java/clean/core/src/classpath/javax/javax/swing/plaf/FileChooserUI.java
protected AccessibleImageIcon() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ImageIcon.java/clean/core/src/classpath/javax/javax/swing/ImageIcon.java
public ImageIcon() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ImageIcon.java/clean/core/src/classpath/javax/javax/swing/ImageIcon.java
;
protected void loadImage(Image image) { try { tracker.addImage(image, id); id++; tracker.waitForID(id - 1); } catch (InterruptedException ex) { ; // ignore this for now } finally { loadStatus = tracker.statusID(id - 1, false); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/ImageIcon.java/clean/core/src/classpath/javax/javax/swing/ImageIcon.java
resolvedStyles = new HashMap();
public StyleSheet() { super(); baseFontSize = 4; // Default font size from CSS }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
attr.addAttribute(key, value);
Object val = CSS.getValue(key, value); attr.addAttribute(key, val);
public void addCSSAttribute(MutableAttributeSet attr, CSS.Attribute key, String value) { attr.addAttribute(key, value); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
CssParser cp = new CssParser(); try { cp.parse(base, new StringReader(rule), false, false); } catch (IOException io) { }
public void addRule(String rule) { CssParser cp = new CssParser(); try { cp.parse(base, new StringReader(rule), false, false); } catch (IOException io) { // Do nothing here. } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
return super.getBackground(a);
CSSColor c = (CSSColor) a.getAttribute(CSS.Attribute.BACKGROUND_COLOR); Color color = null; if (c != null) color = c.getValue(); return color;
public Color getBackground(AttributeSet a) { return super.getBackground(a); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
return super.getFont(a);
FontSize size = (FontSize) a.getAttribute(CSS.Attribute.FONT_SIZE); int realSize = 12; if (size != null) realSize = size.getValue(); Object valign = a.getAttribute(CSS.Attribute.VERTICAL_ALIGN); if (valign != null) { String v = valign.toString(); if (v.contains("sup") || v.contains("sub")) realSize -= 2; } String f...
public Font getFont(AttributeSet a) { return super.getFont(a); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
return super.getForeground(a);
CSSColor c = (CSSColor) a.getAttribute(CSS.Attribute.COLOR); Color color = null; if (c != null) color = c.getValue(); return color;
public Color getForeground(AttributeSet a) { return super.getForeground(a); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
return null;
ArrayList path = new ArrayList(); Element el; AttributeSet atts; for (el = e; el != null; el = el.getParentElement()) path.add(el); StringBuilder selector = new StringBuilder(); int count = path.size(); for (int i = count - 1; i > 0; i--) { el = (Element) path.get(i); atts = el.getAttributes(); Object name = atts....
public Style getRule(HTML.Tag t, Element e) { // FIXME: Not implemented. return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
return null;
return new ViewAttributeSet(v, this);
public AttributeSet getViewAttributes(View v) { // FIXME: Not implemented. return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
public void loadRules(Reader in, URL ref) throws IOException
public void loadRules(Reader in, URL ref) throws IOException
public void loadRules(Reader in, URL ref) throws IOException { CssParser cp = new CssParser(); cp.parse(ref, in, false, false); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
CssParser cp = new CssParser(); cp.parse(ref, in, false, false);
CSSStyleSheetParserCallback cb = new CSSStyleSheetParserCallback(); CSSParser parser = new CSSParser(in, cb); parser.parse();
public void loadRules(Reader in, URL ref) throws IOException { CssParser cp = new CssParser(); cp.parse(ref, in, false, false); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
public Color stringToColor(String color)
public Color stringToColor(String colorName)
public Color stringToColor(String color) { color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080")) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080")) return Color.GRAY; else if (color.equals("navy") || color.equals("#0...
return CSSColor.convertValue(colorName);
public Color stringToColor(String color) { color = color.toLowerCase(); if (color.equals("black") || color.equals("#000000")) return Color.BLACK; else if (color.equals("aqua") || color.equals("#00FFFF")) return new Color(127, 255, 212); else if (color.equals("gray") || color.equals("#808080")) ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
return null;
AttributeSet cssAttr = htmlAttrSet.copyAttributes(); MutableAttributeSet cssStyle = addStyle(null, null); cssStyle.addAttributes(cssAttr); return cssStyle;
public AttributeSet translateHTMLToCSS(AttributeSet htmlAttrSet) { // FIXME: Not implemented. return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/StyleSheet.java/buggy/core/src/classpath/javax/javax/swing/text/html/StyleSheet.java
public BSHConsole(JTextArea output) { this.out=new BSHOutputAdapter(output);
public BSHConsole( JTextArea output ) { this.out = new BSHOutputAdapter( output );
public BSHConsole(JTextArea output) { this.out=new BSHOutputAdapter(output); //this.output=output; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void error(Object o) { out.print(o);
public void error( Object o ) { out.print( o );
public void error(Object o) { out.print(o); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void print(Object o) { out.print(o);
public void print( Object o ) { out.print( o );
public void print(Object o) { out.print(o); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void println(Object o) { out.println(o);
public void println( Object o ) { out.println( o );
public void println(Object o) { out.println(o); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public BSHOutputAdapter(JTextArea target) { this(target, new NullOutputStream());
public BSHOutputAdapter( JTextArea target ) { this( target, new NullOutputStream() );
public BSHOutputAdapter(JTextArea target) { this(target, new NullOutputStream()); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void print(String s) { target.append(s);
public void print( String s ) { target.append( s );
public void print(String s) { target.append(s); target.repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void println(String s) { target.append(s + "\n");
public void println( String s ) { target.append( s + "\n" );
public void println(String s) { target.append(s + "\n"); target.repaint(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black);
super( "Charva Beanshell v1.0" ); setForeground( Color.green ); setBackground( Color.black );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
cp.setLayout(new BorderLayout());
cp.setLayout( new BorderLayout() );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
messagePanel.setLayout(new BoxLayout(messagePanel, BoxLayout.Y_AXIS)); topLabel = new JLabel("F12 To evaluate."); messagePanel.add(topLabel); bottomLabel = new JLabel(""); messagePanel.add(bottomLabel);
messagePanel.setLayout( new BoxLayout( messagePanel, BoxLayout.Y_AXIS ) ); topLabel = new JLabel( "F12 To evaluate." ); messagePanel.add( topLabel ); bottomLabel = new JLabel( "" ); messagePanel.add( bottomLabel );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
cp.add(messagePanel, BorderLayout.SOUTH);
cp.add( messagePanel, BorderLayout.SOUTH );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
editor = new JTextArea(example, 8, 60); JScrollPane scrollEditor = new JScrollPane(editor); scrollEditor.setViewportBorder(new TitledBorder("Beanshell Editor"));
editor = new JTextArea( example, 8, 60 ); JScrollPane scrollEditor = new JScrollPane( editor ); scrollEditor.setViewportBorder( new TitledBorder( "Beanshell Editor" ) );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
output = new JTextArea("BSH output", 5, 60); JScrollPane scrollOutput = new JScrollPane(output); scrollOutput.setViewportBorder(new TitledBorder("Beanshell Output"));
output = new JTextArea( "BSH output", 5, 60 ); JScrollPane scrollOutput = new JScrollPane( output ); scrollOutput.setViewportBorder( new TitledBorder( "Beanshell Output" ) );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
bshPanel.setLayout(new BorderLayout()); bshPanel.add(scrollEditor, BorderLayout.NORTH); bshPanel.add(scrollOutput, BorderLayout.SOUTH); cp.add(bshPanel, BorderLayout.CENTER);
bshPanel.setLayout( new BorderLayout() ); bshPanel.add( scrollEditor, BorderLayout.NORTH ); bshPanel.add( scrollOutput, BorderLayout.SOUTH ); cp.add( bshPanel, BorderLayout.CENTER );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
editor.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent ke) { if (ke.getKeyCode() == KeyEvent.VK_F12) {
editor.addKeyListener( new KeyAdapter() { public void keyPressed( KeyEvent ke ) { if( ke.getKeyCode() == KeyEvent.VK_F12 ) {
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
});
} );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
ConsoleInterface bshConsole=new BSHConsole(output); interpreter = new Interpreter(bshConsole);
ConsoleInterface bshConsole = new BSHConsole( output ); interpreter = new Interpreter( bshConsole );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
setLocation(0, 0); setSize(80, 24);
setLocation( 0, 0 ); setSize( 80, 24 );
public CharvaShell() { super("Charva Beanshell v1.0"); setForeground(Color.green); setBackground(Color.black); Container cp = super.getContentPane(); cp.setLayout(new BorderLayout()); addMenuBar(); messagePanel.setLayout(new BoxLayout(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void keyPressed(KeyEvent ke) { if (ke.getKeyCode() == KeyEvent.VK_F12) {
public void keyPressed( KeyEvent ke ) { if( ke.getKeyCode() == KeyEvent.VK_F12 ) {
public void keyPressed(KeyEvent ke) { if (ke.getKeyCode() == KeyEvent.VK_F12) { evaluateText(); repaint(); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae_) {
JMenu jMenuFile = new JMenu( "File" ); jMenuFile.setMnemonic( 'F' ); JMenuItem exit = new JMenuItem( "Exit" ); exit.addActionListener( new ActionListener() { public void actionPerformed( ActionEvent ae_ ) { Thread t = new Thread( new Runnable() { public void run() { done(); } } );
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
});
} );
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
JMenuItem eval = new JMenuItem("Evaluate"); eval.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae_) {
JMenuItem reqSh = new JMenuItem( "Request Shell" ); reqSh.addActionListener( new ActionListener() { public void actionPerformed( ActionEvent ae_ ) { requestShell(); } } ); JMenuItem eval = new JMenuItem( "Evaluate" ); eval.addActionListener( new ActionListener() { public void actionPerformed( ActionEvent ae_ ) {
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
}); menubar.add(jMenuFile); jMenuFile.add(eval); jMenuFile.add(exit);
} ); menubar.add( jMenuFile ); jMenuFile.add( eval ); jMenuFile.add( exit ); jMenuFile.add( reqSh );
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
setJMenuBar(menubar);
setJMenuBar( menubar );
private void addMenuBar() { JMenuBar menubar = new JMenuBar(); JMenu jMenuFile = new JMenu("File"); jMenuFile.setMnemonic('F'); JMenuItem exit = new JMenuItem("Exit"); exit.addActionListener(new ActionListener() { public void actionPerformed(...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public void actionPerformed(ActionEvent ae_) {
public void actionPerformed( ActionEvent ae_ ) { Thread t = new Thread( new Runnable() { public void run() { done(); } } );
public void actionPerformed(ActionEvent ae_) { done(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell");
System.err.println( "Finished with Done" ); pause();
void done() { hide(); Toolkit.getDefaultToolkit().close(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating...");
System.out.println( "Evaluating source string=" + sourcecode ); topLabel.setText( "Evaluating..." );
private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
Object out = interpreter.eval(sourcecode); if (out != null) { bottomLabel.setText("Result=" + out); } else { bottomLabel.setText("Null Result.");
Object out = interpreter.eval( sourcecode ); if( out != null ) { bottomLabel.setText( "Result=" + out );
private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
topLabel.setText("Press F12 to Evaluate.");
else { bottomLabel.setText( "Null Result." ); } topLabel.setText( "Press F12 to Evaluate." );
private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
} catch (EvalError evalError) {
} catch( EvalError evalError ) {
private void evaluateText() { String sourcecode = editor.getText(); System.out.println("Evaluating source string=" + sourcecode); topLabel.setText("Evaluating..."); repaint();// Interpreter interpreter = new Interpreter(); try { Ob...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
public static void main(String[] args) { System.err.println("Starting Charva Shell"); CharvaShell testwin = new CharvaShell(); testwin.show(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell");
public static void main( String[] args ) { System.out.println( "args = " + Arrays.asList( args ) ); if( args.length == 1 && args[0].toLowerCase().equals( "debug1" ) ) { debug1(); } else { Toolkit.getDefaultToolkit().register(); System.err.println( "Starting Charva Shell" ); CharvaShell testwin = new CharvaShell(); tes...
public static void main(String[] args) { System.err.println("Starting Charva Shell"); CharvaShell testwin = new CharvaShell(); testwin.show(); Toolkit.getDefaultToolkit().waitTillFinished(); System.err.println("Finished Charva Shell"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/85fb172f9489c040f68de8ce5e320c9df0de877a/CharvaBsh.java/buggy/distr/src/apps/org/jnode/apps/charvabsh/CharvaBsh.java
encoding.trim();
encoding = encoding.trim();
private void pushURL(boolean isPE, String ename, ExternalIdentifiers ids, Reader reader, InputStream stream, String encoding, boolean doResolve) throws SAXException, IOException { boolean ignoreEncoding; String systemId; InputSource source; if (!isPE) { ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8829d4c1c7783564f917daf11d8dfccce3d3085/XmlParser.java/clean/core/src/classpath/gnu/gnu/xml/aelfred2/XmlParser.java
dialog.show();
dialog.setVisible(true);
public static void showRunScriptDialog(SessionGUI session) { JPanel rsp = new JPanel(); rsp.setLayout(new BorderLayout()); JLabel jl = new JLabel("Enter script to run"); final JTextField rst = new JTextField(); rsp.add(jl,BorderLayout.NORTH); rsp.add(rst,BorderLayout.CENTER); Objec...
1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/Macronizer.java/clean/tn5250j/src/org/tn5250j/tools/Macronizer.java
private Void() { }
private Void() { }
private Void() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/Void.java/buggy/core/src/classpath/java/java/lang/Void.java
clone() {
public Object clone() {
clone(){ return(ci.clone());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
clone(){ return(ci.clone());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
current() {
public char current() {
current(){ return(ci.current());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
current(){ return(ci.current());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
first() {
public char first() {
first(){ return(ci.first());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
first(){ return(ci.first());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getAllAttributeKeys() {
public Set getAllAttributeKeys() {
getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getAllAttributeKeys(){ HashSet s = new HashSet(); if (attribs == null) return(s); for (int i = 0; i < attribs.length; i++) { if (attribs[i].begin_index > getEndIndex() || attribs[i].end_index <= getBeginIndex()) continue; Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.itera...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getAttribute(AttributedCharacterIterator.Attribute attrib) {
public Object getAttribute(AttributedCharacterIterator.Attribute attrib) {
getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getAttribute(AttributedCharacterIterator.Attribute attrib){ if (attribs == null) return(null); for (int i = 0; i < attribs.length; i++) { Set key_set = attribs[i].attribs.keySet(); Iterator iter = key_set.iterator(); while (iter.hasNext()) { Object obj = iter.next(); // C...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getAttributes() {
public Map getAttributes() {
getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getAttributes(){ HashMap m = new HashMap(); if (attribs == null) return(m); for (int i = 0; i < attribs.length; i++) { if ((ci.getIndex() >= attribs[i].begin_index) && (ci.getIndex() < attribs[i].end_index)) m.putAll(attribs[i].attribs); } return(m);}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getBeginIndex() {
public int getBeginIndex() {
getBeginIndex(){ return(ci.getBeginIndex());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getBeginIndex(){ return(ci.getBeginIndex());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getEndIndex() {
public int getEndIndex() {
getEndIndex(){ return(ci.getEndIndex());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getEndIndex(){ return(ci.getEndIndex());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getIndex() {
public int getIndex() {
getIndex(){ return(ci.getIndex());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getIndex(){ return(ci.getIndex());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getRunLimit() {
public int getRunLimit() {
getRunLimit(){ return(getRunLimit(getAttributes().keySet()));}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getRunLimit(){ return(getRunLimit(getAttributes().keySet()));}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
getRunStart() {
public int getRunStart() {
getRunStart(){ return(getRunStart(getAttributes().keySet()));}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
getRunStart(){ return(getRunStart(getAttributes().keySet()));}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
last() {
public char last() {
last(){ return(ci.last());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
}
}
last(){ return(ci.last());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java
next() {
public char next() {
next(){ return(ci.next());}
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/1a6944e2b647ccd9f0a45036fbe2dcd289ca1699/AttributedStringIterator.java/clean/core/src/classpath/java/java/text/AttributedStringIterator.java