fixing outdated example code in the javadoc of ExecuteWatchdog.java

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/exec/trunk@1741116 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java b/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
index 437efcc..ea71136 100644
--- a/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
+++ b/src/main/java/org/apache/commons/exec/ExecuteWatchdog.java
@@ -25,10 +25,11 @@
  *
  * <pre>
  * ExecuteWatchdog watchdog = new ExecuteWatchdog(30000);
- * Executer exec = new Executer(myloghandler, watchdog);
- * exec.setCommandLine(mycmdline);
- * int exitvalue = exec.execute();
- * if (Execute.isFailure(exitvalue) &amp;&amp; watchdog.killedProcess()) {
+ * Executor executor = new DefaultExecutor();
+ * executor.setStreamHandler(new PumpStreamHandler());
+ * executor.setWatchdog(watchdog);
+ * int exitValue = executor.execute(myCommandLine);
+ * if (executor.isFailure(exitValue) &amp;&amp; watchdog.killedProcess()) {
  *     // it was killed on purpose by the watchdog
  * }
  * </pre>