Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Finalize more builder classes for Android Studio Performance
Browse files Browse the repository at this point in the history
Summary:
Android Studio scans all classes with the same name unless they are final.  This drastically improves the performance of AS with no major downside.
 #build_rule_type[android_instrumentation_test,robolectric_test] #nocancel

Reviewed By: edelron

Differential Revision: D61660695

fbshipit-source-id: c9208d33e6c777c78b2d5b30fbfad9473e446bec
  • Loading branch information
Rick Ratmansky authored and facebook-github-bot committed Aug 29, 2024
1 parent 15db79d commit be0890c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public int hashCode() {
return mJson.hashCode();
}

public static class Builder {
public static final class Builder {
private final JSONArray mJson;

public Builder() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public int hashCode() {
return mJson.hashCode();
}

public static class Builder {
public static final class Builder {
private final JSONObject mJson;

public Builder() {
Expand Down

0 comments on commit be0890c

Please sign in to comment.