Commit e663151
committed
Swap execution order of compile(String) and compile(Reader)
This allows us to compute a hash on the script as a String even if it was
input via the gererating Reader. We need to compute the hash for future
recompilation avoidance.
Signed-off-by: Squareys <Squareys@googlemail.com>1 parent b1362ea commit e663151
File tree
1 file changed
+22
-11
lines changed- src/main/java/org/scijava/plugins/scripting/java
1 file changed
+22
-11
lines changedLines changed: 22 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 171 | | |
182 | 172 | | |
183 | 173 | | |
184 | 174 | | |
185 | 175 | | |
186 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
187 | 181 | | |
188 | 182 | | |
189 | 183 | | |
| |||
221 | 215 | | |
222 | 216 | | |
223 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
224 | 235 | | |
225 | 236 | | |
226 | 237 | | |
| |||
0 commit comments