org.apache.commons.lang.StringUtilsorg.apache.commons.lang3.StringUtils



Project Activiti/Activiti in file ...ebservice.MessageImplicitDataInputAssociation.java (2013-07-16)
@@ -16,7 +16,7 @@ import org.activiti.engine.impl.bpmn.behavior.WebServiceActivityBehavior;
 import org.activiti.engine.impl.bpmn.data.AbstractDataAssociation;
 import org.activiti.engine.impl.bpmn.data.FieldBaseStructureInstance;
 import org.activiti.engine.impl.pvm.delegate.ActivityExecution;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 
 /**
  * An implicit data input association between a source and a target.
@@ -41,4 +41,4 @@ public class MessageImplicitDataInputAssociation extends AbstractDataAssociation
       }
     }
   }
-}
\ No newline at end of file
+}
Project Activiti/Activiti in file ...rocess.ProcessInstanceSignalExecutionResource.java (2013-07-16)
@@ -9,7 +9,7 @@ import org.activiti.engine.RuntimeService;
 import org.activiti.engine.runtime.Execution;
 import org.activiti.rest.api.ActivitiUtil;
 import org.activiti.rest.api.SecuredResource;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 import org.codehaus.jackson.JsonNode;
 import org.codehaus.jackson.map.ObjectMapper;
 import org.codehaus.jackson.node.ObjectNode;
@@ -82,4 +82,4 @@ public class ProcessInstanceSignalExecutionResource extends SecuredResource {
   protected Status getAuthenticationFailureStatus() {
     return Status.CLIENT_ERROR_FORBIDDEN;
   }
-}
\ No newline at end of file
+}
Project Activiti/Activiti in file ...egacy.process.SignalEventSubscriptionResource.java (2013-07-16)
@@ -8,7 +8,7 @@ import org.activiti.engine.ActivitiException;
 import org.activiti.engine.runtime.Execution;
 import org.activiti.rest.api.ActivitiUtil;
 import org.activiti.rest.api.SecuredResource;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 import org.codehaus.jackson.JsonNode;
 import org.codehaus.jackson.map.ObjectMapper;
 import org.codehaus.jackson.node.ObjectNode;
@@ -84,4 +84,4 @@ public class SignalEventSubscriptionResource extends SecuredResource {
   protected Status getAuthenticationFailureStatus() {
     return Status.CLIENT_ERROR_FORBIDDEN;
   }
-}
\ No newline at end of file
+}
Project Athou/commafeed in file ...ava.com.commafeed.backend.service.UserService.java (2014-10-28)
@@ -10,7 +10,7 @@ import javax.inject.Singleton;
 import lombok.RequiredArgsConstructor;
 
 import org.apache.commons.codec.digest.DigestUtils;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 
 import com.commafeed.CommaFeedConfiguration;
 import com.commafeed.backend.dao.FeedCategoryDAO;
@@ -33,7 +33,7 @@ public class UserService {
 
 	private final PasswordEncryptionService encryptionService;
 	private final CommaFeedConfiguration config;
-	
+
 	private final PostLoginActivities postLoginActivities;
 
 	/**
@@ -56,7 +56,7 @@ public class UserService {
 			}
 		}
 		return Optional.absent();
-	}	
+	}
 
 	/**
 	 * try to log in with given api key
Project Athou/commafeed in file ...in.java.com.commafeed.backend.feed.FeedParser.java (2014-10-28)
@@ -11,8 +11,7 @@ import javax.inject.Singleton;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
 
-import org.apache.commons.lang.StringUtils;
-import org.apache.commons.lang.SystemUtils;
+import org.apache.commons.lang3.StringUtils;
 import org.jdom2.Element;
 import org.jdom2.Namespace;
 import org.xml.sax.InputSource;
@@ -173,7 +172,7 @@ public class FeedParser {
 		if (item.getContents().isEmpty()) {
 			content = item.getDescription() == null ? null : item.getDescription().getValue();
 		} else {
-			content = StringUtils.join(Collections2.transform(item.getContents(), CONTENT_TO_STRING), SystemUtils.LINE_SEPARATOR);
+			content = StringUtils.join(Collections2.transform(item.getContents(), CONTENT_TO_STRING), System.lineSeparator());
 		}
 		return StringUtils.trimToNull(content);
 	}