You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2014/04/19 13:21:38 UTC
svn commit: r1588640 -
/oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
Author: bfoster
Date: Sat Apr 19 11:21:38 2014
New Revision: 1588640
URL: http://svn.apache.org/r1588640
Log:
- Added new GenericEmailParser
Modified:
oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
Modified: oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java
URL: http://svn.apache.org/viewvc/oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java?rev=1588640&r1=1588639&r2=1588640&view=diff
==============================================================================
--- oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java (original)
+++ oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java Sat Apr 19 11:21:38 2014
@@ -83,10 +83,10 @@ public class GenericEmailParser implemen
List<String> filePaths = generateFilePaths(emailText);
for (String filePath : filePaths) {
- new VirtualFile(root, filePath, false);
+ new VirtualFile(root, pathToRoot + filePath, false);
}
- return new VirtualFileStructure(pathToRoot != null ? pathToRoot : "/", root);
+ return new VirtualFileStructure("/", root);
}
private String readEmail(FileInputStream emailFile) {