For when you need to diagnose test failures by examining more detailed log output, here is how to reconfigure the logging in Spring apps at test time.
Search Results for: set
Guide to Guava Multiset
Store counts of duplicates in a set using Guava Multiset. See how to use this powerful part of the Guava library in single and multi-threaded applications.
Eclipse Error: web.xml is missing and failOnMissingWebXml is set to true
Learn how to fix the eclipse error: web.xml is missing and failOnMissingWebXml is set to true
Guide to the JDBC ResultSet Interface
Learn how to use the JDBC ResultSet API for retrieving and updating data
Setting up Lombok with Eclipse and Intellij
Learn how to set up Lombok with popular IDEs
Differences Between ZonedDateTime and OffsetDateTime
Explore the differences between the ZonedDateTime and the OffsetDateTime classes in Java
Immutable Set in Java
Learn about different ways to create an immutable set in Java
Lombok Builder with Custom Setter
Have a look at how to use the generated Lombok Builder with a custom setter.
Setting the Java Version in Maven
Learn about different ways to set the Java version for your Maven project
Guide to EnumSet
Quickly learn about the EnumSet and how to start using it in practical scenarios.
Gradle: build.gradle vs. settings.gradle vs. gradle.properties
Explore different configuration files of a Gradle Java project.
WildFly with Eclipse – Installation and Setup
Learn how to run and debug applications on WildFly directly from the Eclipse IDE.
ZoneOffset in Java
A quick tutorial to dealing with ZoneOffset and ZoneId in Java.
Set a Response Body in JAX-RS
Learn how to set the JAX-RS response body for various media types
Performance of contains() in a HashSet vs ArrayList
Learn about the performance differences between ArrayList.contains() and HashSet.contains()
Set the Time Zone of a Date in Java
Learn how to set the time zone of a date in Java 7, Java 8 and Joda-Time
A Guide to SqlResultSetMapping
Learn how to use JPA’s SqlResultSetMapping to map database results to Java objects
Initializing HashSet at the Time of Construction
Explore multiple ways to initialize a HashSet while it’s constructed.
How to Set a Header on a Response with Spring 6
Learn how to set a header on a specific response or on all response in Spring.
Using Spring @ResponseStatus to Set HTTP Status Code
Have a look at the @ResponseStatus annotation and how to use it to set the response status code.