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

Remove the AbstracLifecycleComponent constructor with Settings #37523

Merged
merged 2 commits into from
Jan 17, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/reference/migration/migrate_7_0/java.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,10 @@ because `Settings` is no longer needed.
==== Deprecated method `Client#termVector` removed

The client method `termVector`, deprecated in 2.0, has been removed. The method
`termVectors` (plural) should be used instead.
`termVectors` (plural) should be used instead.

[float]
==== Deprecated constructor `AbstractLifecycleComponent(Settings settings)` removed

The constructor `AbstractLifecycleComponent(Settings settings)`, deprecated in 6.7
has been removed. The parameterless constructor should be used instead.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ public abstract class AbstractLifecycleComponent implements LifecycleComponent {

protected AbstractLifecycleComponent() {}

@Deprecated
protected AbstractLifecycleComponent(Settings settings) {
// TODO drop settings from ctor
}

@Override
public Lifecycle.State lifecycleState() {
return this.lifecycle.state();
Expand Down