@@ -228,8 +228,8 @@ ClassLoader getFunctionClassLoader() {
228228 }
229229
230230 /**
231- * This will start the server and wait (join) for function calls.
232- * To start the server inside a unit or integration test, use {@link #startTestServer()} instead.
231+ * This will start the server and wait (join) for function calls. To start the server inside a
232+ * unit or integration test, use {@link #startTestServer()} instead.
233233 *
234234 * @see #stopServer()
235235 * @throws Exception
@@ -238,33 +238,31 @@ public void startServer() throws Exception {
238238 startServer (true );
239239 }
240240
241-
242241 /**
243242 * This will start the server and return.
244243 *
245- * This method is designed to be used for unit or integration testing only.
246- * For other use cases use {@link #startServer()}.
244+ * <p>This method is designed to be used for unit or integration testing only. For other use cases
245+ * use {@link #startServer()}.
246+ *
247+ * <p>Inside a test a typical usage will be:
247248 *
248- * Inside a test a typical usage will be:
249- * <pre>
250- * {@code
251- * // Create an invoker
252- * Invoker invoker = new Invoker(
253- * 8081,
254- * "org.example.MyHttpFunction",
255- * "http",
256- * Thread.currentThread().getContextClassLoader()
257- * );
249+ * <pre>{@code
250+ * // Create an invoker
251+ * Invoker invoker = new Invoker(
252+ * 8081,
253+ * "org.example.MyHttpFunction",
254+ * "http",
255+ * Thread.currentThread().getContextClassLoader()
256+ * );
258257 *
259- * // Start the test server
260- * invoker.startTestServer();
258+ * // Start the test server
259+ * invoker.startTestServer();
261260 *
262- * // Test the function
261+ * // Test the function
263262 *
264- * // Stop the test server
265- * invoker.stopServer();
266- * }
267- * </pre>
263+ * // Stop the test server
264+ * invoker.stopServer();
265+ * }</pre>
268266 *
269267 * @see #stopServer()
270268 * @throws Exception
@@ -323,7 +321,6 @@ private void startServer(boolean join) throws Exception {
323321 *
324322 * @see #startServer()
325323 * @see #startTestServer()
326- *
327324 * @throws Exception
328325 */
329326 public void stopServer () throws Exception {
0 commit comments