Commit f4059bf
committed
Remove the useless Exception throws declaration in LogoutRequest.isValid
Two reasons for removal:
- avoid the need of a useless try/catch on consuming code
- align API to LogoutResponse.isValid() and SamlResponse.isValid()
The code is backward compatible, because an existing surrounding
try/catch(Exception) won't cause a compilation error after the change.1 parent 523786b commit f4059bf
File tree
1 file changed
+6
-8
lines changed- core/src/main/java/com/onelogin/saml2/logout
1 file changed
+6
-8
lines changedLines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
369 | 367 | | |
370 | 368 | | |
371 | 369 | | |
| |||
0 commit comments