flink icon indicating copy to clipboard operation
flink copied to clipboard

Use isEmpty() instead of length() > 0 in WordCount Tokenizer

Open Diogo-Sardagna opened this issue 5 months ago • 1 comments

The change enhances code clarity by using the semantically appropriate method provided by the String API. Although functionally equivalent, ‘isEmpty()’ more clearly communicates the intent of checking for an empty string, aligning with common Java coding practices. This improves maintainability and consistency across the codebase.

Diogo-Sardagna avatar Jul 03 '25 22:07 Diogo-Sardagna

CI report:

  • dc6532de3a44a55b56acf72c0f117b40ae0a2302 Azure: SUCCESS
Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

flinkbot avatar Jul 03 '25 22:07 flinkbot