#vulnerable code 
                                long getSequenceNumber() {
        return sequenceNumber;
    } 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION
#fixed code
                                DBMetaData(String dbDirectory) {
        this.dbDirectory = dbDirectory;
    }