Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 99004 invoked from network); 1 Nov 2006 22:26:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2006 22:26:41 -0000 Received: (qmail 597 invoked by uid 500); 1 Nov 2006 22:26:52 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 136 invoked by uid 500); 1 Nov 2006 22:26:50 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 113 invoked by uid 99); 1 Nov 2006 22:26:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 14:26:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 14:26:38 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A7FC27142EC for ; Wed, 1 Nov 2006 14:26:18 -0800 (PST) Message-ID: <13556898.1162419978685.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 14:26:18 -0800 (PST) From: "Konstantin Shvachko (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-670) Generic types for FSNamesystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Generic types for FSNamesystem ------------------------------ Key: HADOOP-670 URL: http://issues.apache.org/jira/browse/HADOOP-670 Project: Hadoop Issue Type: Improvement Affects Versions: 0.7.2 Reporter: Konstantin Shvachko Assigned To: Konstantin Shvachko Fix For: 0.8.0 Attachments: Generics.patch I introduced generic types for FSNamesystem class. I tried to keep interfaces in declarations of the member as general as possible in order to have flexibility to change types of instances in the future. I tried to contain changes within one java file. I also replaced Vector types by ArrayList. Vectors are synchronized, which we don't need since we already have top level synchronization in FSNamesystem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira