This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jci.git
commit 90f7b08308a8071323055177e52b63166c0bc967 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Tue Jul 9 14:28:17 2024 -0400 Use diamonds --- .../commons/jci2/examples/configuration/ConfigurationReloading.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/src/main/java/org/apache/commons/jci2/examples/configuration/ConfigurationReloading.java b/examples/src/main/java/org/apache/commons/jci2/examples/configuration/ConfigurationReloading.java index c2e08ab..44c5b13 100644 --- a/examples/src/main/java/org/apache/commons/jci2/examples/configuration/ConfigurationReloading.java +++ b/examples/src/main/java/org/apache/commons/jci2/examples/configuration/ConfigurationReloading.java @@ -44,7 +44,7 @@ public final class ConfigurationReloading { System.out.println("Watching " + configFile.getAbsolutePath()); - final Collection<Configurable> configurables = new ArrayList<Configurable>(); + final Collection<Configurable> configurables = new ArrayList<>(); final FilesystemAlterationListener listener = new FileChangeListener() { @Override