You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ta...@apache.org on 2021/10/05 17:20:31 UTC

[hadoop] branch branch-3.2 updated: HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521)

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

tasanuma pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 28d4aff  HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521)
28d4aff is described below

commit 28d4affea0572778430f9a3369e7e95d92b2d324
Author: Viraj Jasani <vj...@apache.org>
AuthorDate: Tue Oct 5 22:47:05 2021 +0530

    HADOOP-17947. Additional element types for VisibleForTesting (ADDENDUM) (#3521)
    
    (cherry picked from commit 783e4805e7ef46da6095e0375fe8dd5e9cd26e85)
---
 .../main/java/org/apache/hadoop/classification/VisibleForTesting.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/VisibleForTesting.java b/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/VisibleForTesting.java
index 1aa76ea..6b405ae 100644
--- a/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/VisibleForTesting.java
+++ b/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/VisibleForTesting.java
@@ -37,7 +37,7 @@ import java.lang.annotation.Target;
  * they MUST be re-scoped as public/limited private.
  */
 @Retention(RetentionPolicy.CLASS)
-@Target({ ElementType.TYPE, ElementType.METHOD })
+@Target({ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR })
 @Documented
 public @interface VisibleForTesting {
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org