rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
meta
stringlengths
141
403
public int hashCode() { int hash = (negativeSuffix.hashCode() ^ negativePrefix.hashCode() ^ positivePrefix.hashCode() ^ positiveSuffix.hashCode());
public int hashCode () { int hash = (negativeSuffix.hashCode() ^ negativePrefix.hashCode() ^positivePrefix.hashCode() ^ positiveSuffix.hashCode());
public int hashCode() { int hash = (negativeSuffix.hashCode() ^ negativePrefix.hashCode() ^ positivePrefix.hashCode() ^ positiveSuffix.hashCode()); // FIXME. return hash; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public boolean isDecimalSeparatorAlwaysShown() {
public boolean isDecimalSeparatorAlwaysShown () {
public boolean isDecimalSeparatorAlwaysShown() { return decimalSeparatorAlwaysShown; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public Number parse(String str, ParsePosition pos) {
public Number parse (String str, ParsePosition pos) { /* * Our strategy is simple: copy the text into separate buffers: one for the int part, * one for the fraction part and for the exponential part. * We translate or omit locale-specific information. * If exponential is sufficiently big we merge the fraction and int p...
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
StringBuffer buf = new StringBuffer();
StringBuffer int_buf = new StringBuffer ();
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
String np = (negativePrefix != null ? negativePrefix : positivePrefix + symbols.getMinusSign());
String np = (negativePrefix != null ? negativePrefix : positivePrefix + symbols.getMinusSign());
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (got_pos && got_neg) {
if (got_pos && got_neg) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (np.length() > positivePrefix.length()) {
if (np.length() > positivePrefix.length()) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else
} else
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (got_neg) {
} else if (got_neg) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (got_pos)
} else if (got_pos)
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
else { pos.setErrorIndex(index);
else { pos.setErrorIndex (index);
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
StringBuffer buf = int_buf; StringBuffer frac_buf = null; StringBuffer exp_buf = null;
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
for (; index < max; ++index) {
for (; index < max; ++index) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (groupingUsed && c == symbols.getGroupingSeparator()) { if (last_group != -1 && (index - last_group) % groupingSize != 0) {
if (groupingUsed && c == symbols.getGroupingSeparator()) { if (last_group != -1 && groupingSize != 0 && (index - last_group) % groupingSize != 0) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
last_group = index; } else if (c >= zero && c <= zero + 9) {
last_group = index+1; } else if (c >= zero && c <= zero + 9) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
exp_part = false; } else if (parseIntegerOnly)
} else if (parseIntegerOnly)
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
else if (c == symbols.getDecimalSeparator()) { if (last_group != -1 && (index - last_group) % groupingSize != 0) {
else if (c == symbols.getDecimalSeparator()) { if (last_group != -1 && groupingSize != 0 && (index - last_group) % groupingSize != 0) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
buf.append('.');
buf = frac_buf = new StringBuffer(); frac_buf.append('.');
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (c == symbols.getExponential()) { buf.append('E');
} else if (c == symbols.getExponential()) { buf = exp_buf = new StringBuffer();
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (exp_part && (c == '+' || c == '-' || c == symbols.getMinusSign())) {
exp_index = index+1; } else if (exp_part && (c == '+' || c == '-' || c == symbols.getMinusSign())) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else
} else
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (index == start_index) {
if (index == start_index) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (is_neg) { if (!got_neg_suf) {
if (is_neg) { if (! got_neg_suf) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (got_pos && got_neg && got_neg_suf) {
} else if (got_pos && got_neg && got_neg_suf) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (got_pos != got_pos_suf && got_neg != got_neg_suf) {
} else if (got_pos != got_pos_suf && got_neg != got_neg_suf) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
buf.insert(0, '-'); String t = buf.toString();
int_buf.insert(0, '-'); if (exp_buf != null) { int exponent_value; try { exponent_value = Integer.parseInt(exp_buf.toString()); } catch (NumberFormatException x1) { pos.setErrorIndex(exp_index); return null; } if (frac_buf == null) { for (int i = 0; i < exponent_value; i++) int_buf.append('0'); use_long = true; ...
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
try { result = new Long(t); } catch (NumberFormatException x1) { try { result = new Double(t); } catch (NumberFormatException x2) {
if (use_long) { try { result = new Long (t); } catch (NumberFormatException x1) { } } else { try { result = new Double (t);
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} if (result == null) {
catch (NumberFormatException x2) { } } if (result == null) {
public Number parse(String str, ParsePosition pos) { // Our strategy is simple: copy the text into a buffer, // translating or omitting locale-specific information. Then // let Double or Long convert the number for us. boolean is_neg = false; int index = pos.getIndex(); StringBuffer buf = new StringBuffer(); /...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final String patternChars(DecimalFormatSymbols syms) { StringBuffer buf = new StringBuffer();
private final String patternChars (DecimalFormatSymbols syms) { StringBuffer buf = new StringBuffer ();
private final String patternChars(DecimalFormatSymbols syms) { StringBuffer buf = new StringBuffer(); buf.append(syms.getDecimalSeparator()); buf.append(syms.getDigit()); buf.append(syms.getExponential()); buf.append(syms.getGroupingSeparator()); // Adding this one causes pattern application to fail. // Of cour...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final void quoteFix(StringBuffer buf, String text, String patChars) {
private final void quoteFix (StringBuffer buf, String text, String patChars) {
private final void quoteFix(StringBuffer buf, String text, String patChars) { int len = text.length(); for (int index = 0; index < len; ++index) { char c = text.charAt(index); if (patChars.indexOf(c) != -1) { buf.append('\''); buf.append(c); buf.append('\''); } else buf.append(c); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
for (int index = 0; index < len; ++index) {
for (int index = 0; index < len; ++index) {
private final void quoteFix(StringBuffer buf, String text, String patChars) { int len = text.length(); for (int index = 0; index < len; ++index) { char c = text.charAt(index); if (patChars.indexOf(c) != -1) { buf.append('\''); buf.append(c); buf.append('\''); } else buf.append(c); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (patChars.indexOf(c) != -1) {
if (patChars.indexOf(c) != -1) {
private final void quoteFix(StringBuffer buf, String text, String patChars) { int len = text.length(); for (int index = 0; index < len; ++index) { char c = text.charAt(index); if (patChars.indexOf(c) != -1) { buf.append('\''); buf.append(c); buf.append('\''); } else buf.append(c); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else
} else
private final void quoteFix(StringBuffer buf, String text, String patChars) { int len = text.length(); for (int index = 0; index < len; ++index) { char c = text.charAt(index); if (patChars.indexOf(c) != -1) { buf.append('\''); buf.append(c); buf.append('\''); } else buf.append(c); } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); if (serialVersionOnStream < 1) { useExponentialNotation = false; serialVersionOnStream = 1; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (serialVersionOnStream < 1) {
if (serialVersionOnStream < 1) {
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); if (serialVersionOnStream < 1) { useExponentialNotation = false; serialVersionOnStream = 1; } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) {
private final int scanFix (String pattern, int index, FormatBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) {
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
buf.setLength(0);
boolean quoteStarted = false; buf.clear();
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
while (index < len) {
while (index < len) {
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (c == '\'' && index + 1 < len && pattern.charAt(index + 1) == '\'') {
if (quoteStarted) { if (c == '\'') quoteStarted = false; else
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
++index; } else if (c == '\'' && index + 2 < len && pattern.charAt(index + 2) == '\'') { buf.append(pattern.charAt(index + 1)); index += 2; } else if (c == '\u00a4') { if (index + 1 < len && pattern.charAt(index + 1) == '\u00a4') { buf.append(syms.getInternationalCurrencySymbol()); ++index; } else buf.append(syms.getCu...
index++; continue; } if (c == '\'' && index + 1 < len && pattern.charAt(index + 1) == '\'') { buf.append(c); index++; } else if (c == '\'') { quoteStarted = true; } else if (c == '\u00a4') { if (index + 1 < len && pattern.charAt(index + 1) == '\u00a4') { buf.append(syms.getInternationalCurrencySymbol(), NumberFormat.F...
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("multiplier already set " + "- index: " + index);
throw new IllegalArgumentException ("multiplier already set " + "- index: " + index);
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
buf.append(c); } else if (is_suffix && c == syms.getPerMill()) {
buf.append(c, NumberFormat.Field.PERCENT); } else if (c == syms.getPerMill()) {
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("multiplier already set " + "- index: " + index);
throw new IllegalArgumentException ("multiplier already set " + "- index: " + index);
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
buf.append(c); } else if (patChars.indexOf(c) != -1) {
buf.append(c, NumberFormat.Field.PERMILLE); } else if (patChars.indexOf(c) != -1) {
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else
} else
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
++index;
index++;
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (quoteStarted) throw new IllegalArgumentException ("pattern is lacking a closing quote");
private final int scanFix(String pattern, int index, StringBuffer buf, String patChars, DecimalFormatSymbols syms, boolean is_suffix) { int len = pattern.length(); buf.setLength(0); boolean multiplierSet = false; while (index < len) { char c = pattern.charAt(index); if (c == '\'' && index + 1 < len && pattern....
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) {
private final int scanFormat (String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
while (index < max) {
while (index < max) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (c == syms.getDigit()) {
if (c == syms.getDigit()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("digit mark following " + "zero - index: " + index);
throw new IllegalArgumentException ("digit mark following " + "zero - index: " + index);
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (c == syms.getZeroDigit()) {
} else if (c == syms.getZeroDigit()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (c == syms.getGroupingSeparator()) {
} else if (c == syms.getGroupingSeparator()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else
} else
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (is_positive) {
if (is_positive) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (index == max || pattern.charAt(index) == syms.getGroupingSeparator()) {
if (index == max || pattern.charAt(index) == syms.getGroupingSeparator()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (pattern.charAt(index) == syms.getDecimalSeparator()) {
if (pattern.charAt(index) == syms.getDecimalSeparator()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
while (index < max) {
while (index < max) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (c == syms.getZeroDigit()) {
if (c == syms.getZeroDigit()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("zero mark " + "following digit - index: " + index);
throw new IllegalArgumentException ("zero mark " + "following digit - index: " + index);
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (c == syms.getDigit()) {
} else if (c == syms.getDigit()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
} else if (c != syms.getExponential() && c != syms.getPatternSeparator() && patChars.indexOf(c) != -1) throw new IllegalArgumentException("unexpected special " + "character - index: " + index);
} else if (c != syms.getExponential() && c != syms.getPatternSeparator() && c != syms.getPercent() && c != syms.getPerMill() && patChars.indexOf(c) != -1) throw new IllegalArgumentException ("unexpected special " + "character - index: " + index);
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (is_positive) {
if (is_positive) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (pattern.charAt(index) == syms.getExponential()) {
if (pattern.charAt(index) == syms.getExponential()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
while (index < max) {
while (index < max) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
else if (c == syms.getDigit()) {
else if (c == syms.getDigit()) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
throw new IllegalArgumentException("digit mark following zero " + "in exponent - index: " + index); } else if (patChars.indexOf(c) != -1) throw new IllegalArgumentException("unexpected special " + "character - index: " + index);
throw new IllegalArgumentException ("digit mark following zero " + "in exponent - index: " + index); } else if (patChars.indexOf(c) != -1) throw new IllegalArgumentException ("unexpected special " + "character - index: " + index);
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
if (is_positive) {
if (is_positive) {
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
maximumIntegerDigits = groupingSize; groupingSize = 0; if (maximumIntegerDigits > minimumIntegerDigits && maximumIntegerDigits > 0) { minimumIntegerDigits = 1; exponentRound = maximumIntegerDigits; } else exponentRound = 1;
private final int scanFormat(String pattern, int index, String patChars, DecimalFormatSymbols syms, boolean is_positive) { int max = pattern.length(); int countSinceGroup = 0; int zeroCount = 0; boolean saw_group = false; // // Scan integer part. // while (index < max) { char c = pattern.charAt(index); if ...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols) {
public void setDecimalFormatSymbols (DecimalFormatSymbols newSymbols) {
public void setDecimalFormatSymbols(DecimalFormatSymbols newSymbols) { symbols = newSymbols; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setDecimalSeparatorAlwaysShown(boolean newValue) {
public void setDecimalSeparatorAlwaysShown (boolean newValue) {
public void setDecimalSeparatorAlwaysShown(boolean newValue) { decimalSeparatorAlwaysShown = newValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setGroupingSize(int groupSize) {
public void setGroupingSize (int groupSize) {
public void setGroupingSize(int groupSize) { groupingSize = (byte) groupSize; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setMaximumFractionDigits(int newValue) { maximumFractionDigits = Math.min(newValue, 340);
public void setMaximumFractionDigits (int newValue) { super.setMaximumFractionDigits(Math.min(newValue, 340));
public void setMaximumFractionDigits(int newValue) { maximumFractionDigits = Math.min(newValue, 340); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setMaximumIntegerDigits(int newValue) { maximumIntegerDigits = Math.min(newValue, 309);
public void setMaximumIntegerDigits (int newValue) { super.setMaximumIntegerDigits(Math.min(newValue, 309));
public void setMaximumIntegerDigits(int newValue) { maximumIntegerDigits = Math.min(newValue, 309); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setMinimumFractionDigits(int newValue) { minimumFractionDigits = Math.min(newValue, 340);
public void setMinimumFractionDigits (int newValue) { super.setMinimumFractionDigits(Math.min(newValue, 340));
public void setMinimumFractionDigits(int newValue) { minimumFractionDigits = Math.min(newValue, 340); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setMinimumIntegerDigits(int newValue) { minimumIntegerDigits = Math.min(newValue, 309);
public void setMinimumIntegerDigits (int newValue) { super.setMinimumIntegerDigits(Math.min(newValue, 309));
public void setMinimumIntegerDigits(int newValue) { minimumIntegerDigits = Math.min(newValue, 309); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setMultiplier(int newValue) {
public void setMultiplier (int newValue) {
public void setMultiplier(int newValue) { multiplier = newValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setNegativePrefix(String newValue) {
public void setNegativePrefix (String newValue) {
public void setNegativePrefix(String newValue) { negativePrefix = newValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setNegativeSuffix(String newValue) {
public void setNegativeSuffix (String newValue) {
public void setNegativeSuffix(String newValue) { negativeSuffix = newValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setPositivePrefix(String newValue) {
public void setPositivePrefix (String newValue) {
public void setPositivePrefix(String newValue) { positivePrefix = newValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public void setPositiveSuffix(String newValue) {
public void setPositiveSuffix (String newValue) {
public void setPositiveSuffix(String newValue) { positiveSuffix = newValue; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public String toLocalizedPattern() { return computePattern(symbols);
public String toLocalizedPattern () { return computePattern (symbols);
public String toLocalizedPattern() { return computePattern(symbols); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public String toPattern() { return computePattern(nonLocalizedSymbols);
public String toPattern () { return computePattern (nonLocalizedSymbols);
public String toPattern() { return computePattern(nonLocalizedSymbols); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormat.java/clean/core/src/classpath/java/java/text/DecimalFormat.java
public DecimalFormatSymbols (Locale loc)
public DecimalFormatSymbols ()
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol", "$"); decimalSeparato...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormatSymbols.java/buggy/core/src/classpath/java/java/text/DecimalFormatSymbols.java
ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol", "$"); decimalSeparator = safeGetChar (res, "decimalSeparator", '.'); digit = safeGetChar (res, "digit", '#'); ex...
this (Locale.getDefault());
public DecimalFormatSymbols (Locale loc) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc); } catch (MissingResourceException x) { res = null; } currencySymbol = safeGetString (res, "currencySymbol", "$"); decimalSeparato...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/DecimalFormatSymbols.java/buggy/core/src/classpath/java/java/text/DecimalFormatSymbols.java
public synchronized StringBuffer insert(int offset, char ch)
public synchronized StringBuffer insert(int offset, char[] str, int str_offset, int len)
public synchronized StringBuffer insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; retur...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java
if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++;
if (offset < 0 || offset > count || len < 0 || str_offset < 0 || str_offset > str.length - len) throw new StringIndexOutOfBoundsException(); ensureCapacity_unsynchronized(count + len); VMSystem.arraycopy(value, offset, value, offset + len, count - offset); VMSystem.arraycopy(str, str_offset, value, offset, len); count ...
public synchronized StringBuffer insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; retur...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/24330cfb4cc445da21a71a819ce54efe764fab6e/StringBuffer.java/buggy/core/src/classpath/java/java/lang/StringBuffer.java
public abstract StringBuffer format (double number, StringBuffer sbuf, FieldPosition pos);
public final String format (long number) { StringBuffer sbuf = new StringBuffer(50); format (number, sbuf, null); return sbuf.toString(); }
public abstract StringBuffer format (double number, StringBuffer sbuf, FieldPosition pos);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/49e488b8530051383b90b1357fa767c87c9ff7f5/NumberFormat.java/buggy/core/src/classpath/java/java/text/NumberFormat.java
public boolean isBorderOpaque();
boolean isBorderOpaque();
public boolean isBorderOpaque();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/Border.java/buggy/core/src/classpath/javax/javax/swing/border/Border.java
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height);
void paintBorder(Component c, Graphics g, int x, int y, int width, int height);
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/2703ae3b51c371a2a79d28271cd57b4046c647d0/Border.java/buggy/core/src/classpath/javax/javax/swing/border/Border.java
public boolean isLoggable(LogRecord record);
boolean isLoggable(LogRecord record);
public boolean isLoggable(LogRecord record);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/Filter.java/buggy/core/src/classpath/java/java/util/logging/Filter.java
synchronized (ErrorManager.class)
synchronized (this)
public void error(String message, Exception ex, int errorCode) { if (everUsed) return; synchronized (ErrorManager.class) { /* The double check is intentional. If the first check was * omitted, the monitor would have to be entered every time * error() method was called. If the second ch...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/ErrorManager.java/buggy/core/src/classpath/java/java/util/logging/ErrorManager.java
* * This is the 'double-checked locking' idiom, which is broken * with the current version of the Java memory model. However, * we assume that JVMs will have adopted a revised version of * the Java Memory Model by the time GNU Classpath gains * widespread acceptance. See Classpath bug #2944.
public void error(String message, Exception ex, int errorCode) { if (everUsed) return; synchronized (ErrorManager.class) { /* The double check is intentional. If the first check was * omitted, the monitor would have to be entered every time * error() method was called. If the second ch...
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/71bd4a234ff464b217036c28c910b8210f375bad/ErrorManager.java/buggy/core/src/classpath/java/java/util/logging/ErrorManager.java
protected GraphicAttribute (int alignment)
protected GraphicAttribute(int alignment)
protected GraphicAttribute (int alignment) { this.alignment = alignment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java
if (alignment < BOTTOM_ALIGNMENT || alignment > HANGING_BASELINE) throw new IllegalArgumentException("Invalid alignment");
protected GraphicAttribute (int alignment) { this.alignment = alignment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java
public abstract void draw (Graphics2D graphics, float x, float y);
public abstract void draw(Graphics2D graphics, float x, float y);
public abstract void draw (Graphics2D graphics, float x, float y);
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java
public final int getAlignment ()
public final int getAlignment()
public final int getAlignment () { return alignment; }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java
public abstract float getAdvance ();
public abstract float getAdvance();
public abstract float getAdvance ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java
public abstract float getAscent ();
public abstract float getAscent();
public abstract float getAscent ();
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java
public Rectangle2D getBounds () throws NotImplementedException
public Rectangle2D getBounds()
public Rectangle2D getBounds () throws NotImplementedException { throw new Error ("not implemented"); }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/53983e95556bf4b775130b06570aa2ea08d85628/GraphicAttribute.java/buggy/core/src/classpath/java/java/awt/font/GraphicAttribute.java