Return concrete type from SetDiffPreferences#apply method, not Object
Change-Id: I6d28912918b7dc5fe2d491732fdb200e0a326d4e Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
		@@ -60,7 +60,8 @@ public class SetDiffPreferences implements
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  @Override
 | 
					  @Override
 | 
				
			||||||
  public Object apply(ConfigResource configResource, DiffPreferencesInfo in)
 | 
					  public DiffPreferencesInfo apply(ConfigResource configResource,
 | 
				
			||||||
 | 
					      DiffPreferencesInfo in)
 | 
				
			||||||
          throws BadRequestException, IOException, ConfigInvalidException {
 | 
					          throws BadRequestException, IOException, ConfigInvalidException {
 | 
				
			||||||
    if (in == null) {
 | 
					    if (in == null) {
 | 
				
			||||||
      throw new BadRequestException("input must be provided");
 | 
					      throw new BadRequestException("input must be provided");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user