Toggle navigation
Home
java.util.Optional<java.lang.Integer> to int
No. of Instances - 6
No. of Commits - 5
No. of Projects - {'sonarqube', 'neo4j', 'james-project', 'graylog2-server'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
generateSetting(nbShards.orElse(DEFAULT_NB_SHARDS),nbReplica.orElse(DEFAULT_NB_REPLICA))
to
generateSetting(nbShards,nbReplica)
generateSetting(nbShards.orElse(DEFAULT_NB_SHARDS),nbReplica.orElse(DEFAULT_NB_REPLICA))
to
generateSetting(nbShards,nbReplica)
values[valueColumn.orElseThrow(() -> new IllegalStateException("No value column and not key only parsing specified!"))].trim()
to
values[valueColumn].trim()
Math.max(keyColumn,keyOnly ? 0 : valueColumn.orElse(0))
to
Math.max(keyColumn,keyOnly ? 0 : valueColumn)
compute
to
getLabelId
Other
limit
to
limit
Cascading Type Change (Similar)
Optional<Integer>
to
int
Rename Variable
labelOpt
to
labelId