Is the following an example of a compound predicate, and if it is, is the punctuation correct?
"I tried all of the classes but didn’t like any of them."