• Removed @SuppressWarnings as it was no longer needed.
  • Used pattern matching.
  • Replace the while loop with string repeat

Comment From: mhalbritter

Thanks!

Comment From: arefbehboudi

thank you @mhalbritter , Can I ask why my pull request build is getting errors?

Comment From: mhalbritter

On the CI, you mean? There's something wrong in the infrastructure I think.

Comment From: arefbehboudi

Thank you, so the issue is not with my pull request.