Core Java
-
JEP 355 Text Blocks in JDK 13
JDK 13 went GA on September 17th, 2019 and the prominent new features are listed here. One of the new features…
Read More » -
Is your JVM leaking file descriptors – like mine?
Foreword: The two issues described here, were discovered and fixed more than a year ago. This article only serves as…
Read More » -
The Structural Bug
A team member was having a bit of trouble with the following code: 01 02 03 04 05 06 07…
Read More » -
Date/Time Printing Can Be Elegant Too
I owe my pretty high StackOverflow reputation to this question in particular, which I asked a few years ago: How…
Read More » -
Handling repeated code automatically
In this article I will describe how you can use Java::Geci generator Repeated to overcome the Java language shortage that…
Read More » -
Pub/Sub local emulator
Pub/Sub is a nice tool provided by GCP. It is really handy and can help you with the messaging challenges…
Read More » -
Can/Should I use parallel streams in a transaction context?
Introduction To make a long story short, you should not use transactions within a parallel stream. This is because each…
Read More » -
Double Check Locking in Java
In this post, we’ll be taking a look at some techniques of creating a Singleton object in RxJava. Most importantly,…
Read More » -
Identifying Code Smells In Java
As a software developer, it’s our responsibility to not only write code that works but rather write code that’s maintainable.…
Read More »