return isOnSingleComponent() ? componentUuids.get(0) : null; | return isOnSingleComponent() ? componentUuids.iterator().next() : null; | componentUuids.get(0) | componentUuids.iterator().next() | sonarqube | 12a0704dd3d79fdbc7162b6a4c0a8a2f196b15dc | org.sonar.db.measure.MeasureQuery | | _1 | componentUuids |
---|
_2 | componentUuids |
---|
| | | | Uses | True |
return isOnComponents() ? projectUuids.get(0) : null; | return isOnComponents() ? projectUuids.iterator().next() : null; | projectUuids.get(0) | projectUuids.iterator().next() | sonarqube | 12a0704dd3d79fdbc7162b6a4c0a8a2f196b15dc | org.sonar.db.measure.MeasureQuery | | _1 | projectUuids |
---|
_2 | projectUuids |
---|
| | | | Uses | True |
assertThat(aggregatorFactories.get(0),instanceOf(FilterAggregationBuilder.class)); | assertThat(aggregatorFactories.iterator().next(),instanceOf(FilterAggregationBuilder.class)); | aggregatorFactories.get(0) | aggregatorFactories.iterator().next() | elasticsearch | e2f310b56cf4f5c45196f7adda1cd687d164ef3d | org.elasticsearch.search.aggregations.AggregatorFactoriesTests | | _1 | aggregatorFactories |
---|
_2 | aggregatorFactories |
---|
| TCIVar | aggregatorFactories |
---|
| | TCIVar | aggregatorFactories |
---|
| Uses | True |
attributeValue=valueAsList.get(0); | attributeValue=valueAsList.iterator().next(); | valueAsList.get(0) | valueAsList.iterator().next() | keycloak | 2a4cee60440be6767e0f1e9155cebfa381cfb776 | org.keycloak.protocol.oidc.mappers.OIDCAttributeMapperHelper | | _1 | valueAsList |
---|
_2 | valueAsList |
---|
| | | | Uses | True |
Call newCall=Expressions.call(newOperator,call.arguments().get(0),Expressions.constant(values.get(0))); | Call newCall=Expressions.call(newOperator,call.arguments().get(0),Expressions.constant(values.iterator().next())); | values.get(0) | values.iterator().next() | immutables | d3c95a3d9252ed6daede98ab96195bb67559a551 | org.immutables.criteria.mongo.FindVisitor | | | | | | Uses | True |