[jbpm-commits] JBoss JBPM SVN: r6813 - in jbpm3/branches/jbpm-3.2-soa: distribution and 2 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Nov 10 16:11:57 EST 2010
Author: alex.guizar at jboss.com
Date: 2010-11-10 16:11:56 -0500 (Wed, 10 Nov 2010)
New Revision: 6813
Modified:
jbpm3/branches/jbpm-3.2-soa/distribution/pom.xml
jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/pom.xml
jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/java/org/jbpm/ejb/CommandListenerBean.java
jbpm3/branches/jbpm-3.2-soa/pom.xml
Log:
JBPM-2945 remove commons-lang dependency; its limited usage does not justify inclusion in the distribution
Modified: jbpm3/branches/jbpm-3.2-soa/distribution/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/distribution/pom.xml 2010-11-10 21:01:03 UTC (rev 6812)
+++ jbpm3/branches/jbpm-3.2-soa/distribution/pom.xml 2010-11-10 21:11:56 UTC (rev 6813)
@@ -183,10 +183,6 @@
<artifactId>bsh</artifactId>
</dependency>
<dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- </dependency>
- <dependency>
<groupId>org.jboss.cluster</groupId>
<artifactId>hibernate-jbc-cacheprovider</artifactId>
</dependency>
Modified: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/pom.xml 2010-11-10 21:01:03 UTC (rev 6812)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/pom.xml 2010-11-10 21:11:56 UTC (rev 6813)
@@ -83,11 +83,6 @@
<version>1.0</version>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <scope>provided</scope>
- </dependency>
</dependencies>
<profiles>
Modified: jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/java/org/jbpm/ejb/CommandListenerBean.java
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/java/org/jbpm/ejb/CommandListenerBean.java 2010-11-10 21:01:03 UTC (rev 6812)
+++ jbpm3/branches/jbpm-3.2-soa/enterprise-jee5/src/main/java/org/jbpm/ejb/CommandListenerBean.java 2010-11-10 21:11:56 UTC (rev 6813)
@@ -36,7 +36,6 @@
import javax.jms.ObjectMessage;
import javax.jms.Session;
-import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jbpm.command.Command;
@@ -107,22 +106,22 @@
Object result;
try {
if (log.isDebugEnabled()) {
- log.debug("executing " + ReflectionToStringBuilder.toString(command));
+ log.debug("executing " + command);
}
result = commandService.execute(command);
if (log.isTraceEnabled()) {
- log.trace(ReflectionToStringBuilder.toString(command) + " completed successfully, committing");
+ log.trace(command + " completed successfully, committing");
}
}
catch (RuntimeException e) {
// if this is a locking exception, keep it quiet
if (DbPersistenceService.isLockingException(e)) {
StaleObjectLogConfigurer.getStaleObjectExceptionsLog().error(message
- + " failed to execute " + ReflectionToStringBuilder.toString(command), e);
+ + " failed to execute " + command, e);
}
else {
- log.error(message + " failed to execute " + ReflectionToStringBuilder.toString(command), e);
+ log.error(message + " failed to execute " + command, e);
}
// MDBs are not supposed to throw exceptions
messageDrivenContext.setRollbackOnly();
@@ -157,11 +156,11 @@
return (Command) object;
}
else {
- log.warn("not a command: " + ReflectionToStringBuilder.toString(object));
+ log.warn(object + " is not a command");
}
}
else {
- log.warn("not an object message: " + message);
+ log.warn(message + " is not an object message");
}
return null;
}
Modified: jbpm3/branches/jbpm-3.2-soa/pom.xml
===================================================================
--- jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-11-10 21:01:03 UTC (rev 6812)
+++ jbpm3/branches/jbpm-3.2-soa/pom.xml 2010-11-10 21:11:56 UTC (rev 6813)
@@ -136,11 +136,6 @@
<version>1.4</version>
</dependency>
<dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>2.5</version>
- </dependency>
- <dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
More information about the jbpm-commits
mailing list