Skip to content

Commit

Permalink
8291906: Bindings.createXxxBinding inherit incorrect method docs
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
nlisker committed Aug 20, 2022
1 parent dd30402 commit 5c00783
Showing 1 changed file with 42 additions and 0 deletions.
Expand Up @@ -161,11 +161,17 @@ protected boolean computeValue() {
}
}

/**
* Calls {@link BooleanBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down Expand Up @@ -201,11 +207,17 @@ protected double computeValue() {
}
}

/**
* Calls {@link DoubleBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down Expand Up @@ -241,11 +253,17 @@ protected float computeValue() {
}
}

/**
* Calls {@link FloatBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down Expand Up @@ -281,11 +299,17 @@ protected int computeValue() {
}
}

/**
* Calls {@link IntegerBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down Expand Up @@ -321,11 +345,17 @@ protected long computeValue() {
}
}

/**
* Calls {@link LongBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down Expand Up @@ -362,11 +392,17 @@ protected T computeValue() {
}
}

/**
* Calls {@link ObjectBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down Expand Up @@ -402,11 +438,17 @@ protected String computeValue() {
}
}

/**
* Calls {@link StringBinding#unbind(Observable...)}.
*/
@Override
public void dispose() {
super.unbind(dependencies);
}

/**
* Returns an immutable list of the dependencies of this binding.
*/
@Override
public ObservableList<?> getDependencies() {
return ((dependencies == null) || (dependencies.length == 0))?
Expand Down

1 comment on commit 5c00783

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.