Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 79631ee

Browse files
committed
Fix warning
1 parent 005404e commit 79631ee

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/build.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ To simplify your build.script(.kts), we recommend that you use the `org.seasar.d
6161

6262
See build.gradle.kts in the `getting-started`_ repository as an example.
6363

64-
.. _build-with-maven
64+
.. _build-with-maven:
6565

6666
Build with Maven
6767
=================

docs/kotlin-support.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Entity classes
1818
* Define as a plain class
1919
* Specify a ``Metamodel`` annotation to the ``metamodel`` element of ``@Entity``
2020

21-
.. code-block:: java
21+
.. code-block:: kotlin
2222
2323
@Entity(metamodel = Metamodel())
2424
class Person : AbstractPerson() {
@@ -48,7 +48,7 @@ Domain classes
4848
* Define only one property whose name is ``value`` in the constructor
4949
* Use `val` for the property definition
5050

51-
.. code-block:: java
51+
.. code-block:: kotlin
5252
5353
@Domain(valueType = String::class)
5454
data class Name(val value: String)
@@ -61,7 +61,7 @@ Embeddable classes
6161
* Define properties only in the constructor
6262
* Use `val` for the property definitions
6363

64-
.. code-block:: java
64+
.. code-block:: kotlin
6565
6666
@Embeddable
6767
data class Address(val city: String, val street: String)
@@ -71,7 +71,7 @@ Dao interfaces
7171

7272
* Specify a SQL template to ``@org.seasar.doma.Sql``
7373

74-
.. code-block:: java
74+
.. code-block:: kotlin
7575
7676
@Dao
7777
interface PersonDao {
@@ -85,7 +85,7 @@ Dao interfaces
8585
fun insert(person: Person): Int
8686
}
8787
88-
.. code-block:: java
88+
.. code-block:: kotlin
8989
9090
val dao: PersonDao = ...
9191
val person = Person(name = Name("John"), address = Address(city = "Tokyo", street = "Yaesu"))

0 commit comments

Comments
 (0)