You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2008/09/22 12:34:50 UTC

svn commit: r697776 - /incubator/hama/trunk/src/java/org/apache/hama/shell/HamaShell.java

Author: edwardyoon
Date: Mon Sep 22 03:34:49 2008
New Revision: 697776

URL: http://svn.apache.org/viewvc?rev=697776&view=rev
Log:
Formatting.

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/shell/HamaShell.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/shell/HamaShell.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/shell/HamaShell.java?rev=697776&r1=697775&r2=697776&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/shell/HamaShell.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/shell/HamaShell.java Mon Sep 22 03:34:49 2008
@@ -28,12 +28,12 @@
 
 /**
  * HamaShell
- *
+ * 
  */
 // TODO : improve to make it executed in batch mode.
-//        now it parse the input stream to expression by expression.
-//        so we only can execute expression by expression.
-//        it is not efficient.
+// now it parse the input stream to expression by expression.
+// so we only can execute expression by expression.
+// it is not efficient.
 public class HamaShell {
 
   private final Log log = LogFactory.getLog(getClass());
@@ -46,11 +46,12 @@
   /**
    * HamaShell Constructor.
    * 
-   * @param in          input stream to be parsed
-   * @param shellEnv    shell environment
-   * @param conf        Hama Configuration
+   * @param in input stream to be parsed
+   * @param shellEnv shell environment
+   * @param conf Hama Configuration
    */
-  public HamaShell(BufferedReader in, HamaShellEnv shellEnv, HamaConfiguration conf) {
+  public HamaShell(BufferedReader in, HamaShellEnv shellEnv,
+      HamaConfiguration conf) {
     this.in = in;
     this.env = shellEnv;
     this.conf = conf;
@@ -82,9 +83,10 @@
       log.error(e.getMessage());
     }
   }
-  
+
   public static void main(String[] args) {
-    HamaShell shell = new HamaShell(new BufferedReader( new InputStreamReader(System.in)), new HamaShellEnv(), new HamaConfiguration());
+    HamaShell shell = new HamaShell(new BufferedReader(new InputStreamReader(
+        System.in)), new HamaShellEnv(), new HamaConfiguration());
     shell.run();
   }