Skip to content

Commit 2625de9

Browse files
ankurpathakjzheaux
authored andcommitted
Fixes typo in x,rnc files
1. Fixes type ammount to amount in *.rnc files 2. Regenerates *.xsd files from *.rnc files Fixes: gh-6325
1 parent a145653 commit 2625de9

12 files changed

+12
-12
lines changed

config/src/main/resources/org/springframework/security/config/spring-security-3.2.rnc

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ hsts-options.attlist &=
739739
## Specifies if subdomains should be included. Default true.
740740
attribute include-subdomains {xsd:boolean}?
741741
hsts-options.attlist &=
742-
## Specifies the maximum ammount of time the host should be considered a Known HSTS Host. Default one year.
742+
## Specifies the maximum amount of time the host should be considered a Known HSTS Host. Default one year.
743743
attribute max-age-seconds {xsd:integer}?
744744
hsts-options.attlist &=
745745
## The RequestMatcher instance to be used to determine if the header should be set. Default is if HttpServletRequest.isSecure() is true.

config/src/main/resources/org/springframework/security/config/spring-security-3.2.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2299,7 +2299,7 @@
22992299
</xs:attribute>
23002300
<xs:attribute name="max-age-seconds" type="xs:integer">
23012301
<xs:annotation>
2302-
<xs:documentation>Specifies the maximum ammount of time the host should be considered a Known HSTS Host.
2302+
<xs:documentation>Specifies the maximum amount of time the host should be considered a Known HSTS Host.
23032303
Default one year.
23042304
</xs:documentation>
23052305
</xs:annotation>

config/src/main/resources/org/springframework/security/config/spring-security-4.0.rnc

+1-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ hsts-options.attlist &=
759759
## Specifies if subdomains should be included. Default true.
760760
attribute include-subdomains {xsd:boolean}?
761761
hsts-options.attlist &=
762-
## Specifies the maximum ammount of time the host should be considered a Known HSTS Host. Default one year.
762+
## Specifies the maximum amount of time the host should be considered a Known HSTS Host. Default one year.
763763
attribute max-age-seconds {xsd:integer}?
764764
hsts-options.attlist &=
765765
## The RequestMatcher instance to be used to determine if the header should be set. Default is if HttpServletRequest.isSecure() is true.

config/src/main/resources/org/springframework/security/config/spring-security-4.0.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2358,7 +2358,7 @@
23582358
</xs:attribute>
23592359
<xs:attribute name="max-age-seconds" type="xs:integer">
23602360
<xs:annotation>
2361-
<xs:documentation>Specifies the maximum ammount of time the host should be considered a Known HSTS Host.
2361+
<xs:documentation>Specifies the maximum amount of time the host should be considered a Known HSTS Host.
23622362
Default one year.
23632363
</xs:documentation>
23642364
</xs:annotation>

config/src/main/resources/org/springframework/security/config/spring-security-4.1.rnc

+1-1
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ hsts-options.attlist &=
768768
## Specifies if subdomains should be included. Default true.
769769
attribute include-subdomains {xsd:boolean}?
770770
hsts-options.attlist &=
771-
## Specifies the maximum ammount of time the host should be considered a Known HSTS Host. Default one year.
771+
## Specifies the maximum amount of time the host should be considered a Known HSTS Host. Default one year.
772772
attribute max-age-seconds {xsd:integer}?
773773
hsts-options.attlist &=
774774
## The RequestMatcher instance to be used to determine if the header should be set. Default is if HttpServletRequest.isSecure() is true.

config/src/main/resources/org/springframework/security/config/spring-security-4.1.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@
23872387
</xs:attribute>
23882388
<xs:attribute name="max-age-seconds" type="xs:integer">
23892389
<xs:annotation>
2390-
<xs:documentation>Specifies the maximum ammount of time the host should be considered a Known HSTS Host.
2390+
<xs:documentation>Specifies the maximum amount of time the host should be considered a Known HSTS Host.
23912391
Default one year.
23922392
</xs:documentation>
23932393
</xs:annotation>

config/src/main/resources/org/springframework/security/config/spring-security-4.2.rnc

+1-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ hsts-options.attlist &=
770770
## Specifies if subdomains should be included. Default true.
771771
attribute include-subdomains {xsd:boolean}?
772772
hsts-options.attlist &=
773-
## Specifies the maximum ammount of time the host should be considered a Known HSTS Host. Default one year.
773+
## Specifies the maximum amount of time the host should be considered a Known HSTS Host. Default one year.
774774
attribute max-age-seconds {xsd:integer}?
775775
hsts-options.attlist &=
776776
## The RequestMatcher instance to be used to determine if the header should be set. Default is if HttpServletRequest.isSecure() is true.

config/src/main/resources/org/springframework/security/config/spring-security-4.2.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2402,7 +2402,7 @@
24022402
</xs:attribute>
24032403
<xs:attribute name="max-age-seconds" type="xs:integer">
24042404
<xs:annotation>
2405-
<xs:documentation>Specifies the maximum ammount of time the host should be considered a Known HSTS Host.
2405+
<xs:documentation>Specifies the maximum amount of time the host should be considered a Known HSTS Host.
24062406
Default one year.
24072407
</xs:documentation>
24082408
</xs:annotation>

config/src/main/resources/org/springframework/security/config/spring-security-5.0.rnc

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ hsts-options.attlist &=
760760
## Specifies if subdomains should be included. Default true.
761761
attribute include-subdomains {xsd:boolean}?
762762
hsts-options.attlist &=
763-
## Specifies the maximum ammount of time the host should be considered a Known HSTS Host. Default one year.
763+
## Specifies the maximum amount of time the host should be considered a Known HSTS Host. Default one year.
764764
attribute max-age-seconds {xsd:integer}?
765765
hsts-options.attlist &=
766766
## The RequestMatcher instance to be used to determine if the header should be set. Default is if HttpServletRequest.isSecure() is true.

config/src/main/resources/org/springframework/security/config/spring-security-5.0.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,7 @@
22972297
</xs:attribute>
22982298
<xs:attribute name="max-age-seconds" type="xs:integer">
22992299
<xs:annotation>
2300-
<xs:documentation>Specifies the maximum ammount of time the host should be considered a Known HSTS Host.
2300+
<xs:documentation>Specifies the maximum amount of time the host should be considered a Known HSTS Host.
23012301
Default one year.
23022302
</xs:documentation>
23032303
</xs:annotation>

config/src/main/resources/org/springframework/security/config/spring-security-5.1.rnc

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ hsts-options.attlist &=
760760
## Specifies if subdomains should be included. Default true.
761761
attribute include-subdomains {xsd:boolean}?
762762
hsts-options.attlist &=
763-
## Specifies the maximum ammount of time the host should be considered a Known HSTS Host. Default one year.
763+
## Specifies the maximum amount of time the host should be considered a Known HSTS Host. Default one year.
764764
attribute max-age-seconds {xsd:integer}?
765765
hsts-options.attlist &=
766766
## The RequestMatcher instance to be used to determine if the header should be set. Default is if HttpServletRequest.isSecure() is true.

config/src/main/resources/org/springframework/security/config/spring-security-5.1.xsd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,7 @@
22982298
</xs:attribute>
22992299
<xs:attribute name="max-age-seconds" type="xs:integer">
23002300
<xs:annotation>
2301-
<xs:documentation>Specifies the maximum ammount of time the host should be considered a Known HSTS Host.
2301+
<xs:documentation>Specifies the maximum amount of time the host should be considered a Known HSTS Host.
23022302
Default one year.
23032303
</xs:documentation>
23042304
</xs:annotation>

0 commit comments

Comments
 (0)