Commit 232b7cd
committed
More precise downcast for .getProp
@smuir pointed out that the downcast inside the Option doesn't do any
checking (beyond checking the Option, of course). It doesn't much
matter here, since it's an Any (which we can't do any checking on,
anyway), but if that ever changed, this could be a weird hole for
bugs to hide in.1 parent 3ad2289 commit 232b7cd
File tree
1 file changed
+3
-1
lines changed- src/main/scala/com/comcast/xfinity/sirius/api
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
323 | 325 | | |
324 | 326 | | |
325 | 327 | | |
| |||
0 commit comments