Remove ReviewDb from ChangeData
Propagate the removal out to some downstream interfaces as well. Ironically, in at least one case, we needed to *add* a Provider<ReviewDb> to a class, since it was using ChangeData#db() as the argument to another method which hasn't yet had this argument removed. Change-Id: I42b1609e402d7dd552ea67197d21c28051261ee8
This commit is contained in:
		@@ -82,8 +82,7 @@ public class PostReviewers
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // Re-read change to take into account results of the update.
 | 
			
		||||
    addition.gatherResults(
 | 
			
		||||
        changeDataFactory.create(dbProvider.get(), rsrc.getProject(), rsrc.getId()));
 | 
			
		||||
    addition.gatherResults(changeDataFactory.create(rsrc.getProject(), rsrc.getId()));
 | 
			
		||||
    return addition.result;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user