giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Homan (Created) (JIRA)" <>
Subject [jira] [Created] (GIRAPH-177) SimplePageRankVertex has two redundant casts
Date Sat, 07 Apr 2012 20:40:15 GMT
SimplePageRankVertex has two redundant casts

                 Key: GIRAPH-177
             Project: Giraph
          Issue Type: Improvement
            Reporter: Jakob Homan
            Priority: Trivial

{code}        DoubleWritable maxPagerank =
            (DoubleWritable) maxAggreg.getAggregatedValue();"aggregatedMaxPageRank=" + maxPagerank.get());
        DoubleWritable minPagerank =
            (DoubleWritable) minAggreg.getAggregatedValue();"aggregatedMinPageRank=" + minPagerank.get());{code}
Both MinAggregator and MaxAggregator are already parameterized on DoubleWritable, so it's
not necessary to cast their functions' results.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message