src/main/java/com/atlassian/uwc/converters/mediawiki/AttachmentConverter.java [37:56]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void addAttachmentsToPage(Page page, String attachmentDir) {
    	//what attachments are we looking for?
    	log.debug("Finding Attachments");
    	Vector soughtAttachments = getSoughtAttachmentNames(page);
    	if (soughtAttachments == null || soughtAttachments.size() == 0)
    		 return;
    	
    	//get filelist from the attachment directory
    	log.debug("Examining File Directory");
        File attachmentPageDir = new File(attachmentDir);
        File files[] = attachmentPageDir.listFiles();
        if (files==null) {
            log.info("no attachment files found in directory: "+attachmentDir);
            return;
        }
        
        // add sought after attachments. This is a recursive method.
        log.debug("Attaching files to page");
        addAttachments(page, files, soughtAttachments);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/atlassian/uwc/converters/vqwiki/AttachmentConverter.java [81:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	    protected void addAttachmentsToPage(Page page, String attachmentDir) {
	    	//what attachments are we looking for?
	    	log.debug("Finding Attachments...");
	    	Vector soughtAttachments = getSoughtAttachmentNames(page);
	    	if (soughtAttachments == null || soughtAttachments.size() == 0)
	    		 return;
	    	
	    	//get filelist from the attachment directory
	    	log.debug("Examining File Directory");
	        File attachmentPageDir = new File(attachmentDir);
	        File files[] = attachmentPageDir.listFiles();
	        if (files==null) {
	            log.info("no attachment files found in directory: "+attachmentDir);
	            return;
	        }
	        
	        // add sought after attachments. This is a recursive method.
	        log.debug("Attaching files to page");
	        addAttachments(page, files, soughtAttachments);
	    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



