Examples of randomId()


Examples of net.pterodactylus.sone.database.PostReplyBuilder.randomId()

    if (!sone.isLocal()) {
      logger.log(Level.FINE, String.format("Tried to create reply for non-local Sone: %s", sone));
      return null;
    }
    PostReplyBuilder postReplyBuilder = postReplyBuilder();
    postReplyBuilder.randomId().from(sone.getId()).to(post.getId()).currentTime().withText(text.trim());
    final PostReply reply = postReplyBuilder.build();
    database.storePostReply(reply);
    eventBus.post(new NewPostReplyFoundEvent(reply));
    sone.addReply(reply);
    touchConfiguration();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.