Index: src/java/org/apache/nutch/indexer/solr/SolrMappingReader.java
===================================================================
--- src/java/org/apache/nutch/indexer/solr/SolrMappingReader.java	(revision 1428271)
+++ src/java/org/apache/nutch/indexer/solr/SolrMappingReader.java	(working copy)
@@ -122,21 +122,21 @@
 
   public String hasCopy(String key) {
     if (copyMap.containsKey(key)) {
-      key = (String) copyMap.get(key);
+      key = copyMap.get(key);
     }
     return key;
   }
 
   public String mapKey(String key) throws IOException {
     if(keyMap.containsKey(key)) {
-      key = (String) keyMap.get(key);
+      key = keyMap.get(key);
     }
     return key;
   }
 
   public String mapCopyKey(String key) throws IOException {
     if(copyMap.containsKey(key)) {
-      key = (String) copyMap.get(key);
+      key = copyMap.get(key);
     }
     return key;
   }
Index: src/java/org/apache/nutch/indexer/solr/SolrWriter.java
===================================================================
--- src/java/org/apache/nutch/indexer/solr/SolrWriter.java	(revision 1428271)
+++ src/java/org/apache/nutch/indexer/solr/SolrWriter.java	(working copy)
@@ -61,7 +61,7 @@
 
         Object val2 = val;
         if (e.getKey().equals("content") || e.getKey().equals("title")) {
-          val2 = stripNonCharCodepoints((String)val);
+          val2 = stripNonCharCodepoints(val);
         }
 
         inputDoc.addField(solrMapping.mapKey(e.getKey()), val2);
Index: src/java/org/apache/nutch/tools/arc/ArcRecordReader.java
===================================================================
--- src/java/org/apache/nutch/tools/arc/ArcRecordReader.java	(revision 1428271)
+++ src/java/org/apache/nutch/tools/arc/ArcRecordReader.java	(working copy)
@@ -122,14 +122,14 @@
    * Creates a new instance of the <code>Text</code> object for the key.
    */
   public Text createKey() {
-    return (Text)ReflectionUtils.newInstance(Text.class, conf);
+    return ReflectionUtils.newInstance(Text.class, conf);
   }
 
   /**
    * Creates a new instance of the <code>BytesWritable</code> object for the key
    */
   public BytesWritable createValue() {
-    return (BytesWritable)ReflectionUtils.newInstance(BytesWritable.class, conf);
+    return ReflectionUtils.newInstance(BytesWritable.class, conf);
   }
 
   /**
@@ -264,9 +264,9 @@
         System.arraycopy(content, eol + 1, raw, 0, raw.length);
         
         // populate key and values with the header and raw content.
-        Text keyText = (Text)key;
+        Text keyText = key;
         keyText.set(header);
-        BytesWritable valueBytes = (BytesWritable)value;
+        BytesWritable valueBytes = value;
         valueBytes.set(raw, 0, raw.length);
 
         // TODO: It would be best to start at the end of the gzip read but 
Index: src/java/org/apache/nutch/crawl/WebTableReader.java
===================================================================
--- src/java/org/apache/nutch/crawl/WebTableReader.java	(revision 1428271)
+++ src/java/org/apache/nutch/crawl/WebTableReader.java	(working copy)
@@ -125,7 +125,7 @@
         throws IOException, InterruptedException {
       val.set(0L);
       Iterator<LongWritable> iter = values.iterator();
-      String k = ((Text) key).toString();
+      String k = key.toString();
       if (!k.equals("s")) {
         while (iter.hasNext()) {
           LongWritable cnt = iter.next();
@@ -166,7 +166,7 @@
         org.apache.hadoop.mapreduce.Reducer<Text, LongWritable, Text, LongWritable>.Context context)
         throws IOException, InterruptedException {
       Iterator<LongWritable> iter = values.iterator();
-      String k = ((Text) key).toString();
+      String k = key.toString();
       if (k.equals("T")) {
         // sum all values for this key
         long sum = 0;
@@ -574,9 +574,9 @@
       String k = entry.getKey();
       LongWritable val = entry.getValue();
       if (k.equals("scn")) {
-        results.put("min score", (float) (val.get() / 1000.0f));
+        results.put("min score", (val.get() / 1000.0f));
       } else if (k.equals("scx")) {
-        results.put("max score", (float) (val.get() / 1000.0f));
+        results.put("max score", (val.get() / 1000.0f));
       } else if (k.equals("sct")) {
         results.put("avg score",
             (float) ((((double) val.get()) / totalCnt.get()) / 1000.0));
Index: src/java/org/apache/nutch/api/DbReader.java
===================================================================
--- src/java/org/apache/nutch/api/DbReader.java	(revision 1428271)
+++ src/java/org/apache/nutch/api/DbReader.java	(working copy)
@@ -74,7 +74,7 @@
       // remove "url"
       flds.remove("url");
       if (flds.size() > 0) {
-        qFields = (String[])flds.toArray(new String[flds.size()]);
+        qFields = flds.toArray(new String[flds.size()]);
       } else {
         qFields = null;
       }
Index: src/java/org/apache/nutch/fetcher/FetcherReducer.java
===================================================================
--- src/java/org/apache/nutch/fetcher/FetcherReducer.java	(revision 1428271)
+++ src/java/org/apache/nutch/fetcher/FetcherReducer.java	(working copy)
@@ -761,7 +761,7 @@
     status.append(spinWaiting).append("/").append(activeThreads).append(" spinwaiting/active, ");
     status.append(pages).append(" pages, ").append(errors).append(" errors, ");
     status.append(Math.round((((float)pages.get())*10)/elapsed)/10.0).append(" ");
-    status.append(Math.round(((float)actualPages)*10)/10.0).append(" pages/s, ");
+    status.append(Math.round((actualPages)*10)/10.0).append(" pages/s, ");
     status.append(Math.round((((float)bytes.get())*8)/1024)/elapsed).append(" ");
     status.append(Math.round(((float)actualBytes)*8)/1024).append(" kb/s, ");
     status.append(totalSize).append(" URLs in ");
