Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 32473 invoked from network); 27 Feb 2004 20:38:11 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 20:38:11 -0000 Received: (qmail 25210 invoked by uid 500); 27 Feb 2004 20:37:59 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 25080 invoked by uid 500); 27 Feb 2004 20:37:58 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 25066 invoked by uid 500); 27 Feb 2004 20:37:58 -0000 Received: (qmail 25063 invoked from network); 27 Feb 2004 20:37:58 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 27 Feb 2004 20:37:58 -0000 Received: (qmail 32440 invoked by uid 1513); 27 Feb 2004 20:38:08 -0000 Date: 27 Feb 2004 20:38:08 -0000 Message-ID: <20040227203808.32439.qmail@minotaur.apache.org> From: brj@apache.org To: db-ojb-cvs@apache.org Subject: cvs commit: db-ojb/src/java/org/apache/ojb/odmg/collections DListEntry_2.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N brj 2004/02/27 12:38:08 Modified: src/java/org/apache/ojb/odmg/collections DListEntry_2.java Log: fixed minor problems detected by findbugs Revision Changes Path 1.6 +9 -6 db-ojb/src/java/org/apache/ojb/odmg/collections/DListEntry_2.java Index: DListEntry_2.java =================================================================== RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/collections/DListEntry_2.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- DListEntry_2.java 7 Jan 2004 19:11:11 -0000 1.5 +++ DListEntry_2.java 27 Feb 2004 20:38:08 -0000 1.6 @@ -120,12 +120,15 @@ /** * Standard way to instantiate new entries */ - public DListEntry_2(DListImpl_2 dList, Object theObject) + public DListEntry_2(DListImpl_2 theDList, Object theObject) { - this.dList = dList; - this.pbKey = dList != null ? dList.getPBKey() : null; - this.dlistId = dList.getId(); - this.position = dList.size(); + this.dList = theDList; + if (dList != null) + { + this.pbKey = dList.getPBKey(); + this.dlistId = dList.getId(); + this.position = dList.size(); + } this.realSubject = theObject; } --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org