langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/Configuration.java
changeset 22165 ec53c8946fc2
parent 22163 3651128c74eb
child 24221 2376793dd33b
equal deleted inserted replaced
22164:c8eb1ae29c58 22165:ec53c8946fc2
   392 
   392 
   393         // Group the packages to be documented by the lowest profile (if any)
   393         // Group the packages to be documented by the lowest profile (if any)
   394         // in which each appears
   394         // in which each appears
   395         Map<Profile, List<PackageDoc>> interimResults = new EnumMap<>(Profile.class);
   395         Map<Profile, List<PackageDoc>> interimResults = new EnumMap<>(Profile.class);
   396         for (Profile p: Profile.values())
   396         for (Profile p: Profile.values())
   397             interimResults.put(p, new ArrayList<>());
   397             interimResults.put(p, new ArrayList<PackageDoc>());
   398 
   398 
   399         for (PackageDoc pkg: packages) {
   399         for (PackageDoc pkg: packages) {
   400             if (nodeprecated && Util.isDeprecated(pkg)) {
   400             if (nodeprecated && Util.isDeprecated(pkg)) {
   401                 continue;
   401                 continue;
   402             }
   402             }