Skip to content

Commit

Permalink
Migrate VisibleForTesting to kotlin (#37241)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #37241

EZ diff that migrates VisibleForTesting interface to kotlin

There are just 2 files into the annotations package, now both will be written in kotlin

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico, yungsters

Differential Revision: D45454643

fbshipit-source-id: 7d3ac9f85141f720a201ca81102336e16758ea30
  • Loading branch information
mdvacca authored and facebook-github-bot committed May 4, 2023
1 parent 43bd29f commit c52f38e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.common.annotations;

package com.facebook.react.common.annotations

/**
* Annotates a method that should have restricted visibility but it's required to be public for use
* in test code only.
*/
public @interface VisibleForTesting {}
annotation class VisibleForTesting

0 comments on commit c52f38e

Please sign in to comment.