Do You Still Need Apache Commons StringUtils in Modern Java?May 22, 2024·3 minsjavaJava 8 and later versions have introduced built-in string utilities that make Apache Commons StringUtils less necessary. Learn how to replace it with modern Java methods.
STSproxy: Secure, simple third-party AWS accessJanuary 19, 2024java aws spring-bootAn authentication proxy to provide secure, temporary, least-privilege credentials to your AWS environment.
🌱 Testing Log Statements in Spring BootJanuary 8, 2022·2 minsjava spring-bootI explain how to test log statements in Spring Boot using the OutputCaptureExtension.
Java Streams: Use anyMatch() over count() > 0 for checking at least one occurrenceMarch 2, 2020·3 minsjavaI discuss why using the anyMatch() method in the Java Stream API is both safer and more performant than using filter().count > 0.
Spring overwrites map keys with bean name from valueJanuary 5, 2020·2 minsjava springI cover a strange behavior where Spring overwrites map keys with value bean names.
Calling remove() on ArrayList throws UnsupportedOperationExceptionFebruary 26, 2019·1 minjavaI cover one of the nuances in the Java Collections Framework when creating ArrayList objects.
Why Removing an Element from an ArrayList in Java Can Throw UnsupportedOperationExceptionFebruary 26, 2019·1 minjavaIn this article, we’ll cover one of the nuances in the Java Collections Framework when creating ArrayList objects.
Create a file with a specific size in JavaFebruary 1, 2019·Updated: February 26, 2024·1 minjavaI cover how to create an empty file and a file with a certain size filled with random data.
Sort a List of Objects by Field in JavaMay 9, 2018·3 minsjavaI demonstrate the different ways to sort a list of objects by field.