{{theTime}}

Search This Blog

Total Pageviews

com.google.common.base.Objects.firstNonNull is deprecated

com.google.common.base.Objects.firstNonNull() is deprecated.

Fix

com.google.common.base.Objects.MoreObjects.firstNonNull() instead.

No comments:

Java Shutdown Hook

Runtime.getRuntime().addShutdownHook(new Thread(() -> {             System.out.println("Shutdown started");              //  Cl...