changeset 4267:73454cdf4732

requirs public -> requires transitive
author mchung
date Tue, 23 Aug 2016 14:13:30 -0700
parents d8c7bf66b0e6
children a484bca26c24
files src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleAnalyzer.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleAnalyzer.java	Tue Aug 23 14:09:54 2016 -0700
+++ b/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleAnalyzer.java	Tue Aug 23 14:13:30 2016 -0700
@@ -366,15 +366,15 @@
 
     private boolean matches(ModuleDescriptor md, ModuleDescriptor other) {
         // build requires transitive from ModuleDescriptor
-        Set<ModuleDescriptor.Requires> reqPublic = md.requires().stream()
+        Set<ModuleDescriptor.Requires> reqTransitive = md.requires().stream()
             .filter(req -> req.modifiers().contains(TRANSITIVE))
             .collect(toSet());
-        Set<ModuleDescriptor.Requires> otherReqPublic = other.requires().stream()
+        Set<ModuleDescriptor.Requires> otherReqTransitive = other.requires().stream()
             .filter(req -> req.modifiers().contains(TRANSITIVE))
             .collect(toSet());
 
-        if (!reqPublic.equals(otherReqPublic)) {
-            trace("mismatch requires transitive: %s%n", reqPublic);
+        if (!reqTransitive.equals(otherReqTransitive)) {
+            trace("mismatch requires transitive: %s%n", reqTransitive);
             return false;
         }