Browse Source
update(int) is only invoked from a worker thread, in JGit's case this is DeltaTask. The Javadoc of TSPM suggests update should only ever be used by a worker thread. Skip the main thread check, saving some cycles on each run of the progress monitor. Change-Id: I6cb9382d71b4cb3f8e8981c7ac382da25304dfcbstable-3.0
Shawn Pearce
12 years ago
2 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue