protected void mergeMailingList_OtherArchives( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { List<String> src = source.getOtherArchives(); if ( !src.isEmpty() ) { List<String> tgt = target.getOtherArchives(); List<String> merged = new ArrayList<>( tgt.size() + src.size() ); merged.addAll( tgt ); merged.addAll( src ); target.setOtherArchives( merged ); } }
public static MailingList cloneMailingList( MailingList src ) { if ( src == null ) { return null; } MailingList result = new MailingList(); result.setArchive( src.getArchive() ); result.setName( src.getName() ); result.setOtherArchives( src.getOtherArchives() ); result.setPost( src.getPost() ); result.setSubscribe( src.getSubscribe() ); result.setUnsubscribe( src.getUnsubscribe() ); return result; }
mailingList.setOtherArchives( otherArchives ); while ( parser.nextTag() == XmlPullParser.START_TAG )
mailingList.setOtherArchives( otherArchives ); InputLocation _locations; _locations = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source );
mailingList.setOtherArchives( otherArchives ); while ( parser.nextTag() == XmlPullParser.START_TAG )
protected void mergeMailingList_OtherArchives( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { List<String> src = source.getOtherArchives(); if ( !src.isEmpty() ) { List<String> tgt = target.getOtherArchives(); List<String> merged = new ArrayList<String>( tgt.size() + src.size() ); merged.addAll( tgt ); merged.addAll( src ); target.setOtherArchives( merged ); } }
mailingList.setOtherArchives( otherArchives ); while ( xmlStreamReader.nextTag() == XMLStreamConstants.START_ELEMENT )
mailingList.setOtherArchives( otherArchives ); for ( Iterator j = childElement.nodeIterator(); j.hasNext(); )
mailingList.setOtherArchives( otherArchives ); while ( parser.nextTag() == XmlPullParser.START_TAG )
mailingList.setOtherArchives( otherArchives ); while ( parser.nextTag() == XmlPullParser.START_TAG )
mailingList.setOtherArchives( otherArchives ); InputLocation _locations; _locations = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source );