Skip to content

Commit 3031f0e

Browse files
committed
Fix formatting of code blocks in develop/table-functions.rst
1 parent 52ad58a commit 3031f0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

presto-docs/src/main/sphinx/develop/table-functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To declare a table function, you must implement ``ConnectorTableFunction``. Subc
2020
The constructor
2121
---------------
2222

23-
::
23+
.. code-block:: java
2424
2525
public class MyFunction
2626
extends AbstractConnectorTableFunction
@@ -195,7 +195,7 @@ the ``analyze()`` method. This method is called by the engine during the analysi
195195
of query processing. The ``analyze()`` method is also the place to perform custom checks
196196
on the arguments:
197197

198-
::
198+
.. code-block:: java
199199
200200
@Override
201201
public TableFunctionAnalysis analyze(ConnectorSession session, ConnectorTransactionHandle transaction, Map<String, Argument> arguments)

0 commit comments

Comments
 (0)