@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (obj == null) { return false; } if (!obj.getClass().equals(JournalEntryContext.class)) { return false; } JournalEntryContext that = (JournalEntryContext) obj; return environmentAttributes.equals(that.environmentAttributes) && subjectAttributes.equals(that.subjectAttributes) && actionAttributes.equals(that.actionAttributes) && resourceAttributes.equals(that.resourceAttributes) && recoveryAttributes.equals(that.recoveryAttributes) && password.equals(that.password) && noOp == that.noOp && now.equals(that.now); }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (obj == null) { return false; } if (!obj.getClass().equals(JournalEntryContext.class)) { return false; } JournalEntryContext that = (JournalEntryContext) obj; return environmentAttributes.equals(that.environmentAttributes) && subjectAttributes.equals(that.subjectAttributes) && actionAttributes.equals(that.actionAttributes) && resourceAttributes.equals(that.resourceAttributes) && recoveryAttributes.equals(that.recoveryAttributes) && password.equals(that.password) && noOp == that.noOp && now.equals(that.now); }