Toggle navigation
Home
java.lang.Boolean to java.lang.String
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'james-project'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
environment.getSQLServerJTDSDriver()
to
environment.getSQLServerDriver()
this.useJTDSDriver
to
sqlServerDriver.equals(SQLServerEnvironment.SQLSERVER_DRIVER_MS)
favCol.add(i.getValue(),p.isFavorite())
to
favCol.add(i.getValue(),(p.isFavorite()) ? "True" : "")
statefulService
to
((StatefulService)route).getStatus()
Rename Variable
useJTDSDriver
to
sqlServerDriver
useJTDSDriver
to
sqlServerDriver
bval
to
blockType
raisedHand
to
emojiStatus
raiseHand
to
emojiStatus
raisedHand
to
emojiStatus
raisedHand
to
emojiStatus
record
to
recordType
record
to
recordType
record
to
recordType
record
to
recordType
sharingPaused
to
status
sharingPaused
to
status
record
to
session
record
to
session
allowed
to
session
waitingForAcceptance
to
guestStatus
waitingForAcceptance
to
guestStatus
waitingForAcceptance
to
guestStatus
waitingForAcceptance
to
guestStatus
started
to
serviceStatus
Cascading Type Change (Different)
userMkdirs_result
to
getUfsAddress_result
Cascading Type Change (Similar)
Boolean
to
String
AsyncMethodCallback<Boolean>
to
AsyncMethodCallback<String>
Boolean
to
String
Update Anonymous class
{ public void onComplete( Boolean o){ userMkdirs_result result=new userMkdirs_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; userMkdirs_result result=new userMkdirs_result(); if (e instanceof FileAlreadyExistException) { result.eR=(FileAlreadyExistException)e; result.setERIsSet(true); msg=result; } else if (e instanceof InvalidPathException) { result.eI=(InvalidPathException)e; result.setEIIsSet(true); msg=result; } else if (e instanceof TachyonException) { result.eT=(TachyonException)e; result.setETIsSet(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( String o){ getUfsAddress_result result=new getUfsAddress_result(); result.success=o; 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; getUfsAddress_result result=new getUfsAddress_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(); } }
Introduce Literal
true
to
inputString
Rename Method invocation
removeChildBool
to
removeChildStr