Tagged articles
11 articles
Page 1 of 1
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 11, 2025 · Backend Development

Understanding Apache Commons Lang StringUtils: isEmpty, isBlank and Related Utility Methods

This article explains the differences between the various Apache Commons Lang StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, provides example code snippets, and points to official documentation for deeper reference.

Apache Commons LangBackend DevelopmentJava
0 likes · 7 min read
Understanding Apache Commons Lang StringUtils: isEmpty, isBlank and Related Utility Methods
Java Captain
Java Captain
Feb 14, 2025 · Fundamentals

Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods

This article explains the differences and usage of Apache Commons Lang3 StringUtils methods such as isEmpty, isNotEmpty, isAnyEmpty, isNoneEmpty, isBlank, isNotBlank, isAnyBlank, and isNoneBlank, providing code examples and behavioral details for handling null, empty, and whitespace strings in Java.

Apache CommonsJavaStringUtils
0 likes · 6 min read
Understanding Apache Commons StringUtils: isEmpty, isBlank, and Related Methods
macrozheng
macrozheng
Sep 13, 2024 · Backend Development

Mastering Apache Commons StringUtils: When to Use isEmpty, isBlank, and More

This article explains the differences among Apache Commons Lang's StringUtils methods—such as isEmpty, isBlank, isNotEmpty, isAnyEmpty, isNoneEmpty, and their variants—providing code examples, usage guidelines, and practical tips for Java developers to avoid common pitfalls when handling empty or blank strings.

Apache CommonsJavaStringUtils
0 likes · 7 min read
Mastering Apache Commons StringUtils: When to Use isEmpty, isBlank, and More
Su San Talks Tech
Su San Talks Tech
Feb 14, 2021 · Fundamentals

7 Common Java String Pitfalls and How to Avoid Them

This article walks through frequent Java string‑related mistakes—including misuse of replace vs replaceAll, Integer equality pitfalls, BigDecimal precision issues, StringBuilder versus String, isEmpty vs isBlank, MyBatis mapper null checks, and indexOf logic—providing clear explanations, code examples, and best‑practice recommendations.

BigDecimalCode reviewMyBatis
0 likes · 13 min read
7 Common Java String Pitfalls and How to Avoid Them
Programmer DD
Programmer DD
Nov 9, 2020 · Backend Development

When to Use StringUtils.isEmpty vs isBlank in Java?

This article explains the differences between Apache Commons Lang's StringUtils.isEmpty, isBlank, and their complementary methods, shows their source implementations, and offers a recommendation to prefer isBlank for more comprehensive null and whitespace checks.

Apache CommonsJavaStringUtils
0 likes · 3 min read
When to Use StringUtils.isEmpty vs isBlank in Java?