SuggestedFix testFix=SuggestedFix.builder().merge(removeStatic).addImport(TEST_CLASS).prefixWith(methodTree,TEST_ANNOTATION).build(); | SuggestedFix testFix=SuggestedFix.builder().merge(removeStatic.orElse(null)).addImport(TEST_CLASS).prefixWith(methodTree,TEST_ANNOTATION).build(); | removeStatic | removeStatic.orElse(null) | error-prone | ec64a7c4d81db6cc7c8220cb3dcbe181e9dafb26 | com.google.errorprone.bugpatterns.JUnit4TestNotRun | | _1 | removeStatic |
---|
_2 | removeStatic |
---|
| | | | Uses | True |
writeComponent(json,session,component,analysis,userSession); | writeComponent(json,session,component,analysis.orElse(null),userSession); | analysis | analysis.orElse(null) | sonarqube | 2fdbed4ea7e5db4621bc387dfba9af3121eecef2 | org.sonar.server.ui.ws.ComponentNavigationAction | | | | | | Uses | True |
((Node)nodeWithVariables).notifyPropertyChange(ObservableProperty.MAXIMUM_COMMON_TYPE,currentMaxCommonType,newMaxCommonType); | ((Node)nodeWithVariables).notifyPropertyChange(ObservableProperty.MAXIMUM_COMMON_TYPE,currentMaxCommonType.orElse(null),newMaxCommonType.orElse(null)); | newMaxCommonType | newMaxCommonType.orElse(null) | javaparser | 9a228915f61892f6ba99fcf1e42e42e1e2622a00 | com.github.javaparser.ast.body.VariableDeclarator.customInitialization.register | | _1 | newMaxCommonType |
---|
_2 | newMaxCommonType |
---|
| | | | Uses | True |
((Node)nodeWithVariables).notifyPropertyChange(ObservableProperty.MAXIMUM_COMMON_TYPE,currentMaxCommonType,newMaxCommonType); | ((Node)nodeWithVariables).notifyPropertyChange(ObservableProperty.MAXIMUM_COMMON_TYPE,currentMaxCommonType.orElse(null),newMaxCommonType.orElse(null)); | currentMaxCommonType | currentMaxCommonType.orElse(null) | javaparser | 9a228915f61892f6ba99fcf1e42e42e1e2622a00 | com.github.javaparser.ast.body.VariableDeclarator.customInitialization.register | | _1 | currentMaxCommonType |
---|
_2 | currentMaxCommonType |
---|
| TCIVar | currentMaxCommonType |
---|
| | TCIVar | currentMaxCommonType |
---|
| Uses | True |
assertPageEquals(ImmutableList.of(VARCHAR),actualPage,expectedPage); | assertPageEquals(ImmutableList.of(VARCHAR),actualPage.orElse(null),expectedPage); | actualPage | actualPage.orElse(null) | presto | 4efb7c28ba7b019e64a6d802984330a074ae1e47 | com.facebook.presto.operator.project.TestPageProcessor | | | | | | Uses | True |
assertPageEquals(ImmutableList.of(VARCHAR),actualPage,expectedPage); | assertPageEquals(ImmutableList.of(VARCHAR),actualPage.orElse(null),expectedPage); | actualPage | actualPage.orElse(null) | presto | 4efb7c28ba7b019e64a6d802984330a074ae1e47 | com.facebook.presto.operator.project.TestPageProcessor | | | | | | Uses | True |
writeProtobuf(buildResponse(qualityGate,defaultQualityGate,conditions,metricsById),request,response); | writeProtobuf(buildResponse(qualityGate,defaultQualityGate.orElse(null),conditions,metricsById),request,response); | defaultQualityGate | defaultQualityGate.orElse(null) | sonarqube | 70fd4ee3f448a9bd0ce7e97d269b2ca41355a8f0 | org.sonar.server.qualitygate.ws.ShowAction | | _1 | defaultQualityGate |
---|
_2 | defaultQualityGate |
---|
| | | | Uses | True |
writeProtobuf(buildResponse(qualityGates,defaultQualityGate),request,response); | writeProtobuf(buildResponse(qualityGates,defaultQualityGate.orElse(null)),request,response); | defaultQualityGate | defaultQualityGate.orElse(null) | sonarqube | 70fd4ee3f448a9bd0ce7e97d269b2ca41355a8f0 | org.sonar.server.qualitygate.ws.ListAction | | _1 | defaultQualityGate |
---|
_2 | defaultQualityGate |
---|
| | | | Uses | True |
return Response.ok(Collections.singletonMap(STR0,activeConfig)).build(); | return Response.ok(Collections.singletonMap(STR0,activeConfig.orElse(null))).build(); | activeConfig | activeConfig.orElse(null) | graylog2-server | 3bcb34c2a7ba8126196d79f041d2852a2cbc4d54 | org.graylog.security.authservice.rest.AuthServicesResource | | _1 | activeConfig |
---|
_2 | activeConfig |
---|
| | | | Uses | True |
final boolean headerMatches=headerValue != null && pattern != null && pattern.matcher(headerValue).matches(); | final boolean headerMatches=headerValue != null && pattern != null && pattern.matcher(headerValue.orElse(null)).matches(); | headerValue | headerValue.orElse(null) | pac4j | 49ccc89f2d97cadadc2b217dd8505007b930fff5 | org.pac4j.core.matching.HeaderMatcher | | _1 | headerValue |
---|
_2 | headerValue |
---|
| | | | Uses | True |
notificationUpdater.add(dbSession,request.getChannel(),request.getType(),user,project); | notificationUpdater.add(dbSession,request.getChannel(),request.getType(),user,project.orElse(null)); | project | project.orElse(null) | sonarqube | 0000edfd89ee6084a0cde4a08424b3bad346e69e | org.sonar.server.notification.ws.AddAction | | | | | | Uses | True |
return toStringHelper(this).add(STR0,specification).toString(); | return toStringHelper(this).omitNullValues().add(STR0,specification.orElse(null)).toString(); | specification | specification.orElse(null) | presto | 6ae5918fc6cae7dc7ce2f43d9409a9fe8eebd027 | com.facebook.presto.sql.planner.assertions.WindowMatcher | | _1 | specification |
---|
_2 | specification |
---|
| | | | Uses | True |