hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-1026) UnderReplicationBlocks should use generic types
Date Sat, 17 Feb 2007 04:41:05 GMT
UnderReplicationBlocks should use generic types
-----------------------------------------------

                 Key: HADOOP-1026
                 URL: https://issues.apache.org/jira/browse/HADOOP-1026
             Project: Hadoop
          Issue Type: Bug
          Components: dfs
            Reporter: Konstantin Shvachko
            Priority: Minor


1. HADOOP-659 introduced new class UnderReplicationBlocks, and
two new warnings about use of generic types
        TreeSet<Block>[] priorityQueues = new TreeSet[LEVEL];
        Iterator<Block>[] iterator = new Iterator[LEVEL];
should resp. read
        TreeSet<Block>[] priorityQueues = new TreeSet<Block>[LEVEL];
        Iterator<Block>[] iterator = new Iterator<Block>[LEVEL];

2. I'd rename class UnderReplicationBlocks to UnderReplicatedBlocks while it is still internal.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message