From c05ab2660c017cb54ee9a591e2e02434e78bd176 Mon Sep 17 00:00:00 2001 From: gjoranv Date: Thu, 25 Aug 2022 17:24:34 +0200 Subject: minor: declare logger final and correct grammar in comment. --- .../src/main/java/com/yahoo/jdisc/core/BundleCollisionHook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/core') diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/BundleCollisionHook.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/BundleCollisionHook.java index 6b57b1e90e7..2f90b4e067f 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/BundleCollisionHook.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/BundleCollisionHook.java @@ -31,7 +31,7 @@ import java.util.stream.Collectors; * @author gjoranv */ public class BundleCollisionHook implements CollisionHook, EventHook, FindHook { - private static Logger log = Logger.getLogger(BundleCollisionHook.class.getName()); + private static final Logger log = Logger.getLogger(BundleCollisionHook.class.getName()); private ServiceRegistration registration; private Map allowedDuplicates = new HashMap<>(5); @@ -90,7 +90,7 @@ public class BundleCollisionHook implements CollisionHook, EventHook, FindHook { /** * Filters out the set of bundles that should not be visible to the bundle associated with the given context. * If the given context represents one of the allowed duplicates, this method filters out all bundles - * that are duplicates of the allowed duplicates. Otherwise this method filters out the allowed duplicates, + * that are duplicates of the allowed duplicates. Otherwise, this method filters out the allowed duplicates, * so they are not visible to other bundles. */ @Override -- cgit v1.2.3