java.lang.String to java.util.Optional<java.lang.String>
No. of Instances - 2
No. of Commits - 2
No. of Projects - {'geoserver'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
- Add or Remove Method invocation
- whereClause to whereClause.get()
- whereClause.isEmpty() to whereClause.get().isEmpty()
- mValues to mValues.entrySet().stream().collect(Collectors.toMap(e -> new OptionalString(e.getKey()).toThrift(),e -> e.getValue()))
- email.contains("@") to email.get().contains("@")
- Optional.of(computedTextBody) to computedTextBody
- orElseGet to textBodyAndComputeFromHtmlBodyIfNeeded
- MoreObjects.toStringHelper(this).add("thresholds",thresholds).add("gracePeriod",gracePeriod).add("bodyTemplate",bodyTemplate).add("subjectTemplate",subjectTemplate).add("name",name) to MoreObjects.toStringHelper(this).add("toRenderingInformation",toRenderingInformation).add("thresholds",thresholds).add("bodyTemplate",bodyTemplate).add("subjectTemplate",subjectTemplate).add("gracePeriod",gracePeriod).add("name",name)
- MoreObjects.toStringHelper(this).add("thresholds",thresholds).add("gracePeriod",gracePeriod).add("bodyTemplate",bodyTemplate).add("subjectTemplate",subjectTemplate).add("name",name) to MoreObjects.toStringHelper(this).add("toRenderingInformation",toRenderingInformation).add("thresholds",thresholds).add("bodyTemplate",bodyTemplate).add("subjectTemplate",subjectTemplate).add("gracePeriod",gracePeriod).add("name",name)
- orElse to getCause
- builder().codec(payloadCodecFactory).provider(ObjectStorageProvider.from(provider)).bucketName(BucketName.of(namespace)).authConfiguration(authConfiguration(provider,configuration)).aesSalt(aesSalt).aesPassword(aesPassword) to builder().codec(payloadCodecFactory).provider(ObjectStorageProvider.from(provider)).authConfiguration(authConfiguration(provider,configuration)).aesSalt(aesSalt).aesPassword(aesPassword).defaultBucketName(namespace.map(BucketName::of))
- encryptFilename to map
- decryptFilename to map
- encryptFilename to map
- clientNameOnRequest to clientNameOnRequest.get()
- sessionToken.equals(parameterToken) to sessionToken.get().equals(parameterToken)
- sessionToken.equals(headerToken) to sessionToken.get().equals(headerToken)
- header to header.get()
- header.startsWith(this.prefixHeader) to header.get().startsWith(this.prefixHeader)
- pattern.matcher(headerValue).matches() to pattern.matcher(headerValue.orElse(null)).matches()
- tokenParameter to tokenParameter.get()
- ip.isEmpty() to ip.get().isEmpty()
- codeParameter to codeParameter.get()
- stateParameter.equals(sessionState) to stateParameter.get().equals(sessionState)
- CommonHelper.isNotBlank(stateParameter) to stateParameter.isPresent()
- context.getRemoteAddr() to Optional.empty()
- pattern.matcher(headerValue).matches() to pattern.matcher(headerValue.get()).matches()
- token to token.get()
- sessionToken.equals(parameterToken) to sessionToken.get().equals(parameterToken)
- sessionToken.equals(headerToken) to sessionToken.get().equals(headerToken)
- clientNameOnRequest to clientNameOnRequest.get()
- header to header.get()
- header.startsWith(this.prefixHeader) to header.get().startsWith(this.prefixHeader)
- verifierParameter to verifierParameter.get()
- CommonUtils.urlEncode(relayStateValue) to CommonUtils.urlEncode(relayStateValue.get())
- CommonUtils.isNotBlank(relayStateValue) to relayStateValue.isPresent()
- contentType.toLowerCase().startsWith("multipart") to contentType.get().toLowerCase().startsWith("multipart")
- value to value.get()
- isNotBlank(requestedUrl) to requestedUrl.isPresent()
- argName to argName.get()
- getOrDefault(resolver.revisionOf(Class.forName(payloadType.getName())),NO_REVISION) to Optional.ofNullable(resolver.revisionOf(Class.forName(payloadType.getName())))
- loadData.getBrokerData().get(broker).getLocalData() to loadData.getBrokerData().get(broker.get()).getLocalData()
- loadData.getBrokerData().get(broker).getPreallocatedBundleData() to loadData.getBrokerData().get(broker.get()).getPreallocatedBundleData()
- broker to broker.get()
- brokerToNamespaceToBundleRange.get(broker).computeIfAbsent(namespaceName,k -> new HashSet<>()) to brokerToNamespaceToBundleRange.get(broker.get()).computeIfAbsent(namespaceName,k -> new HashSet<>())
- content.getBytes(StandardCharsets.UTF_8) to content.get().getBytes(StandardCharsets.UTF_8)
- StandardOpenOption.CREATE to content.get().getBytes(StandardCharsets.UTF_8)
- StandardOpenOption.TRUNCATE_EXISTING to content.get().getBytes(StandardCharsets.UTF_8)
- orElse to getAsString
- orElseThrow to getAsString
- this.builder.remoteSite(site) to this.builder.remoteSite(site.get())
- checkNotNull(errorMessage,"error is null") to requireNonNull(errorMessage,"errorMessage is null")
- toStringHelper(this).add("originalSql",originalSql).add("catalog",catalog).add("schema",schema).add("columns",columns).add("owner",owner) to toStringHelper(this).add("originalSql",originalSql).add("catalog",catalog.orElse(null)).add("schema",schema.orElse(null)).add("columns",columns).add("owner",owner).omitNullValues()
- Session.builder(metadata.getSessionPropertyManager()).setIdentity(identity).setSource(session.getSource().orElse(null)).setCatalog(catalog).setSchema(schema).setTimeZoneKey(session.getTimeZoneKey()).setLocale(session.getLocale()).setRemoteUserAddress(session.getRemoteUserAddress().orElse(null)).setUserAgent(session.getUserAgent().orElse(null)).setStartTime(session.getStartTime()) to Session.builder(metadata.getSessionPropertyManager()).setIdentity(identity).setSource(session.getSource().orElse(null)).setCatalog(catalog.orElse(null)).setSchema(schema.orElse(null)).setTimeZoneKey(session.getTimeZoneKey()).setLocale(session.getLocale()).setRemoteUserAddress(session.getRemoteUserAddress().orElse(null)).setUserAgent(session.getUserAgent().orElse(null)).setStartTime(session.getStartTime())
- toStringHelper(this).add("originalSql",originalSql).add("catalog",catalog).add("schema",schema).add("columns",columns).add("owner",owner) to toStringHelper(this).add("originalSql",originalSql).add("catalog",catalog.orElse(null)).add("schema",schema.orElse(null)).add("columns",columns).add("owner",owner).omitNullValues()
- toStringHelper(this).add("user",getUser()).add("source",source.orElse(null)).add("catalog",catalog).add("schema",schema).add("timeZoneKey",timeZoneKey).add("locale",locale).add("remoteUserAddress",remoteUserAddress.orElse(null)).add("userAgent",userAgent.orElse(null)).add("startTime",startTime).omitNullValues() to toStringHelper(this).add("user",getUser()).add("source",source.orElse(null)).add("catalog",catalog.orElse(null)).add("schema",schema.orElse(null)).add("timeZoneKey",timeZoneKey).add("locale",locale).add("remoteUserAddress",remoteUserAddress.orElse(null)).add("userAgent",userAgent.orElse(null)).add("startTime",startTime).omitNullValues()
- Session.builder(metadata.getSessionPropertyManager()).setIdentity(identity).setSource(session.getSource().orElse(null)).setCatalog(catalog).setSchema(schema).setTimeZoneKey(session.getTimeZoneKey()).setLocale(session.getLocale()).setRemoteUserAddress(session.getRemoteUserAddress().orElse(null)).setUserAgent(session.getUserAgent().orElse(null)).setStartTime(session.getStartTime()) to Session.builder(metadata.getSessionPropertyManager()).setIdentity(identity).setSource(session.getSource().orElse(null)).setCatalog(catalog.orElse(null)).setSchema(schema.orElse(null)).setTimeZoneKey(session.getTimeZoneKey()).setLocale(session.getLocale()).setRemoteUserAddress(session.getRemoteUserAddress().orElse(null)).setUserAgent(session.getUserAgent().orElse(null)).setStartTime(session.getStartTime())
- toStringHelper(this).add("user",getUser()).add("source",source.orElse(null)).add("catalog",catalog).add("schema",schema).add("timeZoneKey",timeZoneKey).add("locale",locale).add("remoteUserAddress",remoteUserAddress.orElse(null)).add("userAgent",userAgent.orElse(null)).add("startTime",startTime).omitNullValues() to toStringHelper(this).add("user",getUser()).add("source",source.orElse(null)).add("catalog",catalog.orElse(null)).add("schema",schema.orElse(null)).add("timeZoneKey",timeZoneKey).add("locale",locale).add("remoteUserAddress",remoteUserAddress.orElse(null)).add("userAgent",userAgent.orElse(null)).add("startTime",startTime).omitNullValues()
- schemaNameOrNull to filterSchema.get()
- schemaNameOrNull to filterSchema.get()
- schemaNameOrNull to schemaName.get()
- schemaNameOrNull to schemaName.get()
- schemaNameOrNull to schemaName.get()
- schemaNameOrNull to schemaName.get()
- createMeasuresStatement(projectUuid,analysisUuid) to createMeasuresStatement(projectUuid,analysisUuid.get())
- Optional to serverId.orElse("")
- relativePathToBaseDir to relativePathToBaseDir.get()
- StringUtils.isBlank(relativePathToBaseDir) to StringUtils.isBlank(relativePathToBaseDir.get())
- scmAuthor to scmAuthor.get()
- scmAuthor to scmAuthor.get()
- scmAuthor.length() to scmAuthor.get().length()
- Other
- getOptions().get("class_name") to getOptions().get("class_name")
- stateTypeCodec.format(initCond) to stateTypeCodec.format(initCond)
- initCond.toString() to initCond.toString()
- whereClause to whereClause
- IOUtils.toString(textBody.getInputStream(),textBody.getMimeCharset()) to IOUtils.toString(textBody.getInputStream(),textBody.getMimeCharset())
- replaceParameters(parts.get(PARAMETERIZED_STRING),parameters) to replaceParameters(parts.get(PARAMETERIZED_STRING),parameters)
- SecurityUtils.getCurrentUserLogin().orElse(Constants.SYSTEM_ACCOUNT) to SecurityUtils.getCurrentUserLogin().orElse(Constants.SYSTEM_ACCOUNT)
- directoryId.get() to directoryId.get()
- ROOT_DIRECOTRY_ID to ROOT_DIRECOTRY_ID
- this.request.getHeader(name) to this.request.getHeader(name)
- this.request.getParameter(name) to this.request.getParameter(name)
- this.parameters.get(name) to this.parameters.get(name)
- this.request.getHeader(headerName) to this.request.getHeader(headerName)
- this.headers.get(name) to this.headers.get(name)
- this.request.getParameter(name) to this.request.getParameter(name)
- detailsMessage to detailsMessage
- expression.substring(0,dot) to expression.substring(0,dot)
- ((MemberSelectTree)exp).getIdentifier().toString() to ((MemberSelectTree)exp).getIdentifier().toString()
- ASTHelpers.getSymbol(exp).getSimpleName().toString() to ASTHelpers.getSymbol(exp).getSimpleName().toString()
- aggregateIdentifier to aggregateIdentifier
- configurer.processingGroup to configurer.processingGroup
- echo to echo
- lookupAddress to lookupAddress
- bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size())) to bestBrokers.get(ThreadLocalRandom.current().nextInt(bestBrokers.size()))
- preallocatedBundleToBroker.get(bundle) to preallocatedBundleToBroker.get(bundle)
- config.getFunctionConfig().getUserConfigOrDefault(key,null) to config.getFunctionConfig().getUserConfigOrDefault(key,null)
- Integer.toString(record.partition()) to Integer.toString(record.partition())
- " LIMIT " + limit to " LIMIT " + limit
- " LIMIT " + limit to " LIMIT " + limit
- restPath to restPath
- restPath.getValue() to restPath.getValue()
- restPath to restPath
- passwords.get(dbmsName) to passwords.get(dbmsName)
- defaultDbmsName to defaultDbmsName
- packageNameProperty().get() to packageNameProperty().get()
- typeMapperProperty().get() to typeMapperProperty().get()
- id to id
- id to id
- attr.variableName(paramNumber + pos) to attr.variableName(paramNumber + pos)
- classnameFilter to classnameFilter
- runnerSegment.getValue() to runnerSegment.getValue()
- this.reason to this.reason
- PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse("DEVELOPMENT") to PackageUtils.getAttribute(getClass(),Package::getImplementationVersion).orElse("DEVELOPMENT")
- "unavailable" to "unavailable"
- "unavailable" to "unavailable"
- category.isEmpty() ? DEFAULT_CATEGORY : category to category.isEmpty() ? DEFAULT_CATEGORY : category
- session.getProperty(EXTERNAL_BATCH_ID,String.class) to session.getProperty(EXTERNAL_BATCH_ID,String.class)
- String.format("{rows: %s (%s), cpu: %s, memory: %s, network: %s}",formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost())) to String.format("{rows: %s (%s), cpu: %s, memory: %s, network: %s}",formatAsLong(stats.getOutputRowCount()),formatEstimateAsDataSize(stats.getOutputSizeInBytes(node.getOutputSymbols(),types)),formatDouble(cost.getCpuCost()),formatDouble(cost.getMemoryCost()),formatDouble(cost.getNetworkCost()))
- NetworkUtils.getHostName() to NetworkUtils.getHostName()
- NetworkUtils.getHostName() to NetworkUtils.getHostName()
- leader.get().getStringAttribute(HOSTNAME) to leader.get().getStringAttribute(HOSTNAME)
- SHORT_INPUT_WARNING to SHORT_INPUT_WARNING
- ceTaskUuid to ceTaskUuid
- analysisUuid to analysisUuid
- ruleName to ruleName
- password to password
- projectVersion to projectVersion
- buildDate to buildDate
- langCode to langCode
- Cascading Type Change (Similar)
- Rename Variable
- getClazz to getMatcherCondition
- getDetailsMessage to getDetailsMessage2
- schemaNameOrNull to schemaName
- schemaNameOrNull to filterSchema
- schemaNameOrNull to filterSchema
- schemaNameOrNull to filterSchema
- schemaNameOrNull to schemaName
- schemaNameOrNull to schemaName
- schemaNameOrNull to filterSchema
- schemaNameOrNull to schemaName
- schemaNameOrNull to schemaName
- projectVersion to getProjectVersion
- Rename Method invocation
- Cascading Type Change (Different)
- Update argument list (Method invocation)
- Update Class Instacne Creation