#fixed code
                              public long getLeft() {
    return myTorrentStatistic.getLeftBytes();
  }
#vulnerable code 
                              public long getLeft() {
    return this.left;
  } 
                            #location 2 
                            #vulnerability type THREAD_SAFETY_VIOLATION