Skip to content

Commit

Permalink
Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations
Browse files Browse the repository at this point in the history
Use this link to re-run the recipe: https://app.moderne.io/builder/lFW7wUiCk?organizationId=T3BlblJld3JpdGU%3D

Co-authored-by: Moderne <[email protected]>
  • Loading branch information
jkschneider and TeamModerne committed Aug 15, 2024
1 parent 11fd732 commit d6d7f12
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@NonNullApi @NonNullFields
@NullMarked @NonNullFields
package org.openrewrite.micrometer.dropwizard;

import org.openrewrite.internal.lang.NonNullApi;
import org.jspecify.annotations.NullMarked;
import org.openrewrite.internal.lang.NonNullFields;
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@NonNullApi @NonNullFields
@NullMarked @NonNullFields
package org.openrewrite.micrometer.misk;

import org.openrewrite.internal.lang.NonNullApi;
import org.jspecify.annotations.NullMarked;
import org.openrewrite.internal.lang.NonNullFields;
4 changes: 2 additions & 2 deletions src/main/java/org/openrewrite/micrometer/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@NonNullApi @NonNullFields
@NullMarked @NonNullFields
package org.openrewrite.micrometer;

import org.openrewrite.internal.lang.NonNullApi;
import org.jspecify.annotations.NullMarked;
import org.openrewrite.internal.lang.NonNullFields;
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
import io.prometheus.client.*;
import io.prometheus.client.Collector.MetricFamilySamples.Sample;
import lombok.RequiredArgsConstructor;
import org.jspecify.annotations.Nullable;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.ArgumentsProvider;
import org.junit.jupiter.params.provider.ArgumentsSource;
import org.openrewrite.internal.lang.Nullable;

import java.time.Duration;
import java.util.*;
Expand Down

0 comments on commit d6d7f12

Please sign in to comment.