Was going to use this but looks abit [Edit] public void giveFeedback(Reply reply) { PostType postType = reply.getType(); if (postType == PostType.HELPFUL) { reply.addRating(new Rating("Winner")); } else { reply.addRating(new Rating("Agree")); } }
Comments on Profile Post by Winnfield