File tree 1 file changed +4
-4
lines changed
api/src/main/java/io/cloudevents
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ public enum SpecVersion {
46
46
Arrays .asList ("datacontenttype" , "dataschema" , "subject" , "time" )
47
47
);
48
48
49
- private final String stringValue ;
49
+ private final String version ;
50
50
private final Set <String > mandatoryAttributes ;
51
51
private final Set <String > optionalAttributes ;
52
52
private final Set <String > allAttributes ;
53
53
54
- SpecVersion (String stringValue , Collection <String > mandatoryAttributes , Collection <String > optionalAttributes ) {
55
- this .stringValue = stringValue ;
54
+ SpecVersion (String version , Collection <String > mandatoryAttributes , Collection <String > optionalAttributes ) {
55
+ this .version = version ;
56
56
this .mandatoryAttributes = Collections .unmodifiableSet (new HashSet <>(mandatoryAttributes ));
57
57
this .optionalAttributes = Collections .unmodifiableSet (new HashSet <>(optionalAttributes ));
58
58
this .allAttributes = Collections .unmodifiableSet (
@@ -62,7 +62,7 @@ public enum SpecVersion {
62
62
63
63
@ Override
64
64
public String toString () {
65
- return this .stringValue ;
65
+ return this .version ;
66
66
}
67
67
68
68
/**
You can’t perform that action at this time.
0 commit comments