You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ro...@apache.org on 2025/02/13 14:55:41 UTC
(axis-axis2-java-core) branch master updated (44ab9d80a0 -> c4ae9260ed)
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
from 44ab9d80a0 AXIS2-6059 Improve logging by default in AxisConfigBuilder
new 0628d9985b AXIS2-5900 If and else branches has the same condition in TribesAxisObserver
new c4ae9260ed AXIS2-5901 Redundant conditions in an if statement in OperationContext.java
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java | 2 --
modules/kernel/src/org/apache/axis2/context/OperationContext.java | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
(axis-axis2-java-core) 02/02: AXIS2-5901 Redundant conditions in an if statement in OperationContext.java
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
commit c4ae9260edbdef84ba2b262b5cb7a34bcca5b2bb
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Thu Feb 13 04:31:32 2025 -1000
AXIS2-5901 Redundant conditions in an if statement in OperationContext.java
---
modules/kernel/src/org/apache/axis2/context/OperationContext.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/kernel/src/org/apache/axis2/context/OperationContext.java b/modules/kernel/src/org/apache/axis2/context/OperationContext.java
index a0951141f6..bacbeef1b5 100644
--- a/modules/kernel/src/org/apache/axis2/context/OperationContext.java
+++ b/modules/kernel/src/org/apache/axis2/context/OperationContext.java
@@ -738,9 +738,7 @@ public class OperationContext extends AbstractContext
// We only want to (re)register this if it's an outbound message
String mepString = getAxisOperation().getMessageExchangePattern();
if (mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
- || mepString.equals(WSDL2Constants.MEP_URI_OUT_ONLY)
- || ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN)
- || mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
+ || ((mepString.equals(WSDL2Constants.MEP_URI_OUT_IN))
&& !isComplete)) {
// make sure this OperationContext object is registered in the
(axis-axis2-java-core) 01/02: AXIS2-5900 If and else branches has the same condition in TribesAxisObserver
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
commit 0628d9985b008cccbd3f754317c37bbd2a62d8fb
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Wed Feb 12 13:36:20 2025 -1000
AXIS2-5900 If and else branches has the same condition in TribesAxisObserver
---
.../src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java b/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
index 05fec47144..84350b0391 100644
--- a/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
+++ b/modules/clustering/src/org/apache/axis2/clustering/tribes/TribesAxisObserver.java
@@ -54,8 +54,6 @@ public class TribesAxisObserver implements AxisObserver {
public void moduleUpdate(AxisEvent axisEvent, AxisModule axisModule) {
if (axisEvent.getEventType() == AxisEvent.MODULE_DEPLOY) {
ClassLoaderUtil.addModuleClassLoader(axisModule);
- } else if (axisEvent.getEventType() == AxisEvent.MODULE_DEPLOY) {
- ClassLoaderUtil.removeModuleClassLoader(axisModule);
}
}