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

Removed deprecated constructors and methods #1500

Merged

Conversation

cweitkamp
Copy link
Contributor

  • Removed deprecated constructors and methods

Related to #1408

Signed-off-by: Christoph Weitkamp github@christophweitkamp.de


Depends on openhab/openhab-addons#7766

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
@cweitkamp cweitkamp added awaiting other PR Depends on another PR API breaking and removed awaiting other PR Depends on another PR labels May 24, 2020
Copy link
Member

@wborn wborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me. The removal of the Calendar constructor/method in the DateTimeType can have a big impact on existing rules. Do you think we should remove it in OH3 @kaikreuzer? It has been marked as deprecated for years now. It was deprecated in eclipse-archived/smarthome#4259.

@wborn wborn requested a review from kaikreuzer May 24, 2020 13:14
@wborn
Copy link
Member

wborn commented Jun 13, 2020

Friendly ping @kaikreuzer .

Copy link
Member

@kaikreuzer kaikreuzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the ping, I didn't see your question @wborn.
I am all for removing the constructor - as you say, it is marked deprecated since a long time and when if not now should we remove it?

@kaikreuzer kaikreuzer merged commit 1fddac1 into openhab:master Jun 13, 2020
@cweitkamp cweitkamp deleted the feature-remove-deprecated-methods branch June 13, 2020 20:08
@kaikreuzer
Copy link
Member

Seems this broke the addons build, see https://ci.openhab.org/job/openHAB-Addons-port/158/console:

[ERROR] /home/jenkins/jenkins-agent1/workspace/openHAB-Addons-port/bundles/org.openhab.binding.bigassfan/src/main/java/org/openhab/binding/bigassfan/internal/handler/BigAssFanHandler.java:[996,43135] The constructor DateTimeType(Calendar) is undefined

@cweitkamp
Copy link
Contributor Author

I will take care of that.

@cweitkamp
Copy link
Contributor Author

I submitted a rough fix for openHAB add-ons (openhab/openhab-addons#7918).

@kaikreuzer
Copy link
Member

Thanks @cweitkamp! Wow, those are more occurrences than I had imagined 🤔.

wborn added a commit to wborn/openhab-addons that referenced this pull request Jun 20, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
cweitkamp pushed a commit to openhab/openhab-addons that referenced this pull request Jun 20, 2020
Related to:

* openhab/openhab-core#1500
* #7918

Signed-off-by: Wouter Born <github@maindrain.net>
@cweitkamp cweitkamp added this to the 3.0 milestone Jun 25, 2020
knikhilwiz pushed a commit to knikhilwiz/openhab2-addons that referenced this pull request Jul 12, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this pull request Jul 26, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: CSchlipp <christian@schlipp.de>
MPH80 pushed a commit to MPH80/openhab-addons that referenced this pull request Aug 3, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: MPH80 <michael@hazelden.me>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Aug 31, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this pull request Sep 1, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
Signed-off-by: Daan Meijer <daan@studioseptember.nl>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this pull request Sep 19, 2020
Related to:

* openhab/openhab-core#1500
* openhab#7918

Signed-off-by: Wouter Born <github@maindrain.net>
splatch pushed a commit to ConnectorIO/copybara-hab-core that referenced this pull request Jul 11, 2023
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
GitOrigin-RevId: 1fddac1
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.

3 participants