Skip to content
Snippets Groups Projects
Commit c695e6fc authored by hiba1907's avatar hiba1907
Browse files

rectification de la classe test

parent 87a27dec
No related branches found
No related tags found
No related merge requests found
Pipeline #41135 failed
Showing
with 2 additions and 1 deletion
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
File added
File deleted
File deleted
File deleted
File deleted
File added
No preview for this file type
...@@ -40,9 +40,10 @@ public class Cell<T> implements Lens<T> { ...@@ -40,9 +40,10 @@ public class Cell<T> implements Lens<T> {
* @param value the new content of this {@link Cell} * @param value the new content of this {@link Cell}
*/ */
public void set(T value) { public void set(T value) {
T oldValue=this.value;
this.value=value; this.value=value;
for (OnChangeListener<T> listener :listeners){ for (OnChangeListener<T> listener :listeners){
listener.valueChanged(value,value); listener.valueChanged(oldValue,value);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment