Commit eb12b90
committed
Use (Java21) Math.clamp instead of nested Math.max and Math.min
1 parent 9b8b655 commit eb12b90
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| |||
0 commit comments