Buggy code:
public class DBDictionaryFactory { private static final Localizer _loc = Localizer . forPackage ( DBDictionaryFactory . class ) ; public static DBDictionary newDBDictionary ( JDBCConfiguration conf , String dclass , String props ) { } public static DBDictionary calculateDBDictionary ( JDBCConfiguration conf , String url , String driver , String props ) { } public static DBDictionary newDBDictionary ( JDBCConfiguration conf , DataSource ds , String props ) { } static String getProtocol ( String url ) { } private static DBDictionary newDBDictionary ( JDBCConfiguration conf , String dclass , String props , Connection conn ) { } private static String dictionaryClassForString ( String prod , JDBCConfiguration conf ) { if ( StringUtils . isEmpty ( prod ) ) return null ; prod = prod . toLowerCase ( ) ; PluginValue dbdictionaryPlugin = ( ( JDBCConfigurationImpl ) ( conf ) ) . dbdictionaryPlugin ; if ( ( prod . indexOf ( "oracle" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "oracle" ) ; if ( ( prod . indexOf ( "sqlserver" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "sqlserver" ) ; if ( ( prod . indexOf ( "jsqlconnect" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "sqlserver" ) ; if ( ( prod . indexOf ( "mysql" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "mysql" ) ; if ( ( prod . indexOf ( "postgres" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "postgres" ) ; if ( ( prod . indexOf ( "sybase" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "sybase" ) ; if ( ( prod . indexOf ( "adaptive<seq2seq4repair_space>server" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "sybase" ) ; <START_BUG> if ( ( prod . indexOf ( "informix" ) ) != ( - 1 ) ) <END_BUG> return dbdictionaryPlugin . unalias ( "informix" ) ; if ( ( prod . indexOf ( "hsql" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "hsql" ) ; if ( ( prod . indexOf ( "foxpro" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "foxpro" ) ; if ( ( prod . indexOf ( "interbase" ) ) != ( - 1 ) ) return InterbaseDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "jdatastore" ) ) != ( - 1 ) ) return JDataStoreDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "borland" ) ) != ( - 1 ) ) return JDataStoreDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "access" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "access" ) ; if ( ( prod . indexOf ( "pointbase" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "pointbase" ) ; if ( ( prod . indexOf ( "empress" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "empress" ) ; if ( ( prod . indexOf ( "firebird" ) ) != ( - 1 ) ) return FirebirdDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "cache" ) ) != ( - 1 ) ) return CacheDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "derby" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "derby" ) ; if ( ( prod . indexOf ( "jdbc:h2:" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "h2" ) ; if ( ( prod . indexOf ( "h2<seq2seq4repair_space>database" ) ) != ( - 1 ) ) return dbdictionaryPlugin . unalias ( "h2" ) ; if ( ( ( prod . indexOf ( "db2" ) ) != ( - 1 ) ) || ( ( prod . indexOf ( "as400" ) ) != ( - 1 ) ) ) return dbdictionaryPlugin . unalias ( "db2" ) ; if ( ( prod . indexOf ( "cloudscape" ) ) != ( - 1 ) ) return DBDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "daffodil" ) ) != ( - 1 ) ) return DBDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "sapdb" ) ) != ( - 1 ) ) return DBDictionary . class . getName ( ) ; if ( ( prod . indexOf ( "idb" ) ) != ( - 1 ) ) return DBDictionary . class . getName ( ) ; String prodClassName = dbdictionaryPlugin . unalias ( prod ) ; if ( ! ( StringUtils . equals ( prod , prodClassName ) ) ) return prodClassName ; return null ; } public static String toString ( DatabaseMetaData meta ) throws SQLException { } }

Fix:
if ( ( ( prod . indexOf ( "informix" ) ) != ( - 1 ) ) || ( ( prod . indexOf ( "ids" ) ) != ( - 1 ) ) )