Repository: geode-examples
Updated Branches:
  refs/heads/master 7aacbd04a -> 7f93d95ad


http://git-wip-us.apache.org/repos/asf/geode-examples/blob/6b7eacb2/utils/src/main/java/org/apache/geode/example/utils/ShellUtil.java
----------------------------------------------------------------------
diff --git a/utils/src/main/java/org/apache/geode/example/utils/ShellUtil.java 
b/utils/src/main/java/org/apache/geode/example/utils/ShellUtil.java
index c5290b8..c123854 100644
--- a/utils/src/main/java/org/apache/geode/example/utils/ShellUtil.java
+++ b/utils/src/main/java/org/apache/geode/example/utils/ShellUtil.java
@@ -1,18 +1,16 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license
+ * agreements. See the NOTICE file distributed with this work for additional 
information regarding
+ * copyright ownership. The ASF licenses this file to You under the Apache 
License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the 
License. You may obtain a
+ * copy of the License at
  *
- *      http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing, software 
distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
KIND, either express
+ * or implied. See the License for the specific language governing permissions 
and limitations under
+ * the License.
  */
 
 package org.apache.geode.example.utils;
@@ -44,10 +42,11 @@ public class ShellUtil {
 
   public CommandLine parseCommandLine(String fileName) {
     return getFileFromClassLoader(fileName).map(file -> 
CommandLine.parse(file.getAbsolutePath()))
-                                           
.orElseThrow(IllegalArgumentException::new);
+        .orElseThrow(IllegalArgumentException::new);
   }
 
-  public DefaultExecuteResultHandler execute(CommandLine cmdLine, long 
timeout, Map environment, File dir) throws IOException {
+  public DefaultExecuteResultHandler execute(CommandLine cmdLine, long 
timeout, Map environment,
+      File dir) throws IOException {
     ExecutorTemplate exampleTestExecutor = new ExecutorTemplate(timeout, 
dir).invoke();
     DefaultExecutor executor = exampleTestExecutor.getExecutor();
     DefaultExecuteResultHandler resultHandler = 
exampleTestExecutor.getResultHandler();
@@ -57,7 +56,8 @@ public class ShellUtil {
 
   }
 
-  public DefaultExecuteResultHandler execute(String fileName, long timeout, 
Map environment, File dir) throws IOException {
+  public DefaultExecuteResultHandler execute(String fileName, long timeout, 
Map environment,
+      File dir) throws IOException {
     ExecutorTemplate exampleTestExecutor = new ExecutorTemplate(timeout, 
dir).invoke();
     DefaultExecutor executor = exampleTestExecutor.getExecutor();
     DefaultExecuteResultHandler resultHandler = 
exampleTestExecutor.getResultHandler();
@@ -103,4 +103,4 @@ public class ShellUtil {
       return this;
     }
   }
-}
\ No newline at end of file
+}

Reply via email to