Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically fix upstream LongDoubleConversion #2199

Merged
merged 2 commits into from
Apr 15, 2022

Conversation

carterkozak
Copy link
Contributor

@carterkozak carterkozak commented Apr 15, 2022

The fix is safe, and makes the code more obvious:

- double value = System.currentTimeMillis();
+ double value = (double) System.currentTimeMillis();

==COMMIT_MSG==
Automatically fix upstream LongDoubleConversion
==COMMIT_MSG==

The fix looks safe, and makes the code more obvious:
```diff
- double value = System.currentTimeMillis();
+ double value = (double) System.currentTimeMillis();
```
@changelog-app
Copy link

changelog-app bot commented Apr 15, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Automatically fix upstream LongDoubleConversion
https://errorprone.info/bugpattern/LongDoubleConversion

Check the box to generate changelog(s)

  • Generate changelog entry

@bulldozer-bot bulldozer-bot bot merged commit 347887e into develop Apr 15, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/fix_LongDoubleConversion branch April 15, 2022 22:43
@svc-autorelease
Copy link
Collaborator

Released 4.105.0

bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Apr 16, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.105.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Automatically fix upstream [LongDoubleConversion](https://errorprone.info/bugpattern/LongDoubleConversion) | palantir/gradle-baseline#2199, https://errorprone.info/bugpattern/LongDoubleConversion |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Apr 16, 2022
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.

4 participants