<commit_before>package com.openshift.metrics.extension;

import org.jboss.as.controller.SimpleAttributeDefinition;
import org.jboss.as.controller.SimpleAttributeDefinitionBuilder;
import org.jboss.as.controller.SimpleResourceDefinition;
import org.jboss.as.controller.registry.AttributeAccess;
import org.jboss.as.controller.registry.ManagementResourceRegistration;
import org.jboss.dmr.ModelType;

public class OpenShiftSubsystemDefinition extends SimpleResourceDefinition {
    public static final OpenShiftSubsystemDefinition INSTANCE = new OpenShiftSubsystemDefinition();

    protected static final SimpleAttributeDefinition METRICS_GROUP =
            new SimpleAttributeDefinitionBuilder(Constants.METRICS_GROUP, ModelType.LIST)
                .setAllowExpression(false)
                .setXmlName(Constants.METRICS_GROUP)
                .setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
                .setAllowNull(false)
                .build();

    private OpenShiftSubsystemDefinition() {
        super(OpenShiftSubsystemExtension.SUBSYSTEM_PATH,
                OpenShiftSubsystemExtension.getResourceDescriptionResolver(),
                OpenShiftSubsystemAdd.INSTANCE,
                OpenShiftSubsystemRemove.INSTANCE);<commit_msg>Remove unused code<commit_after>package com.openshift.metrics.extension;

import org.jboss.as.controller.SimpleResourceDefinition;
import org.jboss.as.controller.registry.ManagementResourceRegistration;

public class OpenShiftSubsystemDefinition extends SimpleResourceDefinition {
    public static final OpenShiftSubsystemDefinition INSTANCE = new OpenShiftSubsystemDefinition();

    private OpenShiftSubsystemDefinition() {
        super(OpenShiftSubsystemExtension.SUBSYSTEM_PATH,
                OpenShiftSubsystemExtension.getResourceDescriptionResolver(),
                OpenShiftSubsystemAdd.INSTANCE,
                OpenShiftSubsystemRemove.INSTANCE);
{'fraction_non_alphanumeric': 0.06305367378843148, 'fraction_numerical': 0.0, 'mean_word_length': 4.245901639344262, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '833113', 'n_tokens_mistral': 468, 'n_tokens_neox': 450, 'n_words': 70}