Commit 11ec190
committed
fix(demo): suppress this-escape compiler warnings in JavaFX panels
Add @SuppressWarnings("this-escape") to constructors that call
getStyleClass().add() or setOnAction() before the object is fully
initialized. This is safe in JavaFX as these methods only register
callbacks without executing them during construction.
Affected classes:
- LogPanel.java (getStyleClass().add)
- PDFViewerPanel.java (getStyleClass().add)
- SemanticRouterPanel.java (setOnAction)
- SettingsPanel.java (setContent)1 parent 2a8b1b6 commit 11ec190
File tree
4 files changed
+4
-0
lines changed- demos/rag-multimodal/src/main/java/com/redis/vl/demo/rag/ui
4 files changed
+4
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments