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:24:04 UTC

svn commit: r1588641 - /oodt/trunk/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/parsers/GenericEmailParser.java

Author: bfoster
Date: Sat Apr 19 11:24:04 2014
New Revision: 1588641

URL: http://svn.apache.org/r1588641
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=1588641&r1=1588640&r2=1588641&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:24:04 2014
@@ -23,12 +23,10 @@ import org.apache.oodt.cas.pushpull.file
 import org.apache.oodt.cas.pushpull.filerestrictions.VirtualFileStructure;
 import org.apache.oodt.cas.pushpull.exceptions.ParserException;
 
-
-import com.google.common.base.Strings;
 //Google imports
+import com.google.common.base.Strings;
 import com.google.common.collect.Lists;
 
-
 //JDK imports
 import java.io.FileInputStream;
 import java.util.List;
@@ -127,6 +125,6 @@ public class GenericEmailParser implemen
   }
   
   private String loadPathToRoot() {
-    return Strings.emptyToNull(System.getProperty(PATH_TO_ROOT_PROPERTY_NAME));
+    return Strings.nullToEmpty(System.getProperty(PATH_TO_ROOT_PROPERTY_NAME));
   }
 }