diff --git a/pmd-swift/src/main/resources/category/swift/bestpractices.xml b/pmd-swift/src/main/resources/category/swift/bestpractices.xml index 037dd27794..e8d30354e6 100644 --- a/pmd-swift/src/main/resources/category/swift/bestpractices.xml +++ b/pmd-swift/src/main/resources/category/swift/bestpractices.xml @@ -29,8 +29,8 @@ Rules which enforce generally accepted best practices. externalInfoUrl="http://pmd.github.io/pmd/pmd_rules_swift_bestpractices.html#unavailablefunction"> Due to Objective-C and Swift interoperability some functions are often required to be implemented but - aren't really needed. Is extremely common that the sole implementation of the functions consist of throwing - a fatal error. Marking this functions as unavailable prevents them from being executed while still making + aren't really needed. It is extremely common that the sole implementation of the functions consist of throwing + a fatal error. Marking these functions as unavailable prevents them from being executed while still making the compiler happy. 3