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

java.lang.Boolean constructor is deprecated #254

Closed
sovesti opened this issue Jul 20, 2023 · 3 comments
Closed

java.lang.Boolean constructor is deprecated #254

sovesti opened this issue Jul 20, 2023 · 3 comments

Comments

@sovesti
Copy link
Contributor

sovesti commented Jul 20, 2023

There are several uses of deprecated Boolean(boolean value) constructor in Mylyn codebase. It should be replaced with Boolean.valueOf(boolean value).

sovesti added a commit to sovesti/org.eclipse.mylyn that referenced this issue Jul 20, 2023
Replaced all occurences of ```Boolean(boolean)``` with
```valueOf(boolean)```

Signed-off-by: Vasily Fedorov <[email protected]>
@gnl42
Copy link
Contributor

gnl42 commented Jul 20, 2023

Can we just get the Java17 code cleanup/format conventions (#200) settled on and do a global cleanup?

sovesti added a commit to sovesti/org.eclipse.mylyn that referenced this issue Jul 21, 2023
Replaced all other constructors of primitive wrappers

Signed-off-by: Vasily Fedorov <[email protected]>
sovesti added a commit to sovesti/org.eclipse.mylyn that referenced this issue Jul 21, 2023
simplified some assignments

Signed-off-by: Vasily Fedorov <[email protected]>
ruspl-afed pushed a commit that referenced this issue Jul 29, 2023
* [#254] java.lang.Boolean constructor is deprecated

* Replaced all occurences of ```Boolean(boolean)``` with
```valueOf(boolean)```
* Replaced all other constructors of primitive wrappers
* simplified some assignments
@BeckerFrank
Copy link
Contributor

@ruspl-afed: Can we close this ticket? Or is something left?

@ruspl-afed
Copy link
Contributor

@sovesti are you done here? If so, please close the ticket.

@sovesti sovesti closed this as completed Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants