Bump checkstyle from 8.38 to 8.40

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.38 to 8.40.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.38...checkstyle-8.40)

Signed-off-by: dependabot[bot] <support@github.com>
diff --git a/pom.xml b/pom.xml
index de2b722..8ecc86d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,7 @@
     </commons.scmPubUrl>
     <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
     <checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
-    <checkstyle.version>8.38</checkstyle.version>
+    <checkstyle.version>8.40</checkstyle.version>
     <maven-scm.version>1.11.2</maven-scm.version>
     <commons.spotbugs.version>4.1.4</commons.spotbugs.version>
     <commons.spotbugs.impl.version>4.2.0</commons.spotbugs.impl.version>    
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 71075a0..941a61e 100755
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -41,7 +41,7 @@
       <action type="update" dev="ggregory">Update Maven dependencies from 3.6.1 to 3.6.3.</action>
       <action type="update" dev="ggregory">Update Apache Commons Compress from 1.19 to 1.20.</action>
       <action type="update" dev="ggregory">Update commons-io:commons-io from 2.6 to 2.8 #13.</action>
-      <action type="update" dev="ggregory">Update checkstyle from 8.34 to 8.38 #5 #27 #31.</action>
+      <action type="update" dev="ggregory">Update checkstyle from 8.34 to 8.40 #5 #27 #31 #35.</action>
       <action type="update" dev="ggregory">Update actions/checkout from v2.3.1 to v2.3.4 #8, #16, #28.</action>
       <action type="update" dev="ggregory">Update velocity-engine-core from 2.1 to 2.2 #4.</action>
       <action type="update" dev="ggregory">Update commons-codec from 1.14 to 1.15.</action>