Skip to content

Commit d6031d5

Browse files
committed
Refactor class name
1 parent ae8ad18 commit d6031d5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/ConfigurationPropertyAnnotationProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
package io.microsphere.annotation.processor;
1919

2020
import io.microsphere.annotation.ConfigurationProperty;
21-
import io.microsphere.annotation.processor.model.util.ConfigurationPropertyAnnotationJSONElementVisitor;
21+
import io.microsphere.annotation.processor.model.util.ConfigurationPropertyJSONElementVisitor;
2222
import io.microsphere.json.JSONArray;
2323
import io.microsphere.metadata.ConfigurationPropertyJSONGenerator;
2424

@@ -111,7 +111,7 @@ public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment
111111
private void resolveMetadata(RoundEnvironment roundEnv) {
112112
Set<? extends Element> elements = roundEnv.getRootElements();
113113
if (!elements.isEmpty()) {
114-
ConfigurationPropertyAnnotationJSONElementVisitor visitor = new ConfigurationPropertyAnnotationJSONElementVisitor(processingEnv);
114+
ConfigurationPropertyJSONElementVisitor visitor = new ConfigurationPropertyJSONElementVisitor(processingEnv);
115115

116116
Iterator<? extends Element> iterator = elements.iterator();
117117
jsonBuilder.append(LEFT_SQUARE_BRACKET_CHAR);

microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/model/util/ConfigurationPropertyAnnotationJSONElementVisitor.java renamed to microsphere-annotation-processor/src/main/java/io/microsphere/annotation/processor/model/util/ConfigurationPropertyJSONElementVisitor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@
5050
* @see io.microsphere.beans.ConfigurationProperty
5151
* @since 1.0.0
5252
*/
53-
public class ConfigurationPropertyAnnotationJSONElementVisitor extends AnnotatedElementJSONElementVisitor {
53+
public class ConfigurationPropertyJSONElementVisitor extends AnnotatedElementJSONElementVisitor {
5454

5555
public static final String ANNOTATION_CLASS_NAME = "io.microsphere.annotation.ConfigurationProperty";
5656

5757
private static final ConfigurationPropertyJSONGenerator generator = loadFirstService(ConfigurationPropertyJSONGenerator.class);
5858

59-
public ConfigurationPropertyAnnotationJSONElementVisitor(ProcessingEnvironment processingEnv) {
59+
public ConfigurationPropertyJSONElementVisitor(ProcessingEnvironment processingEnv) {
6060
super(processingEnv, ANNOTATION_CLASS_NAME);
6161
}
6262

0 commit comments

Comments
 (0)