Rebase should use Rebase.Input, not PublishDraftPatchSet.Input
Change-Id: I0a1beb3289128132df3f0760e747ad6376221d79
(cherry picked from commit 8496ecfa73)
			
			
This commit is contained in:
		
				
					committed by
					
						
						David Pursehouse
					
				
			
			
				
	
			
			
			
						parent
						
							73c0395fe4
						
					
				
				
					commit
					9bc16fa6bf
				
			@@ -74,7 +74,7 @@ public class RebaseChangeEdit implements
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  @Singleton
 | 
			
		||||
  public static class Rebase implements RestModifyView<ChangeResource, PublishDraftPatchSet.Input> {
 | 
			
		||||
  public static class Rebase implements RestModifyView<ChangeResource, Rebase.Input> {
 | 
			
		||||
    public static class Input {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -92,7 +92,7 @@ public class RebaseChangeEdit implements
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public Response<?> apply(ChangeResource rsrc, PublishDraftPatchSet.Input in)
 | 
			
		||||
    public Response<?> apply(ChangeResource rsrc, Rebase.Input in)
 | 
			
		||||
        throws AuthException, ResourceConflictException, IOException,
 | 
			
		||||
        InvalidChangeOperationException, OrmException {
 | 
			
		||||
      Optional<ChangeEdit> edit = editUtil.byChange(rsrc.getChange());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user