File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
api/src/main/java/io/cloudevents Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,13 @@ public enum SpecVersion {
4646 Arrays .asList ("datacontenttype" , "dataschema" , "subject" , "time" )
4747 );
4848
49- private final String stringValue ;
49+ private final String version ;
5050 private final Set <String > mandatoryAttributes ;
5151 private final Set <String > optionalAttributes ;
5252 private final Set <String > allAttributes ;
5353
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 ;
5656 this .mandatoryAttributes = Collections .unmodifiableSet (new HashSet <>(mandatoryAttributes ));
5757 this .optionalAttributes = Collections .unmodifiableSet (new HashSet <>(optionalAttributes ));
5858 this .allAttributes = Collections .unmodifiableSet (
@@ -62,7 +62,7 @@ public enum SpecVersion {
6262
6363 @ Override
6464 public String toString () {
65- return this .stringValue ;
65+ return this .version ;
6666 }
6767
6868 /**
You can’t perform that action at this time.
0 commit comments