You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2022/09/26 19:40:02 UTC

[tomee] branch main updated: Fix bad comment / clarify

This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
     new e0bf6ba60a Fix bad comment / clarify
e0bf6ba60a is described below

commit e0bf6ba60a93c5e7f5426784f90fee24111b6f21
Author: Jean-Louis Monteiro <jl...@tomitribe.com>
AuthorDate: Mon Sep 26 21:39:52 2022 +0200

    Fix bad comment / clarify
---
 .../microprofile/faulttolerance/MPFaultToleranceCDIExtension.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/faulttolerance/MPFaultToleranceCDIExtension.java b/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/faulttolerance/MPFaultToleranceCDIExtension.java
index e110a9c584..e093a15c05 100644
--- a/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/faulttolerance/MPFaultToleranceCDIExtension.java
+++ b/tomee/tomee-microprofile/mp-common/src/main/java/org/apache/tomee/microprofile/faulttolerance/MPFaultToleranceCDIExtension.java
@@ -35,7 +35,8 @@ import java.util.List;
 
 /**
  * This class is more a hack than an actual peace of integration code for SmallRye Fault Tolerance. It addresses an issue
- * in SmallRye because it's relying on a Weld behavior as opposed to a specified CDI feature.
+ * in SmallRye because it's relying on a Weld behavior as opposed to a specified CDI feature. Or the spec is not clear
+ * enough such as OWB and Weld did a different implementation. There is a good opportunity to add some TCKs to Jakarta
  */
 public class MPFaultToleranceCDIExtension implements Extension {
 
@@ -51,7 +52,7 @@ public class MPFaultToleranceCDIExtension implements Extension {
      * Observer to a CDI lifecycle event to correctly add the interceptor binding to the actual bean. The SmallRye
      * extension adds the interceptor binding to the interceptor binding.
      *
-     * This will go threw classes annotations and add the FaultToleranceBinding on the type if it has one of the known
+     * This will go through classes annotations and add the FaultToleranceBinding on the type if it has one of the known
      * fault tolerance annotations. In case, fault tolerance annotations are applied on some methods of a class, we
      * also look for annotations on methods.
      *