Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17588/src/xdoclet/tagshandler
Modified Files: ClassTagsHandler.java Log Message: formatting Index: ClassTagsHandler.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler/ClassTagsHandler.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** ClassTagsHandler.java 26 Jul 2005 21:02:38 -0000 1.27 --- ClassTagsHandler.java 26 Jul 2005 21:35:53 -0000 1.28 *************** *** 678,710 **** classTagStack.push(currentTag); try { ! boolean superclasses = TypeConversionUtil.stringToBoolean(attributes.getProperty("superclasses"), true); ! Collection tags = getCurrentClass().getDoc().getTags(attributes.getProperty("tagName"), superclasses); ! Set done = new HashSet(); ! ! matchPattern = null; ! ! String tagKey = attributes.getProperty("tagKey"); ! ! for (Iterator i = tags.iterator(); i.hasNext(); ) { ! XTag tag = (XTag) i.next(); ! ! if (tagKey != null) { ! String key = tag.getAttributeValue(tagKey); ! ! if (!done.add(key)) { ! // no change to set, therefore we must have already done this tag ! continue; } - } ! setCurrentClassTag(tag); ! generate(template); } ! } finally { ! if (classTagStack.size() == 0) ! currentTag = null; ! else ! currentTag = (XTag) classTagStack.pop(); } log.debug("popped [" + currentTag + "] off of class tag stack"); --- 678,714 ---- classTagStack.push(currentTag); try { ! boolean superclasses = TypeConversionUtil.stringToBoolean( ! attributes.getProperty("superclasses"), true); ! Collection tags = getCurrentClass().getDoc().getTags( ! attributes.getProperty("tagName"), superclasses); ! Set done = new HashSet(); ! ! matchPattern = null; ! ! String tagKey = attributes.getProperty("tagKey"); ! ! for (Iterator i = tags.iterator(); i.hasNext(); ) { ! XTag tag = (XTag) i.next(); ! ! if (tagKey != null) { ! String key = tag.getAttributeValue(tagKey); ! ! if (!done.add(key)) { ! // no change to set, therefore we must have already done ! // this tag ! continue; ! } } ! setCurrentClassTag(tag); ! generate(template); ! } } ! finally { ! if (classTagStack.size() == 0) ! currentTag = null; ! else ! currentTag = (XTag) classTagStack.pop(); } log.debug("popped [" + currentTag + "] off of class tag stack"); ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel