Toggle navigation
Home
com.amazonaws.services.lambda.model.GetEventSourceRequest to com.amazonaws.services.sqs.model.RemovePermissionRequest
No. of Instances - 3
No. of Commits - 1
No. of Projects - {'aws-sdk-java'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Introduce Literal
result
to
null
Cascading Type Change (Similar)
GetEventSourceResult
to
Void
Callable<GetEventSourceResult>
to
Callable<Void>
GetEventSourceResult
to
Void
Callable<GetEventSourceResult>
to
Callable<Void>
Add or Remove Method invocation
asyncHandler.onSuccess(getEventSourceRequest,result)
to
asyncHandler.onSuccess(removePermissionRequest,null)
asyncHandler.onSuccess(getEventSourceRequest,result)
to
asyncHandler.onSuccess(removePermissionRequest,null)
Update Anonymous class
{ public GetEventSourceResult call() throws Exception { GetEventSourceResult result; try { result=getEventSource(getEventSourceRequest); } catch ( Exception ex) { asyncHandler.onError(ex); throw ex; } asyncHandler.onSuccess(getEventSourceRequest,result); return result; } }
to
{ public Void call() throws Exception { try { removePermission(removePermissionRequest); } catch ( Exception ex) { asyncHandler.onError(ex); throw ex; } asyncHandler.onSuccess(removePermissionRequest,null); return null; } }
{ public GetEventSourceResult call() throws Exception { GetEventSourceResult result; try { result=getEventSource(getEventSourceRequest); } catch ( Exception ex) { asyncHandler.onError(ex); throw ex; } asyncHandler.onSuccess(getEventSourceRequest,result); return result; } }
to
{ public Void call() throws Exception { try { removePermission(removePermissionRequest); } catch ( Exception ex) { asyncHandler.onError(ex); throw ex; } asyncHandler.onSuccess(removePermissionRequest,null); return null; } }
Rename Variable
getEventSourceRequest
to
removePermissionRequest
getEventSourceRequest
to
removePermissionRequest