Skip to content

Conversation

@aioobe
Copy link
Contributor

@aioobe aioobe commented Jun 11, 2020

Before this PR

Lots of Optional.orElseGet(() -> someConstant) floating around in the world.

After this PR

==COMMIT_MSG==
Recommends using optional.orElse(constant) instead of optional.orElseGet(() -> constant)
==COMMIT_MSG==

Possible downsides?

None

@policy-bot policy-bot bot requested a review from ferozco June 11, 2020 07:43
iamdanfox and others added 9 commits June 11, 2020 20:16
)

Running `./gradlew --write-locks` should be faster now, as it doesn't update your `baseline-class-uniqueness.lock` file implicitly anymore. To update this, you need to run `./gradlew checkClassUniqueness --write-locks`.
* Excavator: Upgrade dependencies

* correct task

Co-authored-by: svc-excavator-bot <[email protected]>
Co-authored-by: Robert Kruszewski <[email protected]>
Fix checkstyle config to conform to breaks made between 8.13 and 8.33
…/template.sh (#1384)

Co-authored-by: svc-excavator-bot <[email protected]>
Co-authored-by: forozco <[email protected]>
aioobe and others added 3 commits June 17, 2020 09:01
Adds the proper configuration files upon IntelliJ import of a gradle project for checkstyle and copyright.

This generates the following additional files:
- .idea/copyright/profiles_settings.xml
- an xml file under .idea/copyright/ per copyright file under .baseline/copyright
- .idea/checkstyle-idea.xml (and adds Checkstyle-IDEA to the external dependencies) if baseline-checkstyle is applied
- Either .idea/codeStyleSettings.xml or a .idea/codeStyles/ folder with the contents being copied from .baseline/idea
  - If .baseline/idea/codeStyles is present, it will copy its contents, otherwise, it will fall back to .baseline/idea/intellij-java-palantir-style.xml as currently
  - The fallback is using a legacy IntelliJ format and requires closing and reopening the project to be taken into account
@carterkozak
Copy link
Contributor

do we need to merge develop into this branch to pick up the unit-test-14 checks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants