From b56de9d8925dfd2314c43aea123d4f514c7905f6 Mon Sep 17 00:00:00 2001 From: Andrii Shcherba Date: Wed, 2 Oct 2024 04:12:49 -0700 Subject: [PATCH] Fix tests Summary: One of the deprecated method was removed that caused build failures for new AS release. Let's remove `Override` for now and fully remove it later. Reviewed By: Katalune Differential Revision: D63710026 fbshipit-source-id: b398ff0e52e52aa2834f048f45340d8cf6c58bf0 --- .../com/facebook/litho/intellij/inspections/TestHolder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java b/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java index b06b34276bb..e02309ea55f 100644 --- a/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java +++ b/litho-intellij-plugin/src/test/java/com/facebook/litho/intellij/inspections/TestHolder.java @@ -71,7 +71,9 @@ public Annotation createWeakWarningAnnotation(PsiElement elt, @Nullable String m return null; } - @Override + // This method is removed in the newer APIs, but is present in the older ones, so let's keep it + // for now and remove it later. + // TODO: remove this method public Annotation createWeakWarningAnnotation(ASTNode node, @Nullable String message) { return null; }