Skip to content

Commit

Permalink
Merge pull request #164 from drmohundro/fix-characters-deprecation
Browse files Browse the repository at this point in the history
Fix characters deprecation
  • Loading branch information
drmohundro authored Nov 6, 2017
2 parents d54bf34 + c320f1d commit f656a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SWXMLHash+TypeConversion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ extension XMLElement {
*/
internal func nonEmptyTextOrThrow() throws -> String {
let textVal = text
if !textVal.characters.isEmpty {
if !textVal.isEmpty {
return textVal
}

Expand Down

0 comments on commit f656a1f

Please sign in to comment.