Package com.google.gerrit.extensions.common

Examples of com.google.gerrit.extensions.common.Comment


    public static boolean equals(Comment comment1, Comment comment2) {
        if (comment1 == comment2) return true;
        if (comment2 == null || comment1.getClass() != comment2.getClass()) return false;

        Comment that = comment2;

        if (comment1.line != that.line) return false;
        if (comment1.id != null ? !comment1.id.equals(that.id) : that.id != null) return false;
        if (comment1.inReplyTo != null ? !comment1.inReplyTo.equals(that.inReplyTo) : that.inReplyTo != null) return false;
        if (comment1.message != null ? !comment1.message.equals(that.message) : that.message != null) return false;
View Full Code Here

TOP

Related Classes of com.google.gerrit.extensions.common.Comment

Copyright © 2018 www.massapicom. 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.