Last week, I needed to implement file upload using Spring Boot. When I finished, I realized that a security hole could happen in my algorithm. So I decided to write this article and share this problem with you. (more…)
Read more »
The challenge For a given string s find the character c (or C) with longest consecutive repetition and return: where l (or L) is the length of the repetition. If there are two or more characters with the same l return the first in order of appearance. For... (more…)
Read more »
Collection of best practices for Java persistence performance in Spring Boot applications - AnghelLeonard/Hibernate-SpringBoot... (more…)
Read more »
This post serves as a reminder of how I got the new Eclipse 2020-03 build running with AdoptOpenJDK 14.
I did this because I wanted to dive into Java 14 and especially the new preview feature for records. Of course I could do that while still running Ecli... (more…)
Read more »
While all three remove boilerplate, the similarities don't go much further. Records have stronger semantics with important downstream benefits, which makes them better*. (* not always; depends on circumstances; excuse the clickbait)... (more…)
Read more »