java.lang.Void to java.lang.Boolean
No. of Instances - 162
No. of Commits - 28
No. of Projects - {'alluxio', 'hbase', 'framework', 'neo4j', 'che', 'speedment', 'ignite', 'flink', 'presto', 'orbit', 'atomix', 'james-project', 'infinispan', 'redisson'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
- Rename Method invocation
- userSetPinned to renameFile
- setPinned to rename
- executeVoid to executeReturnApplied
- executeVoid to executeReturnApplied
- sendAndReceiveResultAsEmpty to sendAndReceiveResultAsBoolean
- Cascading Type Change (Different)
- userSetPinned_result to renameFile_result
- workerCommitBlock_result to remove_result
- user_updateRawTableMetadata_result to completeFileCheckpoint_result
- TachyonException to SuspectedFileSizeException
- TableDoesNotExistException to SuspectedFileSizeException
- user_heartbeat_result to addCheckpoint_result
- RFuture<Void> to RFuture<Boolean>
- RFuture<Void> to RFuture<Boolean>
- RFuture<Void> to RFuture<Boolean>
- List<CompletableFuture<Void>> to ServerName
- AsyncCallback<Void> to AsyncCallback<Boolean>
- Cascading Type Change (Similar)
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Void to Boolean
- AsyncMethodCallback<Void> to AsyncMethodCallback<Boolean>
- Add or Remove Method invocation
- result.setEIsSet(true) to result.setSuccessIsSet(true)
- result.setETIsSet(true) to result.setFdneeIsSet(true)
- result.setETaIsSet(true) to result.setSuccessIsSet(true)
- future.complete(null) to future.complete(false)
- compactFutures.toArray(new CompletableFuture<?>[compactFutures.size()]) to result
- compact(location.getServerName(),location.getRegionInfo(),major,columnFamily) to regionName
- compactFutures.add(regionName) to future.completeExceptionally(new NotServingRegionException(regionName))
- getTableHRegionLocations(tableName) to getRegionLocation(regionName)
- compactFutures.toArray(server) to server
- Update Anonymous class
- { public void onComplete( Void o){ userSetPinned_result result=new userSetPinned_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; userSetPinned_result result=new userSetPinned_result(); if (e instanceof FileDoesNotExistException) { result.e=(FileDoesNotExistException)e; result.setEIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ renameFile_result result=new renameFile_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; renameFile_result result=new renameFile_result(); if (e instanceof FileAlreadyExistException) { result.faee=(FileAlreadyExistException)e; result.setFaeeIsSet(true); msg=result; } else if (e instanceof FileDoesNotExistException) { result.fdnee=(FileDoesNotExistException)e; result.setFdneeIsSet(true); msg=result; } else if (e instanceof InvalidPathException) { result.ipe=(InvalidPathException)e; result.setIpeIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- { public void onComplete( Void o){ unmount_result result=new unmount_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; unmount_result result=new unmount_result(); if (e instanceof TachyonException) { result.te=(TachyonException)e; result.setTeIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ unmount_result result=new unmount_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; unmount_result result=new unmount_result(); if (e instanceof TachyonException) { result.te=(TachyonException)e; result.setTeIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- { public void onComplete( Void o){ mount_result result=new mount_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; mount_result result=new mount_result(); if (e instanceof TachyonException) { result.te=(TachyonException)e; result.setTeIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ mount_result result=new mount_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; mount_result result=new mount_result(); if (e instanceof TachyonException) { result.te=(TachyonException)e; result.setTeIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- { public void onComplete( Void o){ workerCommitBlock_result result=new workerCommitBlock_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; workerCommitBlock_result result=new workerCommitBlock_result(); { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ remove_result result=new remove_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; remove_result result=new remove_result(); if (e instanceof tachyon.thrift.TachyonTException) { result.e=(tachyon.thrift.TachyonTException)e; result.setEIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- { public void onComplete( Void o){ unlockBlock_result result=new unlockBlock_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; unlockBlock_result result=new unlockBlock_result(); { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ unlockBlock_result result=new unlockBlock_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; unlockBlock_result result=new unlockBlock_result(); { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- { public void onComplete( Void o){ user_updateRawTableMetadata_result result=new user_updateRawTableMetadata_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; user_updateRawTableMetadata_result result=new user_updateRawTableMetadata_result(); if (e instanceof TableDoesNotExistException) { result.eT=(TableDoesNotExistException)e; result.setETIsSet(true); msg=result; } else if (e instanceof TachyonException) { result.eTa=(TachyonException)e; result.setETaIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ completeFileCheckpoint_result result=new completeFileCheckpoint_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; completeFileCheckpoint_result result=new completeFileCheckpoint_result(); if (e instanceof FileDoesNotExistException) { result.fdnee=(FileDoesNotExistException)e; result.setFdneeIsSet(true); msg=result; } else if (e instanceof SuspectedFileSizeException) { result.sfse=(SuspectedFileSizeException)e; result.setSfseIsSet(true); msg=result; } else if (e instanceof BlockInfoException) { result.bie=(BlockInfoException)e; result.setBieIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- { public void onComplete( Void o){ user_heartbeat_result result=new user_heartbeat_result(); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; user_heartbeat_result result=new user_heartbeat_result(); { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } } to { public void onComplete( Boolean o){ addCheckpoint_result result=new addCheckpoint_result(); result.success=o; result.setSuccessIsSet(true); try { fcall.sendResponse(fb,result,org.apache.thrift.protocol.TMessageType.REPLY,seqid); return; } catch ( Exception e) { LOGGER.error("Exception writing to internal frame buffer",e); } fb.close(); } public void onError( Exception e){ byte msgType=org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; addCheckpoint_result result=new addCheckpoint_result(); if (e instanceof FileDoesNotExistException) { result.eP=(FileDoesNotExistException)e; result.setEPIsSet(true); msg=result; } else if (e instanceof SuspectedFileSizeException) { result.eS=(SuspectedFileSizeException)e; result.setESIsSet(true); msg=result; } else if (e instanceof BlockInfoException) { result.eB=(BlockInfoException)e; result.setEBIsSet(true); msg=result; } else { msgType=org.apache.thrift.protocol.TMessageType.EXCEPTION; msg=(org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR,e.getMessage()); } try { fcall.sendResponse(fb,msg,msgType,seqid); return; } catch ( Exception ex) { LOGGER.error("Exception writing to internal frame buffer",ex); } fb.close(); } }
- Other
- new AtomicReference<>(state) to state
- null to true
- new CompletableFuture<?>[compactFutures.size()] to server
- location.getServerName() to serverName.isPresent() ? serverName.get() : location.getServerName()
- Wrap or Un-wrap
- Rename Variable
- internalTerminationFuture to terminationFuture
- internalTerminationFuture to terminationFuture
- internalTerminationFuture to terminationFuture
- internalTerminationFuture to terminationFuture
- internalTerminationFuture to terminationFuture
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- context to unmangleNames
- Update argument list (Method invocation)