Split off library classes from server/patch/ into diff/

The server library is large, and its resulting compilation time gets
in the way of edit/compile/debug cycles.

The new diff library files depend mainly on JGit, and are independent
of the Guice stack in the server library.

Change-Id: I483992fff91873b1c1751c16fe3a83b823f4f8fa
This commit is contained in:
Han-Wen Nienhuys
2017-11-10 11:35:12 +01:00
parent 309fc90ea9
commit 0d157b3561
75 changed files with 263 additions and 150 deletions

View File

@@ -44,13 +44,13 @@ import com.google.gerrit.reviewdb.server.ReviewDb;
import com.google.gerrit.reviewdb.server.ReviewDbUtil;
import com.google.gerrit.server.config.AllUsersName;
import com.google.gerrit.server.config.GerritServerId;
import com.google.gerrit.server.diff.PatchListCache;
import com.google.gerrit.server.diff.PatchListNotAvailableException;
import com.google.gerrit.server.git.GitRepositoryManager;
import com.google.gerrit.server.notedb.ChangeNotes;
import com.google.gerrit.server.notedb.ChangeUpdate;
import com.google.gerrit.server.notedb.NoteDbChangeState.PrimaryStorage;
import com.google.gerrit.server.notedb.NotesMigration;
import com.google.gerrit.server.patch.PatchListCache;
import com.google.gerrit.server.patch.PatchListNotAvailableException;
import com.google.gerrit.server.update.BatchUpdateReviewDb;
import com.google.gerrit.server.update.ChangeContext;
import com.google.gwtorm.server.OrmException;