id
int64 2
70k
| bug_ctx
stringlengths 58
37.5k
| fixed
stringlengths 1
37k
|
---|---|---|
38,199 | <BUG>import static org.apache.hadoop.fs.s3a.S3AConstants.*;public class S3AFileSystem extends FileSystem {</BUG><CONTEXT>import org.apache.hadoop.fs.FileSystem;import org.apache.hadoop.fs.LocalFileSystem;import org.apache.hadoop.fs.Path;import org.apache.hadoop.fs.permission.FsPermission;import org.apache.hadoop.util.Progressable;<extra_id_0>private URI uri;private Path workingDir;private AmazonS3Client s3;</CONTEXT> | import static org.apache.hadoop.fs.s3a.Constants.*;public class S3AFileSystem extends FileSystem { |
62,873 | <BUG>dstDataArrays[k2][dstPixelOffset + dstBandOffsets[k2]] = destinationNoDataShort;</BUG><CONTEXT>int w11 = w11index < roiDataLength ? roiDataArray[w11index] & 0xff : 0;if (baseIndex > roiDataLength || w00 == 0|| (w00 == 0 && w01 == 0 && w10 == 0 && w11 == 0)) {if (setDestinationNoData) {for (int k2 = 0; k2 < dst_num_bands; k2++) {<extra_id_0>}}} else {</CONTEXT> | dstDataArrays[k2][dstPixelOffset + dstBandOffsets[k2]] = destinationNoDataShort[k2]; |
56,163 | <BUG>sink.tableHeaderCell();sink.text( getI18nString( locale, "stats.readyrelease" ) + ":" );sink.tableHeaderCell_();</BUG><CONTEXT>sink.text( String.valueOf( convergence ) + "%" );sink.bold_();sink.tableCell_();sink.tableRow_();sink.tableRow();<extra_id_0>sink.tableCell();if ( convergence >= PERCENTAGE && snapshotCount <= 0 )</CONTEXT> | sink.tableHeaderCell( headerCellWidth );sink.text( getI18nString( locale, "stats.readyrelease" ) );sink.tableHeaderCell_(); |
63,186 | <BUG>private Member method;public ReflectionMethod(Member method) {</BUG><CONTEXT>import com.redhat.ceylon.compiler.loader.mirror.MethodMirror;import com.redhat.ceylon.compiler.loader.mirror.TypeMirror;import com.redhat.ceylon.compiler.loader.mirror.TypeParameterMirror;import com.redhat.ceylon.compiler.loader.mirror.VariableMirror;public class ReflectionMethod implements MethodMirror {<extra_id_0>this.method = method;}@Override</CONTEXT> | private ArrayList<VariableMirror> parameters;private List<TypeParameterMirror> typeParameters;private Boolean overridingMethod;private ReflectionType returnType;public ReflectionMethod(Member method) { |