/** * Validates that a particular feature is enabled. By default, all features * are enabled; subclasses may override this method to be more * discriminating. * * @param feature feature being used, represented as a resource instance * @param context parser position context for error reporting, or null if */ protected void validateFeature( Feature feature, SqlParserPos context) { // By default, do nothing except to verify that the resource // represents a real feature definition. assert feature.getProperties().get("FeatureDefinition") != null; }
/** * Validates that a particular feature is enabled. By default, all features * are enabled; subclasses may override this method to be more * discriminating. * * @param feature feature being used, represented as a resource instance * @param context parser position context for error reporting, or null if */ protected void validateFeature( Feature feature, SqlParserPos context) { // By default, do nothing except to verify that the resource // represents a real feature definition. assert feature.getProperties().get("FeatureDefinition") != null; }
/** * Validates that a particular feature is enabled. By default, all features * are enabled; subclasses may override this method to be more * discriminating. * * @param feature feature being used, represented as a resource instance * @param context parser position context for error reporting, or null if */ protected void validateFeature( Feature feature, SqlParserPos context) { // By default, do nothing except to verify that the resource // represents a real feature definition. assert feature.getProperties().get("FeatureDefinition") != null; }