jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 17 forks source link

_ characters in some enum values in spec document #207

Closed chengfang closed 3 months ago

chengfang commented 9 months ago

Some enum values have leading or trailing _ characters in the spec document. For example:

https://github.com/eclipse-ee4j/batch-api/blob/master/spec/src/main/asciidoc/batch_programming_model.adoc

public interface PartitionReducer {
    public enum PartitionStatus {
        COMMIT_, _ROLLBACK
    }

@Qualifier
@Target({
    ElementType._FIELD_, ElementType._METHOD_,
    ElementType._PARAMETER_
}
)
@Retention(RetentionPolicy._RUNTIME_)
public @interface BatchProperty {
    @Nonbinding
    public String name() default "";
}

They should be removed so the enum values all match with java source code and api docs.

scottkurz commented 3 months ago

Fixed by #208