You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by sm...@apache.org on 2013/11/22 00:29:10 UTC

svn commit: r1544371 - /mahout/trunk/integration/src/test/java/org/apache/mahout/text/LuceneSegmentInputFormatTest.java

Author: smarthi
Date: Thu Nov 21 23:29:09 2013
New Revision: 1544371

URL: http://svn.apache.org/r1544371
Log:
MAHOUT-1292: Minor cleanups

Modified:
    mahout/trunk/integration/src/test/java/org/apache/mahout/text/LuceneSegmentInputFormatTest.java

Modified: mahout/trunk/integration/src/test/java/org/apache/mahout/text/LuceneSegmentInputFormatTest.java
URL: http://svn.apache.org/viewvc/mahout/trunk/integration/src/test/java/org/apache/mahout/text/LuceneSegmentInputFormatTest.java?rev=1544371&r1=1544370&r2=1544371&view=diff
==============================================================================
--- mahout/trunk/integration/src/test/java/org/apache/mahout/text/LuceneSegmentInputFormatTest.java (original)
+++ mahout/trunk/integration/src/test/java/org/apache/mahout/text/LuceneSegmentInputFormatTest.java Thu Nov 21 23:29:09 2013
@@ -72,7 +72,7 @@ public class LuceneSegmentInputFormatTes
   private JobContext getJobContext(Configuration conf, JobID jobID) throws
       ClassNotFoundException, NoSuchMethodException, IllegalAccessException,
       InvocationTargetException, InstantiationException {
-    Class<? extends JobContext> clazz = null;
+    Class<? extends JobContext> clazz;
     if (!JobContext.class.isInterface()) {
       clazz = JobContext.class;
     } else {