rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); | public RE(Object pattern) throws REException { this(pattern,0,RESyntax.RE_SYNTAX_PERL5,0,0); | public RE(Object pattern, int cflags, RESyntax syntax) throws REException { this(pattern,cflags,syntax,0,0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/01db1a0d9fd6e0f94d31c54712f8818b6a6a708e/RE.java/buggy/core/src/classpath/gnu/gnu/regexp/RE.java |
protected byte[] getSelfSignedCertificate(X500DistinguishedName distinguishedName, PublicKey publicKey, PrivateKey privateKey) throws IOException, SignatureException, InvalidKeyException { log.entering(this.getClass().getNa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | ||
if (Configuration.DEBUG) | protected byte[] getSelfSignedCertificate(X500DistinguishedName distinguishedName, PublicKey publicKey, PrivateKey privateKey) throws IOException, SignatureException, InvalidKeyException { log.entering(this.getClass().getNa... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
String[] processArgs(String[] args) { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ Parser cmdOptionsParser = getParser(); String[] result = cmdOptionsParser.parse(args); log.exiting(this.getClass().getName(), "processArgs", result); //$NON-NLS-1$ return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | ||
if (Configuration.DEBUG) | String[] processArgs(String[] args) { log.entering(this.getClass().getName(), "processArgs", args); //$NON-NLS-1$ Parser cmdOptionsParser = getParser(); String[] result = cmdOptionsParser.parse(args); log.exiting(this.getClass().getName(), "processArgs", result); //$NON-NLS-1$ return result; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
protected void setKeystorePasswordParam(String password) throws IOException, | private void setKeystorePasswordParam(String password) throws IOException, | protected void setKeystorePasswordParam(String password) throws IOException, UnsupportedCallbackException { if (password != null) storePasswordChars = password.toCharArray(); else // ask the user to provide one { String prompt = Messages.getString("Command.24"); //$NON-NLS-1$ Passw... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
protected void setKeystoreTypeParam(String type) | private void setKeystoreTypeParam(String type) | protected void setKeystoreTypeParam(String type) { log.finest("setKeystoreTypeParam(" + type + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (type == null || type.trim().length() == 0) storeType = KeyStore.getDefaultType(); else storeType = type.trim(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
log.finest("setKeystoreTypeParam(" + type + ")"); | if (Configuration.DEBUG) log.fine("setKeystoreTypeParam(" + type + ")"); | protected void setKeystoreTypeParam(String type) { log.finest("setKeystoreTypeParam(" + type + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (type == null || type.trim().length() == 0) storeType = KeyStore.getDefaultType(); else storeType = type.trim(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
protected void setKeystoreURLParam(String url) throws IOException, | private void setKeystoreURLParam(boolean createIfNotFound, String url, String password) throws IOException, | protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
log.finest("setKeystoreURLParam(" + url + ")"); | if (Configuration.DEBUG) log.fine("setKeystoreURLParam(" + url + ")"); | protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
if (createIfNotFound) | protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
} | protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
if (Configuration.DEBUG) | protected void setKeystoreURLParam(String url) throws IOException, KeyStoreException, UnsupportedCallbackException, NoSuchAlgorithmException, CertificateException { log.finest("setKeystoreURLParam(" + url + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (url == null || url.trim().length() == 0) { S... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
protected void setProviderClassNameParam(String className) | private void setProviderClassNameParam(String className) | protected void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(cla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
log.finest("setProviderClassNameParam(" + className + ")"); | if (Configuration.DEBUG) log.fine("setProviderClassNameParam(" + className + ")"); | protected void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(cla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java |
} | protected void setProviderClassNameParam(String className) { log.finest("setProviderClassNameParam(" + className + ")"); //$NON-NLS-1$ //$NON-NLS-2$ if (className != null && className.trim().length() > 0) { className = className.trim(); SecurityProviderInfo spi = ProviderUtil.addProvider(cla... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
void teardown() { log.entering(this.getClass().getName(), "teardown"); //$NON-NLS-1$ if (storeStream != null) try { storeStream.close(); } catch (IOException ignored) { log.fine("Exception while closing key store URL stream. Ignored: " //$NON-NLS-1$ ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | ||
if (Configuration.DEBUG) | void teardown() { log.entering(this.getClass().getName(), "teardown"); //$NON-NLS-1$ if (storeStream != null) try { storeStream.close(); } catch (IOException ignored) { log.fine("Exception while closing key store URL stream. Ignored: " //$NON-NLS-1$ ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Command.java/clean/core/src/classpath/tools/gnu/classpath/tools/keytool/Command.java | |
SecurityManager sm = securityManager; | SecurityManager sm = SecurityManager.current; | public void addShutdownHook(Thread hook) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); if (hook.isAlive() || hook.getThreadGroup() == null) throw new IllegalArgumentException("The hook thread " + hook + " must... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/Runtime.java/buggy/core/src/classpath/java/java/lang/Runtime.java |
} | public void addShutdownHook(Thread hook) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); if (hook.isAlive() || hook.getThreadGroup() == null) throw new IllegalArgumentException("The hook thread " + hook + " must... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/Runtime.java/buggy/core/src/classpath/java/java/lang/Runtime.java | |
SecurityManager sm = securityManager; | SecurityManager sm = SecurityManager.current; | public boolean removeShutdownHook(Thread hook) { SecurityManager sm = securityManager; // Be thread-safe! if (sm != null) sm.checkPermission(new RuntimePermission("shutdownHooks")); synchronized (libpath) { if (exitSequence != null) throw new IllegalStateException(); if (shu... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/206de32e8ebd7bc5080236c5c9ea198dd5243913/Runtime.java/buggy/core/src/classpath/java/java/lang/Runtime.java |
public String[] parse(String[] inArgs) | public synchronized void parse(String[] inArgs, FileArgumentCallback files) | public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Parser.java/buggy/core/src/classpath/tools/gnu/classpath/tools/getopt/Parser.java |
final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) | try | public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Parser.java/buggy/core/src/classpath/tools/gnu/classpath/tools/getopt/Parser.java |
fileResult.add(fileArgument); | args = inArgs; for (currentIndex = 0; currentIndex < args.length; ++currentIndex) { if (args[currentIndex].length() == 0 || args[currentIndex].charAt(0) != '-' || "-".equals(args[currentIndex])) { files.notifyFile(args[currentIndex]); continue; } if ("--".equals(args[currentIndex])) break; if (args[currentIndex].charAt... | public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Parser.java/buggy/core/src/classpath/tools/gnu/classpath/tools/getopt/Parser.java |
}); return (String[]) fileResult.toArray(new String[0]); | catch (OptionException err) { System.err.println(programName + ": " + err.getMessage()); String fmt; if (longOnly) fmt = Messages.getString("Parser.TryHelpShort"); else fmt = Messages.getString("Parser.TryHelpLong"); String msg = MessageFormat.format(fmt, new Object[] { programName }); System.err.println(programName + ... | public String[] parse(String[] inArgs) { final ArrayList fileResult = new ArrayList(); parse(inArgs, new FileArgumentCallback() { public void notifyFile(String fileArgument) { fileResult.add(fileArgument); } }); return (String[]) fileResult.toArray(new String[0]); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e10879cd4d1df8b463898498b99e01d9ae63f24/Parser.java/buggy/core/src/classpath/tools/gnu/classpath/tools/getopt/Parser.java |
public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d) | public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d) | public GnuRSAPrivateKey(BigInteger p, BigInteger q, BigInteger e, BigInteger d) { this(Registry.RAW_ENCODING_ID, p, q, e, d); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
{ | public boolean equals(final Object obj) { if (obj == null) { return false; } if (obj instanceof RSAPrivateKey) { final RSAPrivateKey that = (RSAPrivateKey) obj; return super.equals(that) && d.equals(that.getPrivateExponent()); } if (obj instanceof RSAPrivateCrtKey) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java | |
} | public boolean equals(final Object obj) { if (obj == null) { return false; } if (obj instanceof RSAPrivateKey) { final RSAPrivateKey that = (RSAPrivateKey) obj; return super.equals(that) && d.equals(that.getPrivateExponent()); } if (obj instanceof RSAPrivateCrtKey) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java | |
String ls = SystemProperties.getProperty("line.separator"); | String ls = (String) AccessController.doPrivileged (new GetPropertyAction("line.separator")); | public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("d=0x").append(DEBUG ? d.toString(16) : "**...*... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
.append("d=0x").append(DEBUG ? d.toString(16) : "**...*").append(ls) .append("p=0x").append(DEBUG ? p.toString(16) : "**...*").append(ls) .append("q=0x").append(DEBUG ? q.toString(16) : "**...*").append(ls) .append("dP=0x").append(DEBUG ? dP.toString(16) : "**...*").append(ls) .append("dQ=0x").append(DEBUG ? dQ.toStrin... | .append("d=0x").append(Configuration.DEBUG ? d.toString(16) : "**...*").append(ls) .append("p=0x").append(Configuration.DEBUG ? p.toString(16) : "**...*").append(ls) .append("q=0x").append(Configuration.DEBUG ? q.toString(16) : "**...*").append(ls) .append("dP=0x").append(Configuration.DEBUG ? dP.toString(16) : "**...*... | public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("d=0x").append(DEBUG ? d.toString(16) : "**...*... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java |
public static GnuRSAPrivateKey valueOf(final byte[] k) { // try RAW codec if (k[0] == Registry.MAGIC_RAW_RSA_PRIVATE_KEY[0]) try { return (GnuRSAPrivateKey) new RSAKeyPairRawCodec().decodePrivateKey(k); } catch (IllegalArgumentException ignored) { } // try PKCS#8 codec... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/b3a024d60c5143b61f97b230d24e7ea41f17a0fd/GnuRSAPrivateKey.java/clean/core/src/classpath/gnu/gnu/java/security/key/rsa/GnuRSAPrivateKey.java | ||
public final Class getCategory() | public Class getCategory() | public final Class getCategory() { return PagesPerMinute.class; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/PagesPerMinute.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/PagesPerMinute.java |
public final String getName() | public String getName() | public final String getName() { return "pages-per-minute"; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/affa0d2d6f465179c4324a2357a64c93083d6c43/PagesPerMinute.java/buggy/core/src/classpath/javax/javax/print/attribute/standard/PagesPerMinute.java |
public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { // Just return when no text to insert was given. if (text == null || text.length() == 0) return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), Doc... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/e8a49a412752cdcc88a774cac2de160a23c6f550/AbstractDocument.java/clean/core/src/classpath/javax/javax/swing/text/AbstractDocument.java | ||
if (isSelected) { checkBox.setBackground(table.getSelectionBackground()); checkBox.setForeground(table.getSelectionForeground()); } else { checkBox.setBackground(table.getBackground()); checkBox.setForeground(table.getForeground()); } if (hasFocus) { checkBox.setBorder( UIManager.getBorder("Table.focusCellHighlightBor... | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { // Null is rendered as... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
setBorder(null); | setBorder(BorderFactory.createLineBorder(getGridColor(), 2)); | TableTextField() { setBorder(null); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java |
r.translate(getX(), getY()); super.scrollRectToVisible(r); | public void scrollRectToVisible(Rectangle r) { // In private class we known that the rectangle data will not be // reused and we need not to clone it. r.translate(getX(), getY()); super.scrollRectToVisible(r); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
int xOffset = 5; r.x+=xOffset; r.y++; r.width -=xOffset; r.height --; | private void moveToCellBeingEdited(Component component) { Rectangle r = getCellRect(editingRow, editingColumn, true); // Place the text field so that it would not touch the table // border. // TODO Figure out while 5 and which constant should here be. int xOffset = 5; r.x+=xOffset; r... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
revalidate(); repaint(); | public void updateUI() { setUI((TableUI) UIManager.getUI(this)); revalidate(); repaint(); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/7cc107e01ff95c250142dda3e246542e1b0c0794/JTable.java/buggy/core/src/classpath/javax/javax/swing/JTable.java | |
super(kind, reg, local); this.value = value; } | super(kind, reg, local); this.value = value; } | private IntItem(int kind, Register reg, int value, int local) { super(kind, reg, local); this.value = value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
return new IntItem(Kind.CONSTANT, null, value, 0); } | return new IntItem(Kind.CONSTANT, null, value, 0); } | static IntItem createConst(int value) { return new IntItem(Kind.CONSTANT, null, value, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
return new IntItem(Kind.FPUSTACK, null, 0, 0); } | return new IntItem(Kind.FPUSTACK, null, 0, 0); } | static IntItem createFPUStack() { return new IntItem(Kind.FPUSTACK, null, 0, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
return new IntItem(Kind.LOCAL, null, 0, offsetToFP); } | return new IntItem(Kind.LOCAL, null, 0, offsetToFP); } | static IntItem createLocal(int offsetToFP) { return new IntItem(Kind.LOCAL, null, 0, offsetToFP); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
return new IntItem(Kind.REGISTER, reg, 0, 0); } | return new IntItem(Kind.REGISTER, reg, 0, 0); } | static IntItem createReg(Register reg) { return new IntItem(Kind.REGISTER, reg, 0, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
return new IntItem(Kind.STACK, null, 0, 0); } | return new IntItem(Kind.STACK, null, 0, 0); } | static IntItem createStack() { return new IntItem(Kind.STACK, null, 0, 0); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
return JvmType.INT; } | return JvmType.INT; } | int getType() { return JvmType.INT; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return value; } | assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return value; } | int getValue() { assertCondition(kind == Kind.CONSTANT, "kind == Kind.CONSTANT"); return value; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
Register reg) { if (value != 0) { os.writeMOV_Const(reg, value); } else { os.writeXOR(reg, reg); } } | Register reg) { if (value != 0) { os.writeMOV_Const(reg, value); } else { os.writeXOR(reg, reg); } } | protected void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register reg) { if (value != 0) { os.writeMOV_Const(reg, value); } else { os.writeXOR(reg, reg); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
os.writeFISTP32(reg, disp); } | os.writeFISTP32(reg, disp); } | protected void popFromFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFISTP32(reg, disp); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
os.writePUSH(value); } | os.writePUSH(value); } | protected void pushConstant(EmitterContext ec, AbstractX86Stream os) { os.writePUSH(value); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
os.writeFILD32(reg, disp); } | os.writeFILD32(reg, disp); } | protected void pushToFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFILD32(reg, disp); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/IntItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/IntItem.java |
super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); } | super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); } | protected WordItem(int kind, Register reg, int local) { super(kind, local); this.reg = reg; assertCondition((kind != Kind.REGISTER) || (reg != null), "kind == register implies that reg != null"); } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/WordItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/WordItem.java |
AbstractX86Stream os, Register reg); | AbstractX86Stream os, Register reg); | protected abstract void loadToConstant(EmitterContext ec, AbstractX86Stream os, Register reg); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/WordItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/WordItem.java |
protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp); | protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp); | protected abstract void popFromFPU(AbstractX86Stream os, Register reg, int disp); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/WordItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/WordItem.java |
protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp); | protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp); | protected abstract void pushToFPU(AbstractX86Stream os, Register reg, int disp); | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/55b12818040bb69b51502c4cd0f42118d2046977/WordItem.java/buggy/core/src/core/org/jnode/vm/x86/compiler/l1a/WordItem.java |
applet = new ErrorApplet("Error loading applet"); | applet = new ErrorApplet(Messages.getString ("Main.ErrorApplet")); | static Applet createApplet(AppletTag tag) { Applet applet = null; try { ClassLoader loader = getClassLoader(tag.prependCodeBase(""), tag.getArchives()); String code = tag.getCode(); if (code.endsWith(".class")) code = code.substring(... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); | parser.setHeader(Messages.getString("Main.Usage")); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
OptionGroup attributeGroup = new OptionGroup("Applet tag options"); | OptionGroup attributeGroup = new OptionGroup(Messages.getString("Main.AppletTagOptions")); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
attributeGroup.add(new Option("code", Main.messages.getString ("gcjwebplugin.code_description"), "CODE") | attributeGroup.add(new Option("code", Messages.getString("Main.CodeDescription"), Messages.getString("Main.CodeArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
attributeGroup.add(new Option("codebase", Main.messages.getString ("gcjwebplugin.codebase_description"), "CODEBASE") | attributeGroup.add (new Option("codebase", Messages.getString("Main.CodebaseDescription"), Messages.getString("Main.CodebaseArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
attributeGroup.add(new Option("archive", Main.messages.getString ("gcjwebplugin.archive_description"), "ARCHIVE") | attributeGroup.add (new Option("archive", Messages.getString("Main.ArchiveDescription"), Messages.getString("Main.ArchiveArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
attributeGroup.add(new Option("width", Main.messages.getString ("gcjwebplugin.width_description"), "WIDTH") | attributeGroup.add(new Option("width", Messages.getString("Main.WidthDescription"), Messages.getString("Main.WidthArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
attributeGroup.add(new Option("height", Main.messages.getString ("gcjwebplugin.height_description"), "HEIGHT") | attributeGroup.add(new Option("height", Messages.getString("Main.HeightDescription"), Messages.getString("Main.HeightArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
attributeGroup.add(new Option("param", Main.messages.getString ("gcjwebplugin.param_description"), "NAME,VALUE") | attributeGroup.add(new Option("param", Messages.getString("Main.ParamDescription"), Messages.getString("Main.ParamArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
OptionGroup pluginGroup = new OptionGroup("Plugin option"); pluginGroup.add(new Option("plugin", Main.messages.getString ("gcjwebplugin.plugin_description"), "INPUT,OUTPUT") | OptionGroup pluginGroup = new OptionGroup(Messages.getString("Main.PluginOption")); pluginGroup.add(new Option("plugin", Messages.getString("Main.PluginDescription"), Messages.getString("Main.PluginArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
OptionGroup debuggingGroup = new OptionGroup("Debugging option"); debuggingGroup.add(new Option("verbose", Main.messages.getString ("gcjwebplugin.verbose_description"), | OptionGroup debuggingGroup = new OptionGroup(Messages.getString("Main.DebuggingOption")); debuggingGroup.add (new Option("verbose", Messages.getString("Main.VerboseDescription"), | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
OptionGroup compatibilityGroup = new OptionGroup("Compatibility options"); compatibilityGroup.add(new Option("debug", Main.messages.getString ("gcjwebplugin.debug_description"), | OptionGroup compatibilityGroup = new OptionGroup(Messages.getString("Main.CompatibilityOptions")); compatibilityGroup.add (new Option("debug", Messages.getString("Main.DebugDescription"), | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
compatibilityGroup.add(new Option("encoding", Main.messages.getString ("gcjwebplugin.encoding_description"), "CHARSET") | compatibilityGroup.add (new Option("encoding", Messages.getString("Main.EncodingDescription"), Messages.getString("Main.EncodingArgument")) | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
System.err.println("WARNING: CURRENTLY GAPPLETVIEWER RUNS WITH NO SECURITY MANAGER.\n\n" + "THIS MEANS THAT APPLETS YOU LOAD CAN DO ANYTHING A JAVA APPLICATION\n" + "THAT YOU DOWNLOAD AND RUN CAN DO. BE *VERY* CAREFUL WHICH APPLETS YOU RUN.\n" + "DO NOT USE GAPPLETVIEWER ON YOUR SYSTEM IF YOUR SYSTEM STORES IMPORTANT ... | /* @jnode disable security warning System.err.println(Messages.getString("Main.SecurityWarning") + "\n"); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
System.err.println("[press 'c' or 'C' to continue or anything else to quit]"); | System.err.println(Messages.getString("Main.ContinuationPrompt")); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); | BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
System.err.println("failed to read response to warning message: " + e); System.exit(1); | throw new RuntimeException("Failed to read response" + " to continuation prompt.", e); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
System.err.println(Main.messages.getString("gcjwebplugin.no_input_files")); | System.err.println(Messages.getString("Main.NoInputFiles")); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
new StandaloneAppletViewer(code, codebase, archive, parameters, dimensions); | new StandaloneAppletViewer(code, codebase, archive, parameters, dimensions); | public static void main(String[] args) throws IOException { parser = new ClasspathToolParser("appletviewer", true); parser.setHeader("usage: appletviewer [OPTION] -code CODE | URL..."); OptionGroup attributeGroup = new OptionGroup("Applet tag options"); attributeGroup.add(new Option("code", Main.messages... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
System.out.println("raw arguments:"); | System.out.println(Messages.getString("Main.RawArguments")); | static void printArguments(String[] args) { if (verbose) { System.out.println("raw arguments:"); for (int i = 0; i < args.length; i++) System.out.println(" " + args[i]); } } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/4c8433cfced7bf4547e39d39cd3393319aad49f0/Main.java/clean/core/src/classpath/tools/gnu/classpath/tools/appletviewer/Main.java |
Dimension gap = getIntercellSpacing(); int height = getRowHeight() + (gap == null ? 0 : gap.height); | int height = getRowHeight(); | public int rowAtPoint(Point point) { if (point != null) { int y0 = getLocation().y; int nrows = getRowCount(); Dimension gap = getIntercellSpacing(); int height = getRowHeight() + (gap == null ? 0 : gap.height); int y = point.y; for (int i = 0; i < nrows; ++i) ... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/JTable.java/clean/core/src/classpath/javax/javax/swing/JTable.java |
firePropertyChange("model", oldModel, dataModel); | public void setModel(TableModel m) { // Throw exception is m is null. if (m == null) throw new IllegalArgumentException(); // Don't do anything if setting the current model again. if (dataModel == m) return; // Remove table as TableModelListener from old model. if (dataModel != nul... | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8397a50584c8229313d0dcf97d7921aebd302659/JTable.java/clean/core/src/classpath/javax/javax/swing/JTable.java | |
if (instance == null) | if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalInternalFrameUI instance; if (o == null) { | public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalInternalFrameUI((JInternalFrame) component); return instance; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e60a457237548cb2220b3d83b95ea32b1605264/MetalInternalFrameUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalInternalFrameUI.java |
instances.put(component, instance); } else instance = (MetalInternalFrameUI) o; | public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalInternalFrameUI((JInternalFrame) component); return instance; } | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/6e60a457237548cb2220b3d83b95ea32b1605264/MetalInternalFrameUI.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalInternalFrameUI.java | |
protected AccessibleJDesktopPane(JDesktopPane component) { super(component); } | protected AccessibleJDesktopPane() { } | protected AccessibleJDesktopPane(JDesktopPane component) { super(component); // TODO } // AccessibleJDesktopPane() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public AccessibleRole getAccessibleRole() { return AccessibleRole.DESKTOP_PANE; } | public AccessibleRole getAccessibleRole() { return AccessibleRole.DESKTOP_PANE; } | public AccessibleRole getAccessibleRole() { return AccessibleRole.DESKTOP_PANE; } // getAccessibleRole() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJDesktopPane(this); } return accessibleContext; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) accessibleContext = new AccessibleJDesktopPane(); return accessibleContext; } | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJDesktopPane(this); } // if return accessibleContext; } // getAccessibleContext() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public JInternalFrame[] getAllFrames() { return null; } | public JInternalFrame[] getAllFrames() { return getFramesFromComponents(getComponents()); } | public JInternalFrame[] getAllFrames() { return null; // TODO } // getAllFrames() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public JInternalFrame[] getAllFramesInLayer(int layer) { return null; } | public JInternalFrame[] getAllFramesInLayer(int layer) { return getFramesFromComponents(getComponentsInLayer(layer)); } | public JInternalFrame[] getAllFramesInLayer(int layer) { return null; // TODO } // getAllFramesInLayer() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public int getDragMode() { | public int getDragMode() { | public int getDragMode() { return dragMode; } // getDragMode() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
} | } | public int getDragMode() { return dragMode; } // getDragMode() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public JInternalFrame getSelectedFrame() { return null; } | public JInternalFrame getSelectedFrame() { return selectedFrame; } | public JInternalFrame getSelectedFrame() { return null; // TODO } // getSelectedFrame() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public DesktopPaneUI getUI() { | public DesktopPaneUI getUI() { | public DesktopPaneUI getUI() { return (DesktopPaneUI) ui; } // getUI() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
} | } | public DesktopPaneUI getUI() { return (DesktopPaneUI) ui; } // getUI() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public String getUIClassID() { return uiClassID; } | public String getUIClassID() { return "DesktopPaneUI"; } | public String getUIClassID() { return uiClassID; } // getUIClassID() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public boolean isOpaque() { | public boolean isOpaque() { | public boolean isOpaque() { return true; } // isOpaque() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
} | } | public boolean isOpaque() { return true; } // isOpaque() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
protected String paramString() { return null; } | protected String paramString() { return "JDesktopPane"; } | protected String paramString() { return null; // TODO } // paramString() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public void setDesktopManager(DesktopManager manager) { this.desktopManager = manager; } | public void setDesktopManager(DesktopManager manager) { desktopManager = manager; } | public void setDesktopManager(DesktopManager manager) { this.desktopManager = manager; // TODO } // setDesktopManager() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public void setDragMode(int mode) { this.dragMode = mode; } | public void setDragMode(int mode) { if ((mode != LIVE_DRAG_MODE) && (mode != OUTLINE_DRAG_MODE)) throw new IllegalArgumentException("Drag mode not valid."); if (mode == OUTLINE_DRAG_MODE) throw new IllegalArgumentException("Outline drag modes are unsupported."); dragMode = mode; } | public void setDragMode(int mode) { this.dragMode = mode; // TODO } // setDragMode() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public void setUI(DesktopPaneUI ui) { | public void setUI(DesktopPaneUI ui) { | public void setUI(DesktopPaneUI ui) { super.setUI(ui); } // setUI() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
} | } | public void setUI(DesktopPaneUI ui) { super.setUI(ui); } // setUI() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public void updateUI() { setUI((DesktopPaneUI) UIManager.get(this)); | public void updateUI() { setUI((DesktopPaneUI) UIManager.getUI(this)); | public void updateUI() { setUI((DesktopPaneUI) UIManager.get(this)); invalidate(); } // updateUI() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
} | } | public void updateUI() { setUI((DesktopPaneUI) UIManager.get(this)); invalidate(); } // updateUI() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2d7debfa0b9e176eb89b1dd2089f53cb5079cc16/JDesktopPane.java/buggy/core/src/classpath/javax/javax/swing/JDesktopPane.java |
public CompoundEdit() { } | public CompoundEdit() { edits = new Vector(); inProgress = true; } | public CompoundEdit() { } // CompoundEdit() | 1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/8f03053e30bf23122f89e48e88064677b27fdd7c/CompoundEdit.java/clean/core/src/classpath/javax/javax/swing/undo/CompoundEdit.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.