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,8 +60,9 @@ public class SetDiffPreferences implements | ||||
|   } | ||||
|  | ||||
|   @Override | ||||
|   public Object apply(ConfigResource configResource, DiffPreferencesInfo in) | ||||
|       throws BadRequestException, IOException, ConfigInvalidException { | ||||
|   public DiffPreferencesInfo apply(ConfigResource configResource, | ||||
|       DiffPreferencesInfo in) | ||||
|           throws BadRequestException, IOException, ConfigInvalidException { | ||||
|     if (in == null) { | ||||
|       throw new BadRequestException("input must be provided"); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Edwin Kempin
					Edwin Kempin