id
int64 5
418
| fixed
stringlengths 8
123
| bug_ctx
stringlengths 67
358
|
---|---|---|
343 |
if ( hasFileExtensionIgnoreCase ( f.getName ( ) , format.getExtension ( ) ) ) {
|
[BUG]if ( hasFileExtensionIgnoreCase( f.getName( ) , format.autoDetectFormat( ) ) ) {[BUG][CONTEXT] if (format.isXml()) { String firstTag = getFirstTag(f); if (firstTag == null) { continue; } if (firstTag.equals(format.firstElement)) { return format; } } else { <extra_id_0> return format; } }[CONTEXT]
|
260 |
reader = ReaderFactory.newPlatformReader ( inputFile ) ; } } catch ( IOException e ) {
|
[BUG]} catch ( IOException e) { }reader = ReaderFactory.newPlatformReader( inputFile) ;[BUG][CONTEXT] if (inputEncoding != null) { if (parser.getType() == Parser.XML_TYPE) { reader = ReaderFactory.newXmlReader(inputFile); } else { reader = ReaderFactory.newReader(inputFile, inputEncoding); } } else { <extra_id_0>[CONTEXT]
|
339 |
return firstElement != null; }
|
[BUG]} return firstElement != null;[BUG][CONTEXT] public boolean isXml() { <extra_id_0>[CONTEXT]
|
414 |
super ( message, cause ) ;
|
[BUG]super( message) ;[BUG][CONTEXT] public ConverterException(String message, Throwable cause) { <extra_id_0> }[CONTEXT]
|
297 |
plexus.dispose ( ) ;
|
[BUG][BUG][CONTEXT] private void stopPlexusContainer() { if (plexus == null) { return; } <extra_id_0> plexus = null; }[CONTEXT]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.