Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE27DE74F for ; Wed, 13 Mar 2013 17:14:13 +0000 (UTC) Received: (qmail 38110 invoked by uid 500); 13 Mar 2013 17:14:13 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 38064 invoked by uid 500); 13 Mar 2013 17:14:13 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 37957 invoked by uid 99); 13 Mar 2013 17:14:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 17:14:13 +0000 Date: Wed, 13 Mar 2013 17:14:13 +0000 (UTC) From: "Felix Meschberger (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FELIX-3970) Remove unneeded hashCode and equals methods from PrinterMode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Felix Meschberger created FELIX-3970: ---------------------------------------- Summary: Remove unneeded hashCode and equals methods from PrinterMode Key: FELIX-3970 URL: https://issues.apache.org/jira/browse/FELIX-3970 Project: Felix Issue Type: Task Components: Inventory Affects Versions: inventory-1.0.0 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: inventory-1.0.0 PrinterMode has hashCode and equals methods which are not required: There are only three instances of this class whose construction is controlled because it is a type safe enum. To compare, the Object.equals method comparing just the references and the Object.hashCode giving some object identity are enough. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira