Fix unchecked cast warning on shade-relocation parameter
This commit is contained in:
parent
03a418d4b3
commit
03fe7d426b
@ -120,6 +120,7 @@ public class SpecialSource {
|
|||||||
// Load mappings, possibly shaded
|
// Load mappings, possibly shaded
|
||||||
ShadeRelocationSimulator shadeRelocationSimulator = null;
|
ShadeRelocationSimulator shadeRelocationSimulator = null;
|
||||||
if (options.has("shade-relocation")) {
|
if (options.has("shade-relocation")) {
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
List<String> relocations = (List<String>) options.valuesOf("shade-relocation");
|
List<String> relocations = (List<String>) options.valuesOf("shade-relocation");
|
||||||
shadeRelocationSimulator = new ShadeRelocationSimulator(relocations);
|
shadeRelocationSimulator = new ShadeRelocationSimulator(relocations);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user