SchemaManagementTool tool = registry.getService(SchemaManagementTool.class);
final EnumSet<TargetType> targetTypes = EnumSet.of(TargetType.SCRIPT);
- if ((Boolean)settings.get(EXECUTE))
+ if (Boolean.parseBoolean(settings.get(EXECUTE).toString()))
targetTypes.add(TargetType.DATABASE);
TargetDescriptor target = new TargetDescriptor()
SchemaManagementTool tool = registry.getService(SchemaManagementTool.class);
final EnumSet<TargetType> targetTypes = EnumSet.of(TargetType.SCRIPT);
- if ((Boolean)settings.get(EXECUTE))
+ if (Boolean.parseBoolean(settings.get(EXECUTE).toString()))
targetTypes.add(TargetType.DATABASE);
TargetDescriptor target = new TargetDescriptor()
SchemaManagementTool tool = registry.getService(SchemaManagementTool.class);
final EnumSet<TargetType> targetTypes = EnumSet.of(TargetType.SCRIPT);
- if ((Boolean)settings.get(EXECUTE))
+ if (Boolean.parseBoolean(settings.get(EXECUTE).toString()))
targetTypes.add(TargetType.DATABASE);
TargetDescriptor target = new TargetDescriptor()