Merge "Use class retention for VisibleForTesting annotations" am: 5724841581
am: 94d5456d0e
Change-Id: I3309ee0b936eb9d36a453beb084be31e046c1bf5
This commit is contained in:
@@ -27,7 +27,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
* visibility should have been if it had not been made public or package-private for testing.
|
||||
* The default is to consider the element private.
|
||||
*/
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface VisibleForTesting {
|
||||
/**
|
||||
* Intended visibility if the element had not been made public or package-private for
|
||||
|
||||
Reference in New Issue
Block a user