Exclude Auto-Configuration Classes in Spring Boot Tests 1. Overview In this quick tutorial, we’ll discuss how to exclude auto-configuration classes from Spring Boot tests. Spring Boot’s auto-configuration feature is very handy, as it takes care of a lot of setup for us. However, this can also be an issue during… Continue Reading spring-boot-exclude-auto-configuration-test

Java Stream Filter with Lambda Expression 1. Introduction In this quick tutorial, we’ll explore the use of the Stream.filter() method when we work with Streams in Java. We’ll show how to use it and how to handle special cases with checked exceptions. 2. Using Stream.filter() The filter() method is an intermediate… Continue Reading java-stream-filter-lambda

Static and Default Methods in Interfaces in Java 1. Overview Java 8 brought to the table a few brand new features, including lambda expressions, functional interfaces, method references, streams, Optional, and static and default methods in interfaces. Some of them have been already covered in this article. Nonetheless, static and… Continue Reading java-static-default-methods