diff --git a/exo.jcr.component.core/pom.xml b/exo.jcr.component.core/pom.xml index 164686e02..2fb63dee9 100644 --- a/exo.jcr.component.core/pom.xml +++ b/exo.jcr.component.core/pom.xml @@ -157,6 +157,10 @@ org.apache.tika tika-core + + org.apache.cxf + cxf-rt-rs-client + org.apache.geronimo.specs geronimo-stax-api_1.0_spec diff --git a/exo.jcr.ext.services/src/main/java/org/exoplatform/services/jcr/ext/ActivityTypeUtils.java b/exo.jcr.ext.services/src/main/java/org/exoplatform/services/jcr/ext/ActivityTypeUtils.java index 97ed2aafa..3338d36f2 100644 --- a/exo.jcr.ext.services/src/main/java/org/exoplatform/services/jcr/ext/ActivityTypeUtils.java +++ b/exo.jcr.ext.services/src/main/java/org/exoplatform/services/jcr/ext/ActivityTypeUtils.java @@ -55,7 +55,7 @@ public static void attachActivityId(Node ownerNode, String activityId) { if (!ownerNode.isCheckedOut()) { verNode = checkout(ownerNode); } - if (ownerNode.isNodeType(EXO_ACTIVITY_INFO) == false && ownerNode.canAddMixin(EXO_ACTIVITY_INFO)) { + if (!ownerNode.isNodeType(EXO_ACTIVITY_INFO) && ownerNode.canAddMixin(EXO_ACTIVITY_INFO)) { ownerNode.addMixin(EXO_ACTIVITY_INFO); } ownerNode.setProperty(EXO_ACTIVITY_ID, activityId);