Commit 1eb5055
Refactor builder pattern in VertexAiGeminiSafetySetting
Replace builder-based ctor with full-arg private constructor
Signed-off-by: jay <[email protected]>1 parent 926b4dc commit 1eb5055
File tree
2 files changed
+9
-26
lines changed- models/spring-ai-vertex-ai-gemini/src
- main/java/org/springframework/ai/vertexai/gemini/common
- test/java/org/springframework/ai/vertexai/gemini
2 files changed
+9
-26
lines changedLines changed: 8 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | | - | |
| 84 | + | |
81 | 85 | | |
82 | | - | |
| 86 | + | |
83 | 87 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 88 | + | |
92 | 89 | | |
93 | | - | |
94 | | - | |
| 90 | + | |
95 | 91 | | |
96 | 92 | | |
97 | 93 | | |
98 | 94 | | |
99 | 95 | | |
100 | | - | |
101 | 96 | | |
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 100 | | |
110 | 101 | | |
111 | 102 | | |
112 | 103 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 104 | | |
118 | 105 | | |
119 | 106 | | |
120 | 107 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 108 | | |
126 | 109 | | |
127 | 110 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments