Use Project.NameKey in GitRepositoryManager
This simplifies all of the calling sites, where they have a Project.NameKey on hand and would prefer not to invoke .get() to convert it into a String. Change-Id: If661fc07cff542a57af3c28f27ab401ce7b3a656 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
		| @@ -58,7 +58,7 @@ class PatchListLoader extends EntryCreator<PatchListKey, PatchList> { | ||||
|  | ||||
|   @Override | ||||
|   public PatchList createEntry(final PatchListKey key) throws Exception { | ||||
|     final Repository repo = repoManager.openRepository(key.projectKey.get()); | ||||
|     final Repository repo = repoManager.openRepository(key.projectKey); | ||||
|     try { | ||||
|       return readPatchList(key, repo); | ||||
|     } finally { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shawn O. Pearce
					Shawn O. Pearce