incubator-giraph-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ach...@apache.org
Subject svn commit: r1303497 - in /incubator/giraph/trunk: CHANGELOG src/main/java/org/apache/giraph/GiraphRunner.java
Date Wed, 21 Mar 2012 18:45:24 GMT
Author: aching
Date: Wed Mar 21 18:45:24 2012
New Revision: 1303497

URL: http://svn.apache.org/viewvc?rev=1303497&view=rev
Log:
GIRAPH-164: fix 5 "Line is longer than 80 characters" style errors in
 GiraphRunner (ekoontz via aching).

Modified:
    incubator/giraph/trunk/CHANGELOG
    incubator/giraph/trunk/src/main/java/org/apache/giraph/GiraphRunner.java

Modified: incubator/giraph/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/incubator/giraph/trunk/CHANGELOG?rev=1303497&r1=1303496&r2=1303497&view=diff
==============================================================================
--- incubator/giraph/trunk/CHANGELOG (original)
+++ incubator/giraph/trunk/CHANGELOG Wed Mar 21 18:45:24 2012
@@ -2,6 +2,9 @@ Giraph Change Log
 
 Release 0.2.0 - unreleased
 
+  GIRAPH-164: fix 5 "Line is longer than 80 characters" style errors
+  in GiraphRunner (ekoontz via aching).
+
   GIRAPH-162: BspCase.setup() should catch FileNotFoundException
   thrown from org.apache.hadoop.fs.FileSystem.listStatus() (ekoontz
   via aching).

Modified: incubator/giraph/trunk/src/main/java/org/apache/giraph/GiraphRunner.java
URL: http://svn.apache.org/viewvc/incubator/giraph/trunk/src/main/java/org/apache/giraph/GiraphRunner.java?rev=1303497&r1=1303496&r2=1303497&view=diff
==============================================================================
--- incubator/giraph/trunk/src/main/java/org/apache/giraph/GiraphRunner.java (original)
+++ incubator/giraph/trunk/src/main/java/org/apache/giraph/GiraphRunner.java Wed Mar 21 18:45:24
2012
@@ -152,13 +152,17 @@ public class GiraphRunner implements Too
 
     if (cmd.hasOption("ca")) {
       Configuration conf = job.getConfiguration();
-      for (String paramValue : Splitter.on(',').split(cmd.getOptionValue("ca"))) {
-        String[] parts = Iterables.toArray(Splitter.on('=').split(paramValue), String.class);
+      for (String paramValue :
+          Splitter.on(',').split(cmd.getOptionValue("ca"))) {
+        String[] parts = Iterables.toArray(Splitter.on('=').split(paramValue),
+            String.class);
         if (parts.length != 2) {
-          throw new IllegalArgumentException("Unable to parse custom argument: " + paramValue);
+          throw new IllegalArgumentException("Unable to parse custom " +
+              " argument: " + paramValue);
         }
         if (LOG.isInfoEnabled()) {
-          LOG.info("Setting custom argument [" + parts[0] + "] to [" + parts[1] + "]");
+          LOG.info("Setting custom argument [" + parts[0] + "] to [" +
+              parts[1] + "]");
         }
         conf.set(parts[0], parts[1]);
       }



Mime
View raw message