Among Us is an online space-themed multiplayer deduction game developed and published by InnerSloth. The game divides the players into two groups – space crews and impostors. The space crews have goals—one, to complete all tasks essential for their survival.
JUnit 4 – Run Test Method More than Once
This post demonstrates how to perform repeated tests in JUnit 4 for this post. It involves creating a class that implements the TestRule interface, another class that implements Statement interface and a new annotation.
Sort Lists in Java 8 using Comparator
This post demonstrates how to use Java 8 Comparator by examples.
Limit Depth of Inheritance in Java
[wp_ad_camp_5] This post demonstrates how to limit the depth of Inheritance in your codes. We will use a class InheritanceUtils from Apache Commons Lang. Inheritance is Evil Yes, inheritance is evil. If we subclass too much in our code base,
More Elegant way to Retry Operations in Java using Spring
This post talks about a better way to retry failed operations in Java using classes in Spring.
Using Spring Retry API
Did a method just throw an Exception? Well, we could re-invoke it a few times more before giving up using Spring’s Retry API. Last time we touched on BackOff and related interfaces and classes which is used in this API.
Java Compiler Weird Error in Travis CI due to Implicit Exception type
We were trying to build this Maven project in Travis CI and got a weird compilation error. After modifying the codes to explicitly define the exception types.
MySQL JSON Type
MySQL has started supporting JSON column data type since MySQL 5.7.8. This post explores this new type and its basic usages.
How to Add Android SDK in IntelliJ IDEA
This post demonstrates how to add an Android SDK in IntelliJ IDEA.
Modify XML Element Content in Java using XSLT
This post demonstrates how to modify some parts of the XML content in Java using XSLT. The example herein is rather straight-forward but will provide us a basic working codes before going further to learn the more advanced stuff.