Skip to content

Commit

Permalink
Fixed wrong strimzi domain for rebalance annotation in Javadoc (#10622)
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Patierno <[email protected]>
  • Loading branch information
ppatierno authored Sep 22, 2024
1 parent 3649beb commit c37f9ce
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1169,8 +1169,8 @@ private MapAndStatus<ConfigMap, KafkaRebalanceStatus> handleRebalanceResponse(Re
* If the annotation is not set it returns {@code RebalanceAnnotation.none} while if it's a not valid value, it
* returns {@code RebalanceAnnotation.unknown}.
*
* @param kafkaRebalance KafkaRebalance resource instance from which getting the value of the strimzio.io/rebalance annotation
* @return the {@code RebalanceAnnotation} enum value for the raw String value of the strimzio.io/rebalance annotation
* @param kafkaRebalance KafkaRebalance resource instance from which getting the value of the strimzi.io/rebalance annotation
* @return the {@code RebalanceAnnotation} enum value for the raw String value of the strimzi.io/rebalance annotation
*/
/* test */ KafkaRebalanceAnnotation rebalanceAnnotation(KafkaRebalance kafkaRebalance) {
String rebalanceAnnotationValue = rawRebalanceAnnotation(kafkaRebalance);
Expand All @@ -1191,11 +1191,11 @@ private MapAndStatus<ConfigMap, KafkaRebalanceStatus> handleRebalanceResponse(Re
}

/**
* Return the raw String value of the strimzio.io/rebalance annotation, if exists, on the provided
* Return the raw String value of the strimzi.io/rebalance annotation, if exists, on the provided
* KafkaRebalance resource instance otherwise return null
*
* @param kafkaRebalance KafkaRebalance resource instance from which getting the value of the strimzio.io/rebalance annotation
* @return the value for the strimzio.io/rebalance annotation on the provided KafkaRebalance resource instance
* @param kafkaRebalance KafkaRebalance resource instance from which getting the value of the strimzi.io/rebalance annotation
* @return the value for the strimzi.io/rebalance annotation on the provided KafkaRebalance resource instance
*/
private String rawRebalanceAnnotation(KafkaRebalance kafkaRebalance) {
return hasRebalanceAnnotation(kafkaRebalance) ?
Expand Down Expand Up @@ -1225,10 +1225,10 @@ private void validateAnnotation(Reconciliation reconciliation, Set<Condition> co
}

/**
* Return true if the provided KafkaRebalance resource instance has the strimzio.io/rebalance annotation
* Return true if the provided KafkaRebalance resource instance has the strimzi.io/rebalance annotation
*
* @param kafkaRebalance KafkaRebalance resource instance to check
* @return if the provided KafkaRebalance resource instance has the strimzio.io/rebalance annotation
* @return if the provided KafkaRebalance resource instance has the strimzi.io/rebalance annotation
*/
private boolean hasRebalanceAnnotation(KafkaRebalance kafkaRebalance) {
return kafkaRebalance.getMetadata().getAnnotations() != null &&
Expand Down

0 comments on commit c37f9ce

Please sign in to comment.