Skip to content

Commit

Permalink
Migrate google java format from 1.7 -> 1.21.0 (#52)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebookexternal/OculusManufacturing#524

X-link: facebookexternal/fbpay#3

X-link: facebook/screenshot-tests-for-android#324

X-link: pytorch/executorch#1771

X-link: facebook/igl#68

X-link: facebook/mariana-trench#153

X-link: facebook/fresco#2757

X-link: facebook/litho#974

X-link: facebook/react-native#42754

X-link: facebook/hhvm#9431

Pull Request resolved: #52

X-link: facebookincubator/spectrum#1858

X-link: fbsamples/metapay#1

X-link: facebookincubator/fbjni#95

X-link: facebookincubator/Battery-Metrics#30

X-link: facebook/ktfmt#440

X-link: facebook/flipper#5456

X-link: facebook/hermes#1290

X-link: facebook/TextLayoutBuilder#35

X-link: facebook/SoLoader#122

allow-large-files

This diff migrates google java format form 1.7 to 1.21.0. This update will allow for new language features from java 17 and 21. This diff also formats all necessary files.

 Changelog:
    [Internal][Changed] - Updated format from google-java-format 1.7 -> 1.21.0

Reviewed By: IanChilds

Differential Revision: D52786052

fbshipit-source-id: b675ae215084f340b93dfe628e329e696ca0616e
  • Loading branch information
j-bahr authored and facebook-github-bot committed Mar 23, 2024
1 parent cb8e23b commit 90eca40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ private Iterator<OtpErlangObject> iterator(final int start) {
return new Itr(start);
}

/** @return true if the list is proper, i.e. the last tail is nil */
/**
* @return true if the list is proper, i.e. the last tail is nil
*/
public boolean isProper() {
return lastTail == null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ public class OtpInputStream extends ByteArrayInputStream {

private final int flags;

/** @param buf */
/**
* @param buf
*/
public OtpInputStream(final byte[] buf) {
this(buf, 0);
}
Expand Down

0 comments on commit 90eca40

Please sign in to comment.