From 832fd4bec13a25c57918cbe24ab0e63f398d39b5 Mon Sep 17 00:00:00 2001 From: Paul Ferraro Date: Wed, 3 Apr 2024 18:57:54 -0400 Subject: [PATCH] WFCORE-6768 Fix goofy WriteAttributeTranslationOperationStepHandler class name --- .../subsystem/resource/ResourceDescriptorRegistrar.java | 4 ++-- ...ava => WriteAttributeTranslationOperationStepHandler.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename subsystem/src/main/java/org/wildfly/subsystem/resource/operation/{WriteAttributeTranslationOperationStepHandlerHandler.java => WriteAttributeTranslationOperationStepHandler.java} (92%) diff --git a/subsystem/src/main/java/org/wildfly/subsystem/resource/ResourceDescriptorRegistrar.java b/subsystem/src/main/java/org/wildfly/subsystem/resource/ResourceDescriptorRegistrar.java index fc71aafab0f..a9558efb631 100644 --- a/subsystem/src/main/java/org/wildfly/subsystem/resource/ResourceDescriptorRegistrar.java +++ b/subsystem/src/main/java/org/wildfly/subsystem/resource/ResourceDescriptorRegistrar.java @@ -37,7 +37,7 @@ import org.wildfly.subsystem.resource.operation.AddResourceOperationStepHandler; import org.wildfly.subsystem.resource.operation.ReadAttributeTranslationOperationStepHandler; import org.wildfly.subsystem.resource.operation.RemoveResourceOperationStepHandler; -import org.wildfly.subsystem.resource.operation.WriteAttributeTranslationOperationStepHandlerHandler; +import org.wildfly.subsystem.resource.operation.WriteAttributeTranslationOperationStepHandler; /** * Registers add, remove, and write-attribute operation handlers and capabilities. @@ -108,7 +108,7 @@ public void register(ManagementResourceRegistration registration) { for (AttributeDefinition attribute : this.descriptor.getAttributes()) { AttributeTranslation translation = this.descriptor.getAttributeTranslation(attribute); if (translation != null) { - registration.registerReadWriteAttribute(attribute, new ReadAttributeTranslationOperationStepHandler(translation), new WriteAttributeTranslationOperationStepHandlerHandler(translation)); + registration.registerReadWriteAttribute(attribute, new ReadAttributeTranslationOperationStepHandler(translation), new WriteAttributeTranslationOperationStepHandler(translation)); } else { OperationStepHandler handler = this.descriptor.getWriteAttributeOperationStepHandler(attribute); if (handler != null) { diff --git a/subsystem/src/main/java/org/wildfly/subsystem/resource/operation/WriteAttributeTranslationOperationStepHandlerHandler.java b/subsystem/src/main/java/org/wildfly/subsystem/resource/operation/WriteAttributeTranslationOperationStepHandler.java similarity index 92% rename from subsystem/src/main/java/org/wildfly/subsystem/resource/operation/WriteAttributeTranslationOperationStepHandlerHandler.java rename to subsystem/src/main/java/org/wildfly/subsystem/resource/operation/WriteAttributeTranslationOperationStepHandler.java index 5fd6ed32b4c..7d1a788c615 100644 --- a/subsystem/src/main/java/org/wildfly/subsystem/resource/operation/WriteAttributeTranslationOperationStepHandlerHandler.java +++ b/subsystem/src/main/java/org/wildfly/subsystem/resource/operation/WriteAttributeTranslationOperationStepHandler.java @@ -21,11 +21,11 @@ * A {@value ModelDescriptionConstants#WRITE_ATTRIBUTE_OPERATION} operation handler that translates a value from another attribute * @author Paul Ferraro */ -public class WriteAttributeTranslationOperationStepHandlerHandler implements OperationStepHandler { +public class WriteAttributeTranslationOperationStepHandler implements OperationStepHandler { private final AttributeTranslation translation; - public WriteAttributeTranslationOperationStepHandlerHandler(AttributeTranslation translation) { + public WriteAttributeTranslationOperationStepHandler(AttributeTranslation translation) { this.translation = translation; }