protected LinkedList<ModificationRecord> parseModificationRecords(Tag[] tags) {
		LinkedList<ModificationRecord> result = new LinkedList<ModificationRecord>();
		for (int i = 0; i < tags.length; i++) {
			if ("@author".equalsIgnoreCase(tags[i].name())) {
				ModificationRecord record = new ModificationRecord();
				record.setModifier(tags[i].text());

				if (i + 1 < tags.length) {
					if ("@version".equalsIgnoreCase(tags[i + 1].name())) {
						record.setVersion(tags[i + 1].text());
						if (i + 2 < tags.length && ("@" + WRMemoTaglet.NAME).equalsIgnoreCase(tags[i + 2].name())) {
							record.setMemo(tags[i + 2].text());
						}
					} else if (("@" + WRMemoTaglet.NAME).equalsIgnoreCase(tags[i + 1].name())) {
						record.setMemo(tags[i + 1].text());
					}
				}
				result.add(record);
			}
		}

		return result;
	}
protected LinkedList < ModificationRecord > parseModificationRecords ( Tag [ ] tags ) { LinkedList < ModificationRecord > result = new LinkedList < ModificationRecord > ( ) ; for ( int i = 0 ; i < tags . length ; i ++ ) { if ( "@author" . equalsIgnoreCase ( tags [ i ] . name ( ) ) ) { ModificationRecord record = new ModificationRecord ( ) ; record . setModifier ( tags [ i ] . text ( ) ) ; if ( i + 1 < tags . length ) { if ( "@version" . equalsIgnoreCase ( tags [ i + 1 ] . name ( ) ) ) { record . setVersion ( tags [ i + 1 ] . text ( ) ) ; if ( i + 2 < tags . length && ( "@" + WRMemoTaglet . NAME ) . equalsIgnoreCase ( tags [ i + 2 ] . name ( ) ) ) { record . setMemo ( tags [ i + 2 ] . text ( ) ) ; } } else if ( ( "@" + WRMemoTaglet . NAME ) . equalsIgnoreCase ( tags [ i + 1 ] . name ( ) ) ) { record . setMemo ( tags [ i + 1 ] . text ( ) ) ; } } result . add ( record ) ; } } return result ; }
/*
Parse tags to get modification records.