-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Cosmoscosmos:v4-itemIndicates this feature will be shipped as part of V4 release trainIndicates this feature will be shipped as part of V4 release train
Description
The following two methods will result in infinite recursion:
public final class SqlParameterList implements List<SqlParameter> {
private final List<SqlParameter> parameters;
// ....
@Override
public ListIterator<SqlParameter> listIterator() {
return this.listIterator();
}
@Override
public ListIterator<SqlParameter> listIterator(int index) {
return this.listIterator(index);
}
// ..
}I think it is suppose to use parameters.listIterator() and parameters.listIterator(index).
Same with below getProperties
ref.
public class CosmosAsyncConflictResponse extends CosmosResponse<CosmosConflictProperties> {
CosmosAsyncConflictResponse(ResourceResponse<Conflict> response, CosmosAsyncContainer container) {
super(response);
// ..
if (StringUtils.isEmpty(bodyAsString)) {
super.setProperties(null);
// ..
} else {
CosmosConflictProperties props = new CosmosConflictProperties(bodyAsString);
super.setProperties(props);
// ..
}
}
// ..
public CosmosConflictProperties getProperties() {
return this.getProperties();
}
}I guess it is supposed to use super.getProperties() instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Cosmoscosmos:v4-itemIndicates this feature will be shipped as part of V4 release trainIndicates this feature will be shipped as part of V4 release train