Buggy code:
public class Exporter { static final String m_urlBase = "http:////www.offene-bibel.de//wiki//index.php5?action=raw&title=" ; static final String m_historyURLBase = "http:////www.offene-bibel.de//wiki//api.php5?action=query&prop=revisions&rvprop=ids|timestamp&rvlimit=100&format=xml&titles=" ; static final String m_minHistoryDate = "2015-01-01" ; static final String m_bibleBooks = ( Misc . getResourceDir ( ) ) + "bibleBooks.txt" ; static final String m_studienFassungTemplate = ( Misc . getResourceDir ( ) ) + "offene-bibel-studienfassung_template.txt" ; static final String m_leseFassungTemplate = ( Misc . getResourceDir ( ) ) + "offene-bibel-lesefassung_template.txt" ; static final String m_studienFassungFilename = ( Misc . getResultsDir ( ) ) + "offeneBibelStudienfassungModule.osis" ; static final String m_leseFassungFilename = ( Misc . getResultsDir ( ) ) + "offeneBibelLesefassungModule.osis" ; static final String m_studienFassungConfigFilename = "offbist.conf" ; static final String m_leseFassungConfigFilename = "offbile.conf" ; CommandLineArguments m_commandLineArguments ; class Chapter { Exporter . Book book ; int number ; String wikiText = null ; ObAstNode node = null ; String studienfassungText = null ; String lesefassungText = null ; public Chapter ( Exporter . Book book , int number ) { } public void retrieveWikiPage ( boolean forceDownload ) { } public boolean generateAst ( OffeneBibelParser parser , BasicParseRunner < ObAstNode > parseRunner ) throws Throwable { } } class Book { String wikiName ; String urlName ; String osisName ; int chapterCount ; Vector < Exporter . Chapter > chapters = new Vector < Exporter . Chapter > ( ) ; } public static void main ( String [ ] args ) { } public void run ( String [ ] args ) { } private List < Exporter . Book > retrieveBooks ( ) throws IOException { } private boolean generateAsts ( List < Exporter . Book > books , ObVerseStatus requiredTranslationStatus , boolean stopOnError ) throws Throwable { } public void generateWebViewerFragments ( List < Exporter . Book > books , ObVerseStatus requiredTranslationStatus ) throws Throwable { } private String writeWebScriptureToFile ( String scriptureText , Exporter . Book book , Exporter . Chapter chapter , int quality , String type ) throws IOException { } public String [ ] generateOsisTexts ( Exporter . Chapter chapter , ObVerseStatus requiredTranslationStatus ) throws Throwable { } private void generateOsisChapterFragments ( List < Exporter . Book > books , ObVerseStatus requiredTranslationStatus ) throws Throwable { } private String generateOsisBookFragment ( List < Exporter . Book > books , boolean leseFassung ) { } private String generateCompleteOsisString ( String osisText , boolean leseFassung ) throws IOException { String confFile = null ; if ( leseFassung == true ) { confFile = Exporter . m_leseFassungConfigFilename ; } else { <START_BUG> confFile = Exporter . m_leseFassungConfigFilename ; <END_BUG> } Properties config = new Properties ( ) ; try ( FileInputStream fis = new FileInputStream ( new File ( Misc . getResourceDir ( ) , confFile ) ) ) { config . load ( fis ) ; } for ( Object prop : config . keySet ( ) ) { config . put ( prop , new String ( config . get ( prop ) . toString ( ) . getBytes ( "ISO-8859-1" ) , "UTF-8" ) ) ; } String result = Misc . readFile ( ( leseFassung ? Exporter . m_leseFassungTemplate : Exporter . m_studienFassungTemplate ) ) ; String dateString = new SimpleDateFormat ( "yyyy.MM.dd'T'HH.mm.ss" ) . format ( new Date ( ) ) ; result = result . replace ( "{{date}}" , ( "" + dateString ) ) ; result = result . replace ( "{{rights}}" , config . getProperty ( "DistributionLicense" ) ) ; result = result . replace ( "{{content}}" , osisText ) ; return result ; } }

Fix:
confFile = Exporter . m_studienFassungConfigFilename ;