rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
log.finest(" Issuer: " + issuer);
if (Configuration.DEBUG) log.fine(" Issuer: " + issuer);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" SerialNumber: " + serialNumber);
if (Configuration.DEBUG) log.fine(" SerialNumber: " + serialNumber);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" DigestAlgorithmIdentifier: " + val);
if (Configuration.DEBUG) log.fine(" DigestAlgorithmIdentifier: " + val);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" digestAlgorithm OID: " + digestAlgorithmId);
if (Configuration.DEBUG) log.fine(" digestAlgorithm OID: " + digestAlgorithmId);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" digestAlgorithm params: "); log.finest(Util.dumpString(digestAlgorithmParams,
if (Configuration.DEBUG) { log.fine(" digestAlgorithm params: "); log.fine(Util.dumpString(digestAlgorithmParams,
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
}
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" AuthenticatedAttributes: "); log.finest(Util.dumpString(authenticatedAttributes,
if (Configuration.DEBUG) { log.fine(" AuthenticatedAttributes: "); log.fine(Util.dumpString(authenticatedAttributes,
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
}
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" DigestEncryptionAlgorithmIdentifier: " + val);
if (Configuration.DEBUG) log.fine(" DigestEncryptionAlgorithmIdentifier: " + val);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" digestEncryptionAlgorithm OID: " + digestEncryptionAlgorithmId);
if (Configuration.DEBUG) log.fine(" digestEncryptionAlgorithm OID: " + digestEncryptionAlgorithmId);
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" digestEncryptionAlgorithm params: "); log.finest(Util.dumpString(digestEncryptionAlgorithmParams,
if (Configuration.DEBUG) { log.fine(" digestEncryptionAlgorithm params: "); log.fine(Util.dumpString(digestEncryptionAlgorithmParams,
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
}
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" EncryptedDigest: "); log.finest(Util.dumpString(encryptedDigest, " EncryptedDigest: "));
if (Configuration.DEBUG) { log.fine(" EncryptedDigest: "); log.fine(Util.dumpString(encryptedDigest, " EncryptedDigest: ")); }
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
log.finest(" UnauthenticatedAttributes: "); log.finest(Util.dumpString(unauthenticatedAttributes,
if (Configuration.DEBUG) { log.fine(" UnauthenticatedAttributes: "); log.fine(Util.dumpString(unauthenticatedAttributes,
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
}
public SignerInfo(BERReader ber) throws IOException { DERValue val = ber.read(); log.finest("SignerInfo: " + val); if (!val.isConstructed()) throw new BEREncodingException("malformed SignerInfo"); val = ber.read(); if (val.getTag() != BER.INTEGER) throw new BEREncodingException("malformed Ve...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/SignerInfo.java/clean/core/src/classpath/gnu/gnu/java/security/pkcs/SignerInfo.java
public final void stop() throws PluginException {
public final void stop() throws PluginException {
public final void stop() throws PluginException { if (started) { stopPlugin(); started = false; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/c2a519140737c4d249f6c5d568256db2030112e9/Plugin.java/buggy/core/src/core/org/jnode/plugin/Plugin.java
public final Class getCategory()
public Class getCategory()
public final Class getCategory() { return Finishings.class; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/Finishings.java/clean/core/src/classpath/javax/javax/print/attribute/standard/Finishings.java
public final String getName()
public String getName()
public final String getName() { return "finishings"; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/Finishings.java/clean/core/src/classpath/javax/javax/print/attribute/standard/Finishings.java
char c = byteOrder == BIG_ENDIAN ? (char) ((b1 << 8) | b2) : (char) ((b2 << 8) | b1);
char c = (byteOrder == BIG_ENDIAN ? (char) (((b1 & 0xFF) << 8) | (b2 & 0xFF)) : (char) (((b2 & 0xFF) << 8) | (b1 & 0xFF)));
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() int inPos = in.position (); try { while (in.remaining () >= 2) { byte b1 = in.get (); byte b2 = in.get (); // handle byte...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/UTF_16Decoder.java/clean/core/src/classpath/gnu/gnu/java/nio/charset/UTF_16Decoder.java
char d = byteOrder == BIG_ENDIAN ? (char) ((b3 << 8) | b4) : (char) ((b4 << 8) | b3);
char d = (byteOrder == BIG_ENDIAN ? (char) (((b3 & 0xFF) << 8) | (b4 & 0xFF)) : (char) (((b4 & 0xFF) << 8) | (b3 & 0xFF)));
protected CoderResult decodeLoop (ByteBuffer in, CharBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() int inPos = in.position (); try { while (in.remaining () >= 2) { byte b1 = in.get (); byte b2 = in.get (); // handle byte...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/UTF_16Decoder.java/clean/core/src/classpath/gnu/gnu/java/nio/charset/UTF_16Decoder.java
consumer.setDimensions(width, height);
srcWidth = width; srcHeight = height; /* If either destHeight or destWidth is < 0, the image should maintain its original aspect ratio. When both are < 0, just maintain the original width and height. */ if (destWidth < 0 && destHeight < 0) { destWidth = width; destHeight = height; } else if (destWidth < 0) { destWidt...
public void setDimensions(int width, int height) { consumer.setDimensions(width, height); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ReplicateScaleFilter.java/clean/core/src/classpath/java/java/awt/image/ReplicateScaleFilter.java
consumer.setPixels(x, y, w, h, model, pixels, offset, scansize);
double rx = ((double) srcWidth) / destWidth; double ry = ((double) srcHeight) / destHeight; int destScansize = (int) Math.round(scansize / rx); byte[] destPixels = replicatePixels(x, y, w, h, model, pixels, offset, scansize, rx, ry, destScansize); consumer.setPixels((int) Math.floor(x/rx), (int) Math.floor(y/ry), (i...
public void setPixels(int x, int y, int w, int h, ColorModel model, byte[] pixels, int offset, int scansize) { consumer.setPixels(x, y, w, h, model, pixels, offset, scansize); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/ReplicateScaleFilter.java/clean/core/src/classpath/java/java/awt/image/ReplicateScaleFilter.java
catch(Exception e)
catch (Exception e)
public static Object getInstance(String type) throws InternalError { String propertyName = "javax.rmi.CORBA." + type + "Class"; String dcname = System.getProperty(propertyName); if (dcname == null) { // // No javax.rmi.CORBA.XXXClass property sepcified. dcname = "gnu.javax.rmi.CORBA." + type ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/76fe1616918b9192a8d599c054a35e64237146ed/DelegateFactory.java/clean/core/src/classpath/gnu/gnu/javax/rmi/CORBA/DelegateFactory.java
super();
public InvalidDnDOperationException() { }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/InvalidDnDOperationException.java/clean/core/src/classpath/java/java/awt/dnd/InvalidDnDOperationException.java
System.out.println("path: " + path); System.out.println("parents: " + parents);
private int writeParents() throws IOException { int parents; String path = prefs.absolutePath(); int lastslash = path.lastIndexOf("/"); if (lastslash > 0) { path = path.substring(1, lastslash); StringTokenizer st = new StringTokenizer(path); parents = st....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/NodeWriter.java/clean/core/src/classpath/gnu/gnu/java/util/prefs/NodeWriter.java
return "0x" + Integer.toHexString(set) + " (" + CharSets_OSF.getName(set) + ") ";
return "0x" + Integer.toHexString(set) + " (" + CharSets_OSF.getName(set) + ") ";
private String name(int set) { return "0x" + Integer.toHexString(set) + " (" + CharSets_OSF.getName(set) + ") "; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
b.append(name(conversion [ i ]));
b.append(name(conversion[i]));
public String toString() { StringBuffer b = new StringBuffer(); b.append("native " + name(native_set)); if (conversion != null && conversion.length > 0) { b.append(" conversion "); for (int i = 0; i < conversion.length; i++) { b....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
if (components.size() > 0) b.append(" " + components.size() + " extra components.");
public String toString() { StringBuffer b = new StringBuffer(); b.append(host); b.append(":"); b.append(port); b.append(" (v"); b.append(version); b.append(")"); return b.toString(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
try {
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
out.write_long(1);
out.write_long(1 + profiles.size());
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
cdrOutput b = out.createEncapsulation();
TaggedProfile tp;
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
Internet.version.write(b); b.write_string(Internet.host); b.write_ushort((short) (Internet.port & 0xFFFF)); b.write_long(key.length); b.write(key); b.write_long(1); b.write_long(CodeSets_profile.TAG_CODE_SETS); CodeSets.write(b); b.close(); } catch (IOException ex)
for (int i = 0; i < profiles.size(); i++)
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
Unexpected.error(ex);
tp = (TaggedProfile) profiles.get(i); TaggedProfileHelper.write(out, tp);
public void _write_no_endian(cdrOutput out) { try { // Write repository id. out.write_string(Id); // Always one profile. out.write_long(1); // It is the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); // Need to write the Internet profile ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
FAILED, CompletionStatus.COMPLETED_NO );
FAILED, CompletionStatus.COMPLETED_NO);
public static IOR parse(String stringified_reference) throws BAD_PARAM { try { if (!stringified_reference.startsWith("IOR:")) throw new BAD_PARAM("The string refernce must start with IOR:", FAILED, CompletionStatus.COMPLETED_NO ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
FAILED, CompletionStatus.COMPLETED_NO );
FAILED, CompletionStatus.COMPLETED_NO);
public static IOR parse(String stringified_reference) throws BAD_PARAM { try { if (!stringified_reference.startsWith("IOR:")) throw new BAD_PARAM("The string refernce must start with IOR:", FAILED, CompletionStatus.COMPLETED_NO ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
b.append(Integer.toHexString(key [ i ] & 0xFF));
b.append(Integer.toHexString(key[i] & 0xFF));
public String toString() { StringBuffer b = new StringBuffer(); b.append(Id); b.append(" at "); b.append(Internet); if (!Big_Endian) b.append(" (Little endian) "); b.append(" Key "); for (int i = 0; i < key.length; i++) { b.append(Integer.toHexString(key [ i ] & 0xFF)); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
b.append(CodeSets);
b.append(Internet.CodeSets);
public String toString() { StringBuffer b = new StringBuffer(); b.append(Id); b.append(" at "); b.append(Internet); if (!Big_Endian) b.append(" (Little endian) "); b.append(" Key "); for (int i = 0; i < key.length; i++) { b.append(Integer.toHexString(key [ i ] & 0xFF)); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
s = Integer.toHexString(binary [ i ] & 0xFF);
s = Integer.toHexString(binary[i] & 0xFF);
public String toStringifiedReference() { cdrBufOutput out = new cdrBufOutput(); _write(out); StringBuffer b = new StringBuffer("IOR:"); byte[] binary = out.buffer.toByteArray(); String s; for (int i = 0; i < binary.length; i++) { s = Integer.toHexString(binary [ i ] & 0xFF); if (...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/031055047d52e1cffbe5de5ce0c7da51215e931f/IOR.java/buggy/core/src/classpath/gnu/gnu/CORBA/IOR.java
return false;
return !comboBox.isEditable() && comboBox.isEnabled();
public boolean isFocusTraversable() { return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y);
iconX = getWidth() / 2 - iconWidth / 2; iconY = getHeight() / 2 - iconHeight / 2;
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
Object selected = comboBox.getModel().getSelectedItem(); if (selected == null) selected = ""; Rectangle bounds = comboBox.getBounds(); Rectangle innerArea = SwingUtilities.calculateInnerArea(this, null); Insets insets = comboBox.getInsets(); Rectangle renderArea = new Rectangle(innerArea.x, innerArea.y, innerArea.width...
iconX = x1 + (w - 1) - iconWidth; iconY = y1 + (y2 - y1) / 2 - iconHeight / 2; } comboIcon.paintIcon(this, g, iconX, iconY); if (this.hasFocus())
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
g.drawRect(innerArea.x, innerArea.y - 1, innerArea.width - 1, innerArea.height);
g.drawRect(x1 - 1, y1 - 1, w + 3, h + 1); }
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
int iconX = bounds.width - insets.right - comboIcon.getIconWidth() - 7; int iconY = insets.top + (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, iconX, iconY);
if (! iconOnly && comboBox != null) { ListCellRenderer renderer = comboBox.getRenderer(); boolean pressed = this.getModel().isPressed(); Component comp= renderer.getListCellRendererComponent(listBox, comboBox.getSelectedItem(), -1, false, false); comp.setFont(rendererPane.getFont()); if (model.isArmed() && model.isPres...
public void paintComponent(Graphics g) { super.paintComponent(g); if (iconOnly) { Rectangle bounds = getBounds(); int x = (bounds.width - comboIcon.getIconWidth()) / 2; int y = (bounds.height - comboIcon.getIconHeight()) / 2; comboIcon.paintIcon(comboBox, g, x, y); } ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
if (! this.mimeType.toLowerCase().equals(flavor.mimeType.toLowerCase()))
String primary = getPrimaryType(); if (! primary.equals(flavor.getPrimaryType())) return false; String sub = getSubType(); if (! sub.equals(flavor.getSubType()))
public boolean equals(DataFlavor flavor) { if (flavor == null) return false; if (! this.mimeType.toLowerCase().equals(flavor.mimeType.toLowerCase())) return false; if (! this.representationClass.equals(flavor.representationClass)) return false; return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
if (primary.equals("text")) if (! isRepresentationClassCharBuffer() && ! isRepresentationClassReader() && representationClass != java.lang.String.class && ! (representationClass.isArray() && representationClass.getComponentType() == Character.TYPE)) { String charset = getParameter("charset"); String otherset = flavor.g...
public boolean equals(DataFlavor flavor) { if (flavor == null) return false; if (! this.mimeType.toLowerCase().equals(flavor.mimeType.toLowerCase())) return false; if (! this.representationClass.equals(flavor.representationClass)) return false; return true; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
idx = value.indexOf(" ");
idx = value.indexOf(";");
private static String getParameter(String paramName, String mimeString) { int idx = mimeString.indexOf(paramName + "="); if (idx == -1) return(null); String value = mimeString.substring(idx + paramName.length() + 1); idx = value.indexOf(" "); if (idx == -1) return(value); else re...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
{ String classname = getParameter("class", mimeString); if (classname != null)
private static Class getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) { String classname = getParameter("class", mimeString); if (classname != null) { try { return tryToLoadClass(classna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
return tryToLoadClass(classname, classLoader);
return getRepresentationClassFromMimeThrows(mimeString, classLoader);
private static Class getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) { String classname = getParameter("class", mimeString); if (classname != null) { try { return tryToLoadClass(classna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
catch(Exception e)
catch(ClassNotFoundException cnfe)
private static Class getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) { String classname = getParameter("class", mimeString); if (classname != null) { try { return tryToLoadClass(classna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
iae.initCause(e);
iae.initCause(cnfe);
private static Class getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) { String classname = getParameter("class", mimeString); if (classname != null) { try { return tryToLoadClass(classna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
else return java.io.InputStream.class; }
private static Class getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) { String classname = getParameter("class", mimeString); if (classname != null) { try { return tryToLoadClass(classna...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
if (mimeType.equals(javaFileListFlavor.mimeType) && representationClass.equals(javaFileListFlavor.representationClass))
if (getPrimaryType().equals(javaFileListFlavor.getPrimaryType()) && getSubType().equals(javaFileListFlavor.getSubType()) && javaFileListFlavor.representationClass .isAssignableFrom(representationClass))
public boolean isFlavorJavaFileListType() { if (mimeType.equals(javaFileListFlavor.mimeType) && representationClass.equals(javaFileListFlavor.representationClass)) return true; return false ; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
return representationClass.getName().equals("java.io.InputStream");
return InputStream.class.isAssignableFrom(representationClass);
public boolean isRepresentationClassInputStream() { return representationClass.getName().equals("java.io.InputStream"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
Class[] interfaces = representationClass.getInterfaces(); int i = 0; while (i < interfaces.length) { if (interfaces[i].getName().equals("java.io.Serializable")) return true; ++i; } return false;
return Serializable.class.isAssignableFrom(representationClass);
public boolean isRepresentationClassSerializable() { Class[] interfaces = representationClass.getInterfaces(); int i = 0; while (i < interfaces.length) { if (interfaces[i].getName().equals("java.io.Serializable")) return true; ++i; } return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d9914069235ddf6c317ef746cdfbc929cbef6265/DataFlavor.java/clean/core/src/classpath/java/java/awt/datatransfer/DataFlavor.java
final TreeMap diffPackages = new TreeMap();
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map vmFiles = scanJavaFiles(vmDirs); final Map classpathFiles = scanJavaFiles(classpathDirs); final TreeSet allFiles = new TreeSet(); final TreeM...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/5ce8ad10810b252358046d8b2c9d0f01584df67f/CompareTask.java/clean/builder/src/builder/org/jnode/ant/taskdefs/classpath/CompareTask.java
public TextLayout (String string, Font font, FontRenderContext frc) { AttributedString as = new AttributedString (string); as.addAttribute (TextAttribute.FONT, font);
public TextLayout (AttributedCharacterIterator text, FontRenderContext frc) { AttributedString as = new AttributedString (text);
public TextLayout (String string, Font font, FontRenderContext frc) { AttributedString as = new AttributedString (string); as.addAttribute (TextAttribute.FONT, font); ClasspathToolkit tk = (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); peer = tk.getClasspathTextLayoutPeer(as, frc); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/65d557aae3161ec60d4823f7f7346efac0a8d663/TextLayout.java/buggy/core/src/classpath/java/java/awt/font/TextLayout.java
else { File f = new File(filechooser.getCurrentDirectory(), getFileName()); if (filechooser.isTraversable(f)) { filechooser.setCurrentDirectory(f); filechooser.rescanCurrentDirectory(); } else { filechooser.setSelectedFile(f); filechooser.approveSelection(); closeDialog(); } }
public void actionPerformed(ActionEvent e) { Object obj = null; if (parentPath != null) obj = new String(parentPath + getFileName()); else obj = filechooser.getSelectedFile(); if (obj != null) { File f = filechooser.getFileSystemView().createFileObject(obj.toStri...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java
return null;
return entry.getText();
public String getFileName() { // FIXME: I'm thinking that this method just provides access to the // text value in the JTextField component...but not sure yet return null; //filename; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2fe995482ddd93e201e63c55d9ab773c376aa6f3/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java
currentTip.setTipText(((JComponent) currentComponent).getToolTipText(event));
{ if (currentComponent == null) currentComponent = (Component) event.getSource(); String text = ((JComponent) currentComponent).getToolTipText(event); currentTip.setTipText(text); }
public void mouseMoved(MouseEvent event) { currentPoint = event.getPoint(); if (currentTip != null) currentTip.setTipText(((JComponent) currentComponent).getToolTipText(event)); if (enterTimer.isRunning()) enterTimer.restart(); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/ToolTipManager.java/buggy/core/src/classpath/javax/javax/swing/ToolTipManager.java
if (! enabled)
if (! enabled || currentComponent == null)
private void showTip() { if (! enabled) return; if (currentTip == null || currentTip.getComponent() != currentComponent && currentComponent instanceof JComponent) currentTip = ((JComponent) currentComponent).createToolTip(); Point p = currentPoint; Dimension dims = currentTip.getP...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/9e763280cf1369c9681ea91b32ae758840a76dc3/ToolTipManager.java/buggy/core/src/classpath/javax/javax/swing/ToolTipManager.java
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); focusColor = defaults.getColor(getPropertyPrefix() + "focus"); selectColor = defaults.getColor(getPropertyPrefix() + "select"); disabledTextColor = defaults.getColor(getPropertyPrefix() + "disabledText");
public MetalToggleButtonUI() { super(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); focusColor = defaults.getColor(getPropertyPrefix() + "focus"); selectColor = defaults.getColor(getPropertyPrefix() + "select"); disabledTextColor = defaults.getColor(getPropertyPrefix() + "disabledText");...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/MetalToggleButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalToggleButtonUI.java
public void installDefaults(AbstractButton b) { // FIXME: for now, this override just changes the visibility of the method // in the super-class, to satisfy japi...but there must be something else. super.installDefaults(b); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/MetalToggleButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalToggleButtonUI.java
UIDefaults defaults = UIManager.getLookAndFeelDefaults(); focusColor = defaults.getColor(getPropertyPrefix() + "focus"); selectColor = defaults.getColor(getPropertyPrefix() + "select"); disabledTextColor = defaults.getColor(getPropertyPrefix() + "disabledText");
public void installDefaults(AbstractButton b) { // FIXME: for now, this override just changes the visibility of the method // in the super-class, to satisfy japi...but there must be something else. super.installDefaults(b); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/MetalToggleButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalToggleButtonUI.java
}
protected void paintButtonPressed(Graphics g, AbstractButton b) { Color saved = g.getColor(); Rectangle bounds = SwingUtilities.getLocalBounds(b); g.setColor(selectColor); g.fillRect(bounds.x, bounds.y, bounds.width, bounds.height); g.setColor(saved); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/MetalToggleButtonUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/metal/MetalToggleButtonUI.java
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException { return null; }
public Object getTransferData (DataFlavor flavor) throws UnsupportedFlavorException, IOException { return transferable.getTransferData (flavor); }
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public DataFlavor[] getTransferDataFlavors() { return null; }
public DataFlavor[] getTransferDataFlavors () { return transferable.getTransferDataFlavors (); }
public DataFlavor[] getTransferDataFlavors() { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public boolean isDataFlavorSupported(DataFlavor flavor) { return false; }
public boolean isDataFlavorSupported (DataFlavor flavor) { return transferable.isDataFlavorSupported (flavor); }
public boolean isDataFlavorSupported(DataFlavor flavor) { // FIXME: implement this return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected void acceptDrag(int dragOperation) { }
protected void acceptDrag (int dragOperation) { }
protected void acceptDrag(int dragOperation) { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected void acceptDrop(int dropOperation) { }
protected void acceptDrop (int dropOperation) { }
protected void acceptDrop(int dropOperation) { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public void addNotify(java.awt.dnd.peer.DropTargetContextPeer dtcp) { }
public void addNotify (java.awt.dnd.peer.DropTargetContextPeer dtcp) { this.dtcp = dtcp; }
public void addNotify(java.awt.dnd.peer.DropTargetContextPeer dtcp) { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected Transferable createTransferableProxy(Transferable t, boolean local) { return null; }
protected Transferable createTransferableProxy(Transferable t, boolean local) { return new TransferableProxy (t, local); }
protected Transferable createTransferableProxy(Transferable t, boolean local) { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public void dropComplete(boolean success) { }
public void dropComplete (boolean success) { }
public void dropComplete(boolean success) { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public Component getComponent() { return null; }
public Component getComponent () { return dropTarget.getComponent (); }
public Component getComponent() { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected DataFlavor[] getCurrentDataFlavors() { return null; }
protected DataFlavor[] getCurrentDataFlavors () { return null; }
protected DataFlavor[] getCurrentDataFlavors() { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected List getCurrentDataFlavorsAsList() { return null; }
protected List getCurrentDataFlavorsAsList () { return Arrays.asList (getCurrentDataFlavors ()); }
protected List getCurrentDataFlavorsAsList() { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public DropTarget getDropTarget() { return null; }
public DropTarget getDropTarget () { return dropTarget; }
public DropTarget getDropTarget() { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected int getTargetActions() { return targetActions; }
protected int getTargetActions() { return targetActions; }
protected int getTargetActions() { return targetActions; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected Transferable getTransferable() throws InvalidDnDOperationException { return null; }
protected Transferable getTransferable() throws InvalidDnDOperationException { return null; }
protected Transferable getTransferable() throws InvalidDnDOperationException { // FIXME: implement this return null; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected boolean isDataFlavorSupported(DataFlavor flavor) { return false; }
protected boolean isDataFlavorSupported (DataFlavor flavor) { return getCurrentDataFlavorsAsList ().contains (flavor); }
protected boolean isDataFlavorSupported(DataFlavor flavor) { // FIXME: implement this return false; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected void rejectDrag() { }
protected void rejectDrag () { }
protected void rejectDrag() { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected void rejectDrop() { }
protected void rejectDrop () { }
protected void rejectDrop() { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
public void removeNotify() { }
public void removeNotify () { this.dtcp = null; }
public void removeNotify() { // FIXME: implement this }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
protected void setTargetActions(int actions) { targetActions = actions; }
protected void setTargetActions (int actions) { targetActions = actions; }
protected void setTargetActions(int actions) { targetActions = actions; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b423075a6102e6577bf2f242ea1a1cf4f2234d1c/DropTargetContext.java/buggy/core/src/classpath/java/java/awt/dnd/DropTargetContext.java
void setBoundsForFrame(JComponent frame, int x, int y, int width, int height);
void setBoundsForFrame(JComponent frame, int x, int y, int width, int height);
void setBoundsForFrame(JComponent frame, int x, int y, int width, int height);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DesktopManager.java/buggy/core/src/classpath/javax/javax/swing/DesktopManager.java
if (instance == null) instance = new MetalScrollPaneUI(); return instance;
return new MetalScrollPaneUI();
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalScrollPaneUI(); return instance; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/74171de2560e91a8fc81940ffc40e047ca41f4a0/MetalScrollPaneUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalScrollPaneUI.java
protected EditorDelegate(DefaultCellEditor editor) { }
protected EditorDelegate() { }
protected EditorDelegate(DefaultCellEditor editor) { // TODO } // EditorDelegate()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DefaultCellEditor.java/clean/core/src/classpath/javax/javax/swing/DefaultCellEditor.java
public void setValue(Object event) { }
public void setValue(Object event) { }
public void setValue(Object event) { // TODO } // setValue()
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/DefaultCellEditor.java/clean/core/src/classpath/javax/javax/swing/DefaultCellEditor.java
protected void formatInternal (double number, FormatBuffer dest,
private void formatInternal (double number, FormatBuffer dest,
protected void formatInternal (double number, FormatBuffer dest, FieldPosition fieldPos) { // A very special case. if (Double.isNaN(number)) { dest.append(symbols.getNaN()); if (fieldPos != null && (fieldPos.getField() == INTEGER_FIELD || fieldPos.getFieldAttribute() == NumberFormat.Field.IN...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/099941e739b24ffc71faddc589f984d1cda55549/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
ch = channel;
valid = true;
public FileLockImpl (FileChannelImpl channel, long position, long size, boolean shared) { super (channel, position, size, shared); ch = channel; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ebc5ff4942beb7f0eda4abe3e16ca60092e4db1d/FileLockImpl.java/buggy/core/src/classpath/gnu/gnu/java/nio/FileLockImpl.java
public static double getFlatnessSq(double[] coords, int offset)
public static double getFlatnessSq(double x1, double y1, double cx, double cy, double x2, double y2)
public static double getFlatnessSq(double[] coords, int offset) { return Line2D.ptSegDistSq(coords[offset], coords[offset + 1], coords[offset + 4], coords[offset + 5], coords[offset + 2], coords[offset + 3]); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20002e10b15f0b6d4dcc01a9b59f8f854f0731b1/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java
return Line2D.ptSegDistSq(coords[offset], coords[offset + 1], coords[offset + 4], coords[offset + 5], coords[offset + 2], coords[offset + 3]);
return Line2D.ptSegDistSq(x1, y1, x2, y2, cx, cy);
public static double getFlatnessSq(double[] coords, int offset) { return Line2D.ptSegDistSq(coords[offset], coords[offset + 1], coords[offset + 4], coords[offset + 5], coords[offset + 2], coords[offset + 3]); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20002e10b15f0b6d4dcc01a9b59f8f854f0731b1/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java
public static void subdivide(double[] src, int srcOff, double[] left, int leftOff, double[] right, int rightOff)
public void subdivide(QuadCurve2D left, QuadCurve2D right)
public static void subdivide(double[] src, int srcOff, double[] left, int leftOff, double[] right, int rightOff) { double x1; double y1; double xc; double yc; double x2; double y2; x1 = src[srcOff]; y1 = src[srcOff + 1]; xc = src[srcOff + 2]; yc = src[srcOf...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20002e10b15f0b6d4dcc01a9b59f8f854f0731b1/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java
double x1; double y1; double xc; double yc; double x2; double y2; x1 = src[srcOff]; y1 = src[srcOff + 1]; xc = src[srcOff + 2]; yc = src[srcOff + 3]; x2 = src[srcOff + 4]; y2 = src[srcOff + 5];
double[] d = new double[] { getX1(), getY1(), getCtrlX(), getCtrlY(), getX2(), getY2(), 0, 0, 0, 0 }; subdivide(d, 0, d, 0, d, 4);
public static void subdivide(double[] src, int srcOff, double[] left, int leftOff, double[] right, int rightOff) { double x1; double y1; double xc; double yc; double x2; double y2; x1 = src[srcOff]; y1 = src[srcOff + 1]; xc = src[srcOff + 2]; yc = src[srcOf...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20002e10b15f0b6d4dcc01a9b59f8f854f0731b1/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java
{ left[leftOff] = x1; left[leftOff + 1] = y1; }
left.setCurve(d, 0);
public static void subdivide(double[] src, int srcOff, double[] left, int leftOff, double[] right, int rightOff) { double x1; double y1; double xc; double yc; double x2; double y2; x1 = src[srcOff]; y1 = src[srcOff + 1]; xc = src[srcOff + 2]; yc = src[srcOf...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20002e10b15f0b6d4dcc01a9b59f8f854f0731b1/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java
{ right[rightOff + 4] = x2; right[rightOff + 5] = y2; } x1 = (x1 + xc) / 2; x2 = (xc + x2) / 2; xc = (x1 + x2) / 2; y1 = (y1 + yc) / 2; y2 = (y2 + yc) / 2; yc = (y1 + y2) / 2; if (left != null) { left[leftOff + 2] = x1; left[leftOff + 3] = y1; left[leftOff + 4] = xc; left[leftOff + 5] = yc; } if (right != null) { ri...
right.setCurve(d, 4);
public static void subdivide(double[] src, int srcOff, double[] left, int leftOff, double[] right, int rightOff) { double x1; double y1; double xc; double yc; double x2; double y2; x1 = src[srcOff]; y1 = src[srcOff + 1]; xc = src[srcOff + 2]; yc = src[srcOf...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/20002e10b15f0b6d4dcc01a9b59f8f854f0731b1/QuadCurve2D.java/clean/core/src/classpath/java/java/awt/geom/QuadCurve2D.java
public static double ptSegDist(double x1, double y1, double x2, double y2, double px, double py) {
public static double ptSegDist(double x1, double y1, double x2, double y2, double px, double py) {
public static double ptSegDist(double x1, double y1, double x2, double y2, double px, double py) { return Math.sqrt(ptSegDistSq(x1, y1, x2, y2, px, py)); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ac6303b96cdaf2d4230daf25a90dd00cc4cb192d/Line2D.java/buggy/core/src/classpath/java/java/awt/geom/Line2D.java
System.out.println("Req. freq=" + freq);
public final void calcForConfiguration(FBInfo fbinfo, int freq, PLLInfo info) { final FPIBlock fpi = fbinfo.getFpi(); if ((fpi != null) && fpi.useBiosDividers() && false) { this.ppll_ref_div = fpi.getBiosRefDivider(); this.ppll_div_3 = (fpi.getBiosFeedbackDivider() | (fpi.getBiosPostDivider() << 16)); this.hto...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d5c7e362050b699d43eb4aaacfb042cb5a39e2bc/PllRegs.java/clean/gui/src/driver/org/jnode/driver/video/ati/radeon/PllRegs.java
System.out.println("Act. freq=" + freq);
public final void calcForConfiguration(FBInfo fbinfo, int freq, PLLInfo info) { final FPIBlock fpi = fbinfo.getFpi(); if ((fpi != null) && fpi.useBiosDividers() && false) { this.ppll_ref_div = fpi.getBiosRefDivider(); this.ppll_div_3 = (fpi.getBiosFeedbackDivider() | (fpi.getBiosPostDivider() << 16)); this.hto...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d5c7e362050b699d43eb4aaacfb042cb5a39e2bc/PllRegs.java/clean/gui/src/driver/org/jnode/driver/video/ati/radeon/PllRegs.java
System.out.println("bitvalue=" + bitvalue + ", post_div=" + pll_output_freq);
public final void calcForConfiguration(FBInfo fbinfo, int freq, PLLInfo info) { final FPIBlock fpi = fbinfo.getFpi(); if ((fpi != null) && fpi.useBiosDividers() && false) { this.ppll_ref_div = fpi.getBiosRefDivider(); this.ppll_div_3 = (fpi.getBiosFeedbackDivider() | (fpi.getBiosPostDivider() << 16)); this.hto...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/d5c7e362050b699d43eb4aaacfb042cb5a39e2bc/PllRegs.java/clean/gui/src/driver/org/jnode/driver/video/ati/radeon/PllRegs.java