summaryrefslogtreecommitdiffstats
path: root/bundle-plugin
diff options
context:
space:
mode:
authorgjoranv <gv@yahooinc.com>2023-05-22 12:21:20 +0200
committergjoranv <gv@yahooinc.com>2023-05-22 12:22:05 +0200
commitbebeaa9ef2df005a1abd088e0375c4dc869e2986 (patch)
treec1afa75473518e7f5383bb9bbf6a931e762938dc /bundle-plugin
parenta615b6986fbe7dee115d38199d59ffe655304c94 (diff)
Use better names
Diffstat (limited to 'bundle-plugin')
-rw-r--r--bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageTally.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageTally.java b/bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageTally.java
index e2de90a6463..03398307e03 100644
--- a/bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageTally.java
+++ b/bundle-plugin/src/main/java/com/yahoo/container/plugin/classanalysis/PackageTally.java
@@ -35,8 +35,8 @@ public class PackageTally {
public Map<String, ExportPackageAnnotation> exportedPackages() {
Map<String, ExportPackageAnnotation> ret = new HashMap<>();
- definedPackagesMap.forEach((k, v) -> {
- v.ifPresent(annotation -> ret.put(k, annotation));
+ definedPackagesMap.forEach((pkg, annotation) -> {
+ annotation.ifPresent(a -> ret.put(pkg, a));
});
return ret;
}