langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Group.java
changeset 1789 7ac8c0815000
parent 1475 19c0851667ca
child 5520 86e4b9a9da40
equal deleted inserted replaced
1788:ced0a1a7ec80 1789:7ac8c0815000
   150      * @param map Map to be searched.
   150      * @param map Map to be searched.
   151      * @param pkgFormat The pacakge format to search.
   151      * @param pkgFormat The pacakge format to search.
   152      *
   152      *
   153      * @return true if package name format found in the map, else false.
   153      * @return true if package name format found in the map, else false.
   154      */
   154      */
   155     boolean foundGroupFormat(Map map, String pkgFormat) {
   155     boolean foundGroupFormat(Map<String,?> map, String pkgFormat) {
   156         if (map.containsKey(pkgFormat)) {
   156         if (map.containsKey(pkgFormat)) {
   157             configuration.message.error("doclet.Same_package_name_used", pkgFormat);
   157             configuration.message.error("doclet.Same_package_name_used", pkgFormat);
   158             return true;
   158             return true;
   159         }
   159         }
   160         return false;
   160         return false;
   237 
   237 
   238     /**
   238     /**
   239      * Return the list of groups, in the same order as specified
   239      * Return the list of groups, in the same order as specified
   240      * on the command line.
   240      * on the command line.
   241      */
   241      */
   242     public List getGroupList() {
   242     public List<String> getGroupList() {
   243         return groupList;
   243         return groupList;
   244     }
   244     }
   245 }
   245 }