When I'm trying the example of the Primefaces showcase, I faces this error:
Type 'org.primefaces.model.TreeNode' does not have type parameters
when trying to declare the treenode: private TreeNode<Document> root;
I know I can remove <Document> as error suggests, but how it worked in the showcase?