Skip to content

Commit 9e62284

Browse files
committed
Fix Tool#execDirect javadoc
1 parent d645547 commit 9e62284

File tree

1 file changed

+9
-3
lines changed
  • src/main/java/org/apposed/appose/tool

1 file changed

+9
-3
lines changed

src/main/java/org/apposed/appose/tool/Tool.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,15 @@ protected void exec(File cwd, String... args) throws IOException, InterruptedExc
221221
}
222222

223223
/**
224-
* Executes a tool command with the specified arguments, without validating the tool installation beforehand,
225-
* without passing output to external listeners (see {@link #setOutputConsumer} and {@link #setErrorConsumer}),
226-
* and
224+
* Executes a tool command with the specified arguments, without validating
225+
* the tool installation beforehand, without passing output to external
226+
* listeners (see {@link #setOutputConsumer} and {@link #setErrorConsumer}),
227+
* and without including flags.
228+
* <p>
229+
* This method mainly exists for {@link #version()} checking, and subclasses
230+
* of {@code Tool} are unlikely to need it&mdash;they should probably use
231+
* {@link #exec} instead.
232+
* </p>
227233
*
228234
* @param args Command arguments for the tool.
229235
* @throws IOException If an I/O error occurs.

0 commit comments

Comments
 (0)