Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion impl/src/main/java/com/guigarage/binding/Binding.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private <U, V> Subscription bind(Observable<U> observable, Property<V> property,
if(!bindingCalled) {
bindingCalled = true;
try {
property.setValue(converter.apply(e.getNewValue()));
property.setValue(converter.apply(e.getValue()));
} catch (Exception ex) {
errorHandler.accept(ex);
} finally {
Expand Down
2 changes: 1 addition & 1 deletion impl/src/main/java/com/guigarage/binding/SwingBinding.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private <U> Subscription bind(Observable<U> observable, Function<U, T> converter
if (!bindingCalled.get()) {
bindingCalled.set(true);
try {
propertyEditor.setValue(converter.apply(e.getNewValue()));
propertyEditor.setValue(converter.apply(e.getValue()));
} catch (Exception e1) {
errorHandler.accept(e1);
} finally {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public TimeObserver() {

public static void main(String[] args) {
TimeObserver observer = new TimeObserver();
observer.onChanged(e -> System.out.println(e.getNewValue()));
observer.onChanged(e -> System.out.println(e.getValue()));
}

}