Skip to content

Commit

Permalink
fbandroid/libraries/components/litho-processor/src/main/java/com/face…
Browse files Browse the repository at this point in the history
…book/litho/specmodels/generator/ComponentBodyGenerator.java

Reviewed By: kingsleyadio

Differential Revision: D63309708

fbshipit-source-id: 8c5e5d0c65e2e19c20cf5056363fea6f577859b6
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Sep 25, 2024
1 parent 75d43e9 commit 744101c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ public static TypeSpecDataHolder generate(
return builder.build();
}

private static TypeSpecDataHolder generateOptionalField(MethodParamModel optionalField) {
private static TypeSpecDataHolder generateOptionalField(
@Nullable MethodParamModel optionalField) {
final TypeSpecDataHolder.Builder typeSpecDataHolder = TypeSpecDataHolder.newBuilder();
if (optionalField == null) {
return typeSpecDataHolder.build();
Expand Down Expand Up @@ -1115,7 +1116,7 @@ static String getImplAccessorFromContainer(
String methodName,
SpecModel specModel,
MethodParamModel methodParamModel,
String contextParamName,
@Nullable String contextParamName,
boolean shallow,
@Nullable String cachedContainerVariableName) {

Expand Down

0 comments on commit 744101c

Please sign in to comment.