public String toString() { return '['+getAuthor() + "," + getDate() + "," + getFiles() + "," + getComment()+']'; } }
/** * replace all known author's id's with their maven specified names */ private void replaceAuthorIdWithName(final Properties userList, final CVSEntry[] entrySet) { for (int i = 0; i < entrySet.length; i++) { final CVSEntry entry = entrySet[i]; if (userList.containsKey(entry.getAuthor())) { entry.setAuthor(userList.getProperty(entry.getAuthor())); } } }
/** * Utility method that saves the current entry. */ private void saveEntry() { final String entryKey = m_date + m_author + m_comment; CVSEntry entry; if (!m_entries.containsKey(entryKey)) { entry = new CVSEntry(parseDate(m_date), m_author, m_comment); m_entries.put(entryKey, entry); } else { entry = m_entries.get(entryKey); } String branch = findBranch(m_revision); owner.log( "Recorded a change: " + m_date + ',' + m_author + ',' + m_revision + "(branch=" + branch + ")," + m_comment, Project.MSG_VERBOSE); entry.addFile(m_file, m_fullName, m_revision, m_previousRevision, branch, m_dead); }
final Date date = cvsEntry.getDate(); if (null == getTag() && !cvsEntry.containsBranch(branch)) {
/** * Utility method that saves the current entry. */ private void saveEntry() { final String entryKey = m_date + m_author + m_comment; CVSEntry entry; if (!m_entries.containsKey(entryKey)) { entry = new CVSEntry(parseDate(m_date), m_author, m_comment); m_entries.put(entryKey, entry); } else { entry = m_entries.get(entryKey); } String branch = findBranch(m_revision); owner.log( "Recorded a change: " + m_date + ',' + m_author + ',' + m_revision + "(branch=" + branch + ")," + m_comment, Project.MSG_VERBOSE); entry.addFile(m_file, m_fullName, m_revision, m_previousRevision, branch, m_dead); }
final Date date = cvsEntry.getDate(); if (null == getTag() && !cvsEntry.containsBranch(branch)) {
public String toString() { return '['+getAuthor() + "," + getDate() + "," + getFiles() + "," + getComment()+']'; } }
/** * replace all known author's id's with their maven specified names */ private void replaceAuthorIdWithName(final Properties userList, final CVSEntry[] entrySet) { for (int i = 0; i < entrySet.length; i++) { final CVSEntry entry = entrySet[i]; if (userList.containsKey(entry.getAuthor())) { entry.setAuthor(userList.getProperty(entry.getAuthor())); } } }
output.println("\t\t<date>" + c_outputDate.format(entry.getDate()) + "</date>"); output.println("\t\t<time>" + c_outputTime.format(entry.getDate()) + "</time>"); output.println("\t\t<author><![CDATA[" + entry.getAuthor() + "]]></author>"); final Enumeration enumeration = entry.getFiles().elements(); output.println("\t\t<msg><![CDATA[" + entry.getComment() + "]]></msg>"); output.println("\t</entry>");
output.println("\t\t<date>" + c_outputDate.format(entry.getDate()) + "</date>"); output.println("\t\t<time>" + c_outputTime.format(entry.getDate()) + "</time>"); output.println("\t\t<author><![CDATA[" + entry.getAuthor() + "]]></author>"); final Enumeration enumeration = entry.getFiles().elements(); output.println("\t\t<msg><![CDATA[" + entry.getComment() + "]]></msg>"); output.println("\t</entry>");