rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
d.width = d.width + checkIcon.getIconWidth() + defaultTextIconGap; | d.width += checkIcon.getIconWidth() + defaultTextIconGap; | protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/BasicMenuItemUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java |
if (!((JMenu) c).isTopLevelMenu()) d.width += arrowIcon.getIconWidth() + m.getParent().getWidth(); | int pWidth = m.getParent().getWidth(); if (!((JMenu)c).isTopLevelMenu() && d.width < pWidth) d.width = pWidth - m.getInsets().left - m.getInsets().right; | protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/BasicMenuItemUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java |
d.width += MenuGap; | d.width += arrowIcon.getIconWidth() + MenuGap; | protected Dimension getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) { JMenuItem m = (JMenuItem) c; Dimension d = BasicGraphicsUtils.getPreferredButtonSize(m, ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4f54b4c49f6326d2bfe26573a0af55c73b713f0a/BasicMenuItemUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuItemUI.java |
public AccessibleJDialog() | protected AccessibleJDialog() | public AccessibleJDialog() { super(); // Nothing to do here. } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/JDialog.java/buggy/core/src/classpath/javax/javax/swing/JDialog.java |
public LayoutQueue() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/LayoutQueue.java/clean/core/src/classpath/javax/javax/swing/text/LayoutQueue.java | ||
super(toolkit, list, new JList()); this.list = list; | super(toolkit, list, new SwingList(list)); | public SwingListPeer(SwingToolkit toolkit, final List list) { super(toolkit, list, new JList()); this.list = list; final JList jList = (JList)jComponent; SwingToolkit.add(list, jList); SwingToolkit.copyAwtProperties(list, jList); final ListModel model = new AbstractListModel() { public Object getEl... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/cb141050fd84afdb6e8ef6f8cc3ed4e90608d848/SwingListPeer.java/clean/gui/src/awt/org/jnode/awt/swingpeers/SwingListPeer.java |
classXDFNodeName = super.getClassXDFNodeName()+ "||" + "string"; | parentClassXDFNodeName = super.getClassXDFNodeName(); classXDFNodeName = "string"; | private void init() { classXDFNodeName = super.getClassXDFNodeName()+ "||" + "string"; attribOrder.add(0, "length"); //add length as the first attribute; attribHash.put("lessThanValue", new XMLAttribute(null, Constants.STRING_TYPE)); attribHash.put("lessThanOrEqualValue", new XMLAttribute(null, Constants... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f7334d53dc2b07c40cf2be5d8dea21cc75c8e438/StringDataFormat.java/buggy/src/gov/nasa/gsfc/adc/xdf/StringDataFormat.java |
private void init() { classXDFNodeName = super.getClassXDFNodeName()+ "||" + "string"; attribOrder.add(0, "length"); //add length as the first attribute; attribHash.put("lessThanValue", new XMLAttribute(null, Constants.STRING_TYPE)); attribHash.put("lessThanOrEqualValue", new XMLAttribute(null, Constants... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/f7334d53dc2b07c40cf2be5d8dea21cc75c8e438/StringDataFormat.java/buggy/src/gov/nasa/gsfc/adc/xdf/StringDataFormat.java | ||
frame.show(); | frame.setVisible(true); | public void run() { frame.show(); } | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/d3f4f0d032e4305c6a78bdb863ee5599f3e41633/SendEMailDialog.java/buggy/tn5250j/src/org/tn5250j/mailtools/SendEMailDialog.java |
if (mark == s.count) | if (mark >= s.count) | public static final int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset) { int mark = Utilities.getTabbedTextOffset(s, metrics, x0, x, e, startOffset); BreakIterator breaker = Brea... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/Utilities.java/buggy/core/src/classpath/javax/javax/swing/text/Utilities.java |
if (isEncodingAvailable("1141")) { | if (isEncodingAvailable("Cp1141")) { | static final CodePage getCodePage(String cp) { System.err.println("Trying NativeCodePage:" + cp); if (cp.equals("37")) return new NativeCodePage(cp, codePage37); if (cp.equals("37PT")) return new NativeCodePage(cp, codePage37PT); if (cp.equals("273")) return new NativeCo... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a7a47abcf0af4c8c5579b8ed7a754b007c92974e/NativeCodePage.java/buggy/tn5250j/src/org/tn5250j/encoding/NativeCodePage.java |
if (isEncodingAvailable("1140")) { | if (isEncodingAvailable("Cp1140")) { | static final CodePage getCodePage(String cp) { System.err.println("Trying NativeCodePage:" + cp); if (cp.equals("37")) return new NativeCodePage(cp, codePage37); if (cp.equals("37PT")) return new NativeCodePage(cp, codePage37PT); if (cp.equals("273")) return new NativeCo... | 1179 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1179/a7a47abcf0af4c8c5579b8ed7a754b007c92974e/NativeCodePage.java/buggy/tn5250j/src/org/tn5250j/encoding/NativeCodePage.java |
public void propertyChange(PropertyChangeEvent evt) | public void propertyChange(PropertyChangeEvent e) | public void propertyChange(PropertyChangeEvent evt) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/50cfc3ee73e2e377b07c91f0e40a2f172b10fd27/BasicMenuUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicMenuUI.java |
public void propertyChange(PropertyChangeEvent e) { if (e.getSource() == BasicListUI.this.list) { if (e.getOldValue() != null && e.getOldValue() instanceof ListModel) ((ListModel) e.getOldValue()).removeListDataListener(BasicListUI.this.listDataListener); if (e.getNewValu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/39b6fa6b2c83d98e97f872ed8ae18d9f4803884d/BasicListUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicListUI.java | ||
throw new LinkageError("Failed to compile " + name, ex); | final LinkageError le = new LinkageError("Failed to compile " + name); le.initCause(ex); throw le; | private synchronized void doCompile() { if (isCompiled()) { return; } if (!isCompiling()) { if (loader.isCompileRequired()) { state |= VmTypeState.ST_COMPILING; //BootLog.debug("Compiling " + getName()); // Compile the superclass (if any) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/VmType.java/buggy/core/src/core/org/jnode/vm/classmgr/VmType.java |
setOpaque(true); | setOpaque(false); | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java |
setBorder(UIManager.getLookAndFeelDefaults().getBorder("Tree.nonSelectionBorder")); | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafIcon()); else if (expanded) setIcon(getOpenIcon()); else setIcon(getClosedIcon()); setText(val.toString()); this.selected ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f7b0a77266671350e38451a50ce054282a5860ef/DefaultTreeCellRenderer.java/buggy/core/src/classpath/javax/javax/swing/tree/DefaultTreeCellRenderer.java | |
if (descriptor) { switch (type_code.charAt(0)) { case 'B': return byte.class; case 'C': return char.class; case 'D': return double.class; case 'F': return float.class; case 'I': return int.class; case 'J': return long.class; case 'S': return short.class; case 'V': return void.class; case 'Z': return boolean.class; defa... | return getClassForEncoding(type_code, descriptor, null); | public static Class getClassForEncoding(String type_code, boolean descriptor) throws ClassNotFoundException { if (descriptor) { switch (type_code.charAt(0)) { case 'B': return byte.class; case 'C': return char.class; case 'D': ret... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b2ed890086e708f00d163f3e8514bfa8b353f662/TypeSignature.java/buggy/core/src/classpath/gnu/gnu/java/lang/reflect/TypeSignature.java |
if (CurrentArray.getDataCube().getHref() != null) return; | if ( !(formatObj instanceof DelimitedXMLDataIOStyle) && CurrentArray.getDataCube().getHref() != null) return; | public void action (SaxDocumentHandler handler) throws SAXException { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/01f6ba72b1a523997c15967e3ab6fc4f6901877f/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
XMLDataIOStyle formatObj = CurrentArray.getXMLDataIOStyle(); | public void action (SaxDocumentHandler handler) throws SAXException { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/01f6ba72b1a523997c15967e3ab6fc4f6901877f/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
thisString = thisString.trim(); | private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) throws SetDataException {/... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/01f6ba72b1a523997c15967e3ab6fc4f6901877f/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
buffer.append(data, 0, chars_this_read); if (chars_this_read < size) { break; } offset += chars_this_read; | buffer.append(data, 0, chars_this_read); if (chars_this_read < size) { break; } offset += chars_this_read; | private String getCharacterDataFromInputStream (InputStream in) throws IOException { StringBuffer buffer = new StringBuffer(); BufferedReader reader = new BufferedReader(new InputStreamReader(in)); int size = BASEINPUTREADSIZE; char[] data = new char[size]; int chars_this_read = ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/01f6ba72b1a523997c15967e3ab6fc4f6901877f/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
else if (readObj instanceof DelimitedXMLDataIOStyle) { String data = getCharacterDataFromInputStream(in); if (!IgnoreWhitespaceOnlyData || stringIsNotAllWhitespace(data) ) { DATABLOCK.append(data); } } | private void loadHrefDataIntoCurrentArray ( Entity hrefObj, XMLDataIOStyle readObj, String compressionType ) throws SAXException { // well, we should be doing some... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/01f6ba72b1a523997c15967e3ab6fc4f6901877f/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.debugln("Got Delimited DataCell ("+start+","+termend+") (repeatable):["+valueString+"]"); | private ArrayList splitStringIntoStringObjects ( String valueListString, String delimiter, String repeatable, String terminatingDelimiter ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/01f6ba72b1a523997c15967e3ab6fc4f6901877f/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
String list = (String)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { | String list = (String)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { | void checkPackageList(String packageName, final String restriction, String permission) { if (packageName == null) throw new NullPointerException(); String list = (String)AccessController.doPrivileged(new PrivilegedAction() { public Object run() { return Security.getProperty(restricti... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f9edc08acdeb1f2f4fe82f01243818bd374a3e46/SecurityManager.java/clean/core/src/classpath/java/java/lang/SecurityManager.java |
public Object run() { | public Object run() { | public Object run() { return Security.getProperty(restriction); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/f9edc08acdeb1f2f4fe82f01243818bd374a3e46/SecurityManager.java/clean/core/src/classpath/java/java/lang/SecurityManager.java |
this.scale = font.getSize() / fontData.getHorizontalHeaderTable().getAscent(); | this.fontSize = font.getSize(); final double ascent = fontData.getHorizontalHeaderTable().getAscent(); this.scale = fontSize / ascent; | public TTFFontMetrics(Font font, TTFFontData fontData) throws IOException { super(font); if (font == null) { throw new IllegalArgumentException("font cannot be null"); } if (fontData == null) { throw new IllegalArgumentException("fontData cannot be null"); } this.fontData = fontData; this.scale = font.getSi... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d64552ee2bc6ad50a696471b75cf8d30fdc5c266/TTFFontMetrics.java/clean/gui/src/awt/org/jnode/awt/font/truetype/TTFFontMetrics.java |
return (int)(fontData.getHorizontalHeaderTable().getAscent() * scale); | final int ascent = (int)(fontData.getHorizontalHeaderTable().getAscent() * scale); return ascent; | public int getAscent() { try { return (int)(fontData.getHorizontalHeaderTable().getAscent() * scale); } catch (IOException ex) { return 0; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d64552ee2bc6ad50a696471b75cf8d30fdc5c266/TTFFontMetrics.java/clean/gui/src/awt/org/jnode/awt/font/truetype/TTFFontMetrics.java |
return Math.abs((int)(fontData.getHorizontalHeaderTable().getDescent() * scale)); | final int descent = Math.abs((int)(fontData.getHorizontalHeaderTable().getDescent() * scale)); return descent; | public int getDescent() { try { return Math.abs((int)(fontData.getHorizontalHeaderTable().getDescent() * scale)); } catch (IOException ex) { return 0; } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d64552ee2bc6ad50a696471b75cf8d30fdc5c266/TTFFontMetrics.java/clean/gui/src/awt/org/jnode/awt/font/truetype/TTFFontMetrics.java |
super.toXMLOutputStream( outputstream, indent, false, XDFNodeName, noUnitChildNodeName ); | super.toXMLOutputStream( outputstream, indent, false, XDFNodeName, noUnitChildNodeName); | public void toXMLOutputStream ( OutputStream outputstream, String indent ) throws java.io.IOException { super.toXMLOutputStream( outputstream, indent, false... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/be1aebbfd32b232b571249031c67834319aa386f/Units.java/buggy/src/gov/nasa/gsfc/adc/xdf/Units.java |
SecureRandom rnd = new SecureRandom (); | private static final BigInteger newR(final BigInteger N) { final int upper = (N.bitLength() + 7) / 8; final int lower = upper / 2; final byte[] bl = new byte[1]; SecureRandom rnd = new SecureRandom (); int b; do { rnd.nextBytes(bl); b = bl[0] & 0xFF; } while (b < lower ||... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java | |
rnd.nextBytes(bl); | prng.nextBytes(bl); | private static final BigInteger newR(final BigInteger N) { final int upper = (N.bitLength() + 7) / 8; final int lower = upper / 2; final byte[] bl = new byte[1]; SecureRandom rnd = new SecureRandom (); int b; do { rnd.nextBytes(bl); b = bl[0] & 0xFF; } while (b < lower ||... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java |
rnd.nextBytes(buffer); | prng.nextBytes(buffer); | private static final BigInteger newR(final BigInteger N) { final int upper = (N.bitLength() + 7) / 8; final int lower = upper / 2; final byte[] bl = new byte[1]; SecureRandom rnd = new SecureRandom (); int b; do { rnd.nextBytes(bl); b = bl[0] & 0xFF; } while (b < lower ||... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5806c07c3eeedb0f4f92b9fbacf30c0f55915c25/RSA.java/buggy/core/src/classpath/gnu/gnu/java/security/sig/rsa/RSA.java |
public UndoableEdit getEdit() { | public UndoableEdit getEdit() { | public UndoableEdit getEdit() { return edit; } // getEdit() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/UndoableEditEvent.java/clean/core/src/classpath/javax/javax/swing/event/UndoableEditEvent.java |
} | } | public UndoableEdit getEdit() { return edit; } // getEdit() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8834e60eedea5a65712de1e0c0fa2d875e22b9c/UndoableEditEvent.java/clean/core/src/classpath/javax/javax/swing/event/UndoableEditEvent.java |
popupLocationX = point.x; popupLocationY = point.y; | popupLocationX += point.x; popupLocationY += point.y; | public void setVisible(final boolean visible) { // Hook up this call so that it gets executed on the event thread in order // to avoid synchronization problems when calling the layout manager. if (! SwingUtilities.isEventDispatchThread()) { SwingUtilities.invokeLater(new Runnable() { ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5872c8217b16b32bfb07d2787bc24a4f9d30eb24/JPopupMenu.java/clean/core/src/classpath/javax/javax/swing/JPopupMenu.java |
myLocator.setIterationOrder(AxisReadOrder); | myLocator.setIterationOrder(AxisReadOrder); | public void action (SaxDocumentHandler handler) { // we stopped reading datanode, lower count by one DataNodeLevel--; // we might still be nested within a data node // if so, return now to accumulate more data within the DATABLOCK if(DataNodeLevel != 0) ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
LastFastAxisCoordinate = -1; | LastFastAxisCoordinate = 0; LastFieldAxisCoordinate = 0; | public Object action (SaxDocumentHandler handler, Attributes attrs) { // we only need to do these things for the first time we enter // a data node if (DataNodeLevel == 0) { // A little 'pre-handling' as href is a specialattribute // that will hold an (Href) ob... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
public Object action (SaxDocumentHandler handler, Attributes attrs) { // we only need to do these things for the first time we enter // a data node if (DataNodeLevel == 0) { // A little 'pre-handling' as href is a specialattribute // that will hold an (Href) ob... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
int currentFastAxisCoordinate = TaggedLocatorObj.getAxisIndex(FastestAxis); if ( currentFastAxisCoordinate != LastFastAxisCoordinate ) | int currentFieldAxisCoordinate = TaggedLocatorObj.getAxisIndex(CurrentArray.getFieldAxis()); if ( currentFieldAxisCoordinate != LastFieldAxisCoordinate ) | public void action (SaxDocumentHandler handler) { if (CurrentDataTagLevel == DataTagLevel) TaggedLocatorObj.next(); // bump up DataFormat appropriately if (MaxDataFormatIndex > 0) { int currentFastAxisCoordinate = TaggedLocatorObj.getAxisIndex(FastestAxis); ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
LastFastAxisCoordinate = currentFastAxisCoordinate; | LastFieldAxisCoordinate = currentFieldAxisCoordinate; | public void action (SaxDocumentHandler handler) { if (CurrentDataTagLevel == DataTagLevel) TaggedLocatorObj.next(); // bump up DataFormat appropriately if (MaxDataFormatIndex > 0) { int currentFastAxisCoordinate = TaggedLocatorObj.getAxisIndex(FastestAxis); ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
public void action (SaxDocumentHandler handler) { if (CurrentDataTagLevel == DataTagLevel) TaggedLocatorObj.next(); // bump up DataFormat appropriately if (MaxDataFormatIndex > 0) { int currentFastAxisCoordinate = TaggedLocatorObj.getAxisIndex(FastestAxis); ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
CurrentArray.setFieldAxis(newfieldaxis); | CurrentArray.addAxis(newfieldaxis); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // create new object appropriately FieldAxis newfieldaxis = new FieldAxis(); newfieldaxis.setAttributes(attrs); // set XML attributes from passed list // Every axis must have *either* axisId *or* an axisId... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
AxisReadOrder.add(0, AxisObj.get(attrs.getValue(i))); | AxisReadOrder.add(0, AxisObj.get(attrs.getValue(i))); | public Object action (SaxDocumentHandler handler, Attributes attrs) { // for node sets the iteration order for how we will setData // in the datacube (important for delimited and formatted reads). int size = attrs.getLength(); for (int i = 0; i < size; i++) { ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
*/ | public Object action (SaxDocumentHandler handler, Attributes attrs) { // save these for later, when we know what kind of dataIOstyle we got // Argh we really need a clone on Attributes. Just dumb copy for now. DataIOStyleAttribs = attribListToHashtable(attrs); // clear out the... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.debugln("ADDING TAGGED DATA to ("+TaggedLocatorObj+") : ["+thisString+"]"); | public void action (SaxDocumentHandler handler, char buf [], int offset, int len) { // only do something here IF we are reading in data at the moment // is this needed?? if (DataNodeLevel > 0) { XMLDataIOStyle readObj = CurrentArray.getXMLDataIOStyle(); ... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.errorln("Got Href Formatted Number Data:["+thisData.trim()+ "]["+bytes_added+"]["+bytes_to_add+"]"); | private void addByteDataToCurrentArray (Locator location, byte[] data, int amount, String endian) throws SetDataException { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getFormatCommands(); int nrofIOCmd = commandList.size(); int bytes_... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
Log.errorln("Got Href Formatted Character Data:["+thisData+ "]["+bytes_added+"]["+bytes_to_add+"]"); | private void addByteDataToCurrentArray (Locator location, byte[] data, int amount, String endian) throws SetDataException { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getFormatCommands(); int nrofIOCmd = commandList.size(); int bytes_... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | |
private void addByteDataToCurrentArray (Locator location, byte[] data, int amount, String endian) throws SetDataException { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getFormatCommands(); int nrofIOCmd = commandList.size(); int bytes_... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
Integer numOfBits = ((BinaryIntegerDataFormat) currentDataFormat).getBits(); int numOfBytes = numOfBits.intValue()/8; int myValue = convertBytesToInteger (numOfBytes, endian, data, bytes_added); | int myValue = convertBytesToInteger (bytes_to_add, endian, data, bytes_added); | private void addByteDataToCurrentArray (Locator location, byte[] data, int amount, String endian) throws SetDataException { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getFormatCommands(); int nrofIOCmd = commandList.size(); int bytes_... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
private void addByteDataToCurrentArray (Locator location, byte[] data, int amount, String endian) throws SetDataException { ArrayList commandList = (ArrayList) ((FormattedXMLDataIOStyle) CurrentArray.getXMLDataIOStyle()).getFormatCommands(); int nrofIOCmd = commandList.size(); int bytes_... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java | ||
Log.infoln(") "); | Log.infoln(") ["+CurrentDataFormat+"]"); | private void addDataToCurrentArray ( Locator dataLocator, String thisString, DataFormat CurrentDataFormat, int intRadix ) {// this stuff slows down the... | 4483 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4483/080dcc530a4eeda681a64b1f4e77a6d191ac39db/SaxDocumentHandler.java/buggy/src/gov/nasa/gsfc/adc/xdf/SaxDocumentHandler.java |
protected AccessibleJDesktopPane() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JDesktopPane.java/clean/core/src/classpath/javax/javax/swing/JDesktopPane.java | ||
public void setSelectedFrame(JInternalFrame frame) { if (selectedFrame != null) { try { selectedFrame.setSelected(false); } catch (PropertyVetoException e) { } } selectedFrame = null; try { if (frame != null) frame.setSelected(true); selectedFrame = frame; } catch (Prope... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/JDesktopPane.java/clean/core/src/classpath/javax/javax/swing/JDesktopPane.java | ||
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/39b6fa6b2c83d98e97f872ed8ae18d9f4803884d/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | ||
Object getNextNode(Object curr) { if (!treeModel.isLeaf(curr) && treeModel.getChildCount(curr) > 0) return treeModel.getChild(curr, 0); Object node = curr; Object sibling = null; do { sibling = getNextSibling(node); node = getParent(treeModel.getRoot(), node); } while (sib... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/39b6fa6b2c83d98e97f872ed8ae18d9f4803884d/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | ||
protected void updateCachedPreferredSize() { int maxWidth = 0; boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePath(getPathToRoot(path[i], 0)); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/39b6fa6b2c83d98e97f872ed8ae18d9f4803884d/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | ||
protected void updateCachedPreferredSize() { int maxWidth = 0; boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePath(getPathToRoot(path[i], 0)); ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/39b6fa6b2c83d98e97f872ed8ae18d9f4803884d/BasicTreeUI.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicTreeUI.java | ||
return addr; | return (byte[]) addr.clone(); | public byte[] getAddress() { return addr; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/fc10db4f3c7e4495c850eee76c5f5ea45b8979bc/Inet4Address.java/clean/core/src/classpath/java/java/net/Inet4Address.java |
} | } | public void addLayoutComponent(String name, Component c) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java | ||
viewPref.height = portBounds.height; | viewPref.height = portBounds.height; | public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
viewPref.width = portBounds.width; | viewPref.width = portBounds.width; | public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
} | } | public void layoutContainer(Container parent) { // The way to interpret this function is basically to ignore the names // of methods it calls, and focus on the variable names here. getViewRect // doesn't, for example, return the view; it returns the port bounds in // view space. Likwise setViewPosition ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
{ | { | public Dimension minimumLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); if (view != null) return view.getMinimumSize(); else return new Dimension(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
return view.getMinimumSize(); | return view.getMinimumSize(); | public Dimension minimumLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); if (view != null) return view.getMinimumSize(); else return new Dimension(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
} | } | public Dimension minimumLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); if (view != null) return view.getMinimumSize(); else return new Dimension(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
return view.getPreferredSize(); | return view.getPreferredSize(); | public Dimension preferredLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); if (view != null) { if (view instanceof Scrollable) return ((Scrollable)view).getPreferredScrollableViewportSize(); return view.getPreferredSize(); } e... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
} | } | public Dimension preferredLayoutSize(Container parent) { JViewport vp = (JViewport)parent; Component view = vp.getView(); if (view != null) { if (view instanceof Scrollable) return ((Scrollable)view).getPreferredScrollableViewportSize(); return view.getPreferredSize(); } e... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
} | } | public void removeLayoutComponent(Component c) { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/ViewportLayout.java/clean/core/src/classpath/javax/javax/swing/ViewportLayout.java |
public TextUI() { } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/963ae61676e8c35a9e0998e0b7de1f942db82a26/TextUI.java/clean/core/src/classpath/javax/javax/swing/plaf/TextUI.java | ||
"Button.background", new ColorUIResource(light), | "Button.background", new ColorUIResource(Color.LIGHT_GRAY), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Button.darkShadow", new ColorUIResource(shadow), | "Button.darkShadow", new ColorUIResource(Color.BLACK), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Button.foreground", new ColorUIResource(darkShadow), "Button.highlight", new ColorUIResource(highLight), "Button.light", new ColorUIResource(highLight), | "Button.foreground", new ColorUIResource(Color.BLACK), "Button.highlight", new ColorUIResource(Color.WHITE), "Button.light", new ColorUIResource(Color.LIGHT_GRAY), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Button.shadow", new ColorUIResource(shadow), | "Button.shadow", new ColorUIResource(Color.GRAY), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"CheckBox.icon", BasicIconFactory.getCheckBoxIcon(), | "CheckBox.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getCheckBoxIcon(); } }, | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
new BorderUIResource.CompoundBorderUIResource(null, null), | new UIDefaults.LazyValue() { public Object createValue(UIDefaults table) { Color lineColor = new Color(238, 238, 238); Border inner = BorderFactory.createLineBorder(lineColor, 1); Color shadowInner = new Color(184, 207, 229); Color shadowOuter = new Color(122, 138, 153); Border outer = BorderFactory.createBevelBorder(B... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"InternalFrame.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return new IconUIResource(BasicIconFactory.createEmptyFrameIcon()); } }, | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"RadioButton.icon", BasicIconFactory.getRadioButtonIcon(), | "RadioButton.icon", new UIDefaults.LazyValue() { public Object createValue(UIDefaults def) { return BasicIconFactory.getRadioButtonIcon(); } }, | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Slider.thumbWidth", new Integer(10), | "Slider.thumbWidth", new Integer(11), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Tree.font", new FontUIResource("Dialog", Font.PLAIN, 12), "Tree.closedIcon", new IconUIResource(new ImageIcon(getClass().getResource( "/gnu/javax/swing/plaf/gtk/icons/TreeClosed.png"))), | "Tree.font", new FontUIResource(new Font("Helvetica", Font.PLAIN, 12)), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Tree.hash", new ColorUIResource(Color.gray), "Tree.leafIcon", new IconUIResource(new ImageIcon(getClass().getResource( "/gnu/javax/swing/plaf/gtk/icons/TreeLeaf.png"))), | "Tree.hash", new ColorUIResource(new Color(128, 128, 128)), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Tree.openIcon", new IconUIResource(new ImageIcon(getClass().getResource( "/gnu/javax/swing/plaf/gtk/icons/TreeOpen.png"))), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java | |
"Tree.rowHeight", new Integer(19), | "Tree.rowHeight", new Integer(20), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
"Tree.selectionForeground", new ColorUIResource(Color.white), "Tree.textBackground", new ColorUIResource(Color.white), | "Tree.selectionForeground", new ColorUIResource(new Color(255, 255, 255)), "Tree.textBackground", new ColorUIResource(new Color(255, 255, 255)), | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c4eda97e6e5feb8e7650d83d5066d85580f1249c/BasicLookAndFeel.java/clean/core/src/classpath/javax/javax/swing/plaf/basic/BasicLookAndFeel.java |
if ( (attrib=getEncoding()) !=null) writeOut(outputstream, " encoding=\"" + attrib+"\""); | if ( (attrib=getEncoding()) !=null) { writeOut(outputstream, " encoding=\""); writeOut(outputstream, attrib); writeOut(outputstream, "\""); } | 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/469583f484a02708171e26fa8233ca46ebf80d9b/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
writeOut(outputstream, " endian=\"" + attrib + "\""); | { writeOut(outputstream, " endian=\""); writeOut(outputstream, attrib); writeOut(outputstream, "\""); } | 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/469583f484a02708171e26fa8233ca46ebf80d9b/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
writeOut(outputstream, " readId=\"" + attrib + "\""); | { writeOut(outputstream, " readId=\""); writeOut(outputstream, attrib); writeOut(outputstream, "\""); } | 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/469583f484a02708171e26fa8233ca46ebf80d9b/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
writeOut(outputstream, " readIdRef=\"" + attrib + "\""); | { writeOut(outputstream, " readIdRef=\""); writeOut(outputstream, attrib); writeOut(outputstream, "\""); } | 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/469583f484a02708171e26fa8233ca46ebf80d9b/XMLDataIOStyle.java/buggy/src/gov/nasa/gsfc/adc/xdf/XMLDataIOStyle.java |
private void addNonNull(Component c) | private void addNonNull(Component c, Object constraints) | private void addNonNull(Component c) { if (c != null) add(c); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
add(c); | add(c, constraints); | private void addNonNull(Component c) { if (c != null) add(c); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
ChangeListener createScrollListener() { return new ChangeListener() { public void stateChanged(ChangeEvent event) { JScrollBar vsb = JScrollPane.this.getVerticalScrollBar(); JScrollBar hsb = JScrollPane.this.getHorizontalScrollBar(); JViewport vp = JScrollPan... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java | ||
if (hsb != null) | if (hsb != null) | ChangeListener createScrollListener() { return new ChangeListener() { public void stateChanged(ChangeEvent event) { JScrollBar vsb = JScrollPane.this.getVerticalScrollBar(); JScrollBar hsb = JScrollPane.this.getHorizontalScrollBar(); JViewport vp = JScrollPan... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
public void stateChanged(ChangeEvent event) { JScrollBar vsb = JScrollPane.this.getVerticalScrollBar(); JScrollBar hsb = JScrollPane.this.getHorizontalScrollBar(); JViewport vp = JScrollPane.this.getViewport(); if (vp != null && event.getSource() == vp) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java | ||
if (hsb != null) | if (hsb != null) | public void stateChanged(ChangeEvent event) { JScrollBar vsb = JScrollPane.this.getVerticalScrollBar(); JScrollBar hsb = JScrollPane.this.getHorizontalScrollBar(); JViewport vp = JScrollPane.this.getViewport(); if (vp != null && event.getSource() == vp) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
addNonNull(h); | addNonNull(h, JScrollPane.COLUMN_HEADER); | public void setColumnHeader(JViewport h) { if (columnHeader == h) return; JViewport old = columnHeader; removeNonNull(old); columnHeader = h; addNonNull(h); firePropertyChange("columnHeader", old, h); sync(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
addNonNull(c); | addNonNull(c, JScrollPane.LOWER_RIGHT_CORNER); | public void setCorner(String key, Component c) { if (getComponentOrientation() == ComponentOrientation.LEFT_TO_RIGHT) { if (key == LOWER_LEADING_CORNER) key = LOWER_LEFT_CORNER; else if (key == LOWER_TRAILING_CORNER) key = LOWER_RIGHT_CORNER; else if (key == UPP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
addNonNull(c); | addNonNull(c, JScrollPane.UPPER_RIGHT_CORNER); | public void setCorner(String key, Component c) { if (getComponentOrientation() == ComponentOrientation.LEFT_TO_RIGHT) { if (key == LOWER_LEADING_CORNER) key = LOWER_LEFT_CORNER; else if (key == LOWER_TRAILING_CORNER) key = LOWER_RIGHT_CORNER; else if (key == UPP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
addNonNull(c); | addNonNull(c, JScrollPane.LOWER_LEFT_CORNER); | public void setCorner(String key, Component c) { if (getComponentOrientation() == ComponentOrientation.LEFT_TO_RIGHT) { if (key == LOWER_LEADING_CORNER) key = LOWER_LEFT_CORNER; else if (key == LOWER_TRAILING_CORNER) key = LOWER_RIGHT_CORNER; else if (key == UPP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
addNonNull(c); | addNonNull(c, JScrollPane.UPPER_LEFT_CORNER); | public void setCorner(String key, Component c) { if (getComponentOrientation() == ComponentOrientation.LEFT_TO_RIGHT) { if (key == LOWER_LEADING_CORNER) key = LOWER_LEFT_CORNER; else if (key == LOWER_TRAILING_CORNER) key = LOWER_RIGHT_CORNER; else if (key == UPP... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/3826e72d9ebe31a854c4d01d6c8f1ec65a8d80fe/JScrollPane.java/buggy/core/src/classpath/javax/javax/swing/JScrollPane.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.