🚚 Rename file containing annotations
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 17 May 2019 14:54:04 +0000 (16:54 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 17 May 2019 15:01:26 +0000 (17:01 +0200)
src/main/kotlin/net/pterodactylus/sone/web/page/Annotations.kt [new file with mode: 0644]
src/main/kotlin/net/pterodactylus/sone/web/page/MenuName.kt [deleted file]

diff --git a/src/main/kotlin/net/pterodactylus/sone/web/page/Annotations.kt b/src/main/kotlin/net/pterodactylus/sone/web/page/Annotations.kt
new file mode 100644 (file)
index 0000000..0bda133
--- /dev/null
@@ -0,0 +1,11 @@
+package net.pterodactylus.sone.web.page
+
+import net.pterodactylus.util.web.*
+
+annotation class MenuName(val value: String)
+
+val Page<*>.menuName get() = javaClass.getAnnotation(MenuName::class.java)?.value
+
+annotation class TemplatePath(val value: String)
+
+val Page<*>.templatePath get() = javaClass.getAnnotation(TemplatePath::class.java)?.value
diff --git a/src/main/kotlin/net/pterodactylus/sone/web/page/MenuName.kt b/src/main/kotlin/net/pterodactylus/sone/web/page/MenuName.kt
deleted file mode 100644 (file)
index 0bda133..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package net.pterodactylus.sone.web.page
-
-import net.pterodactylus.util.web.*
-
-annotation class MenuName(val value: String)
-
-val Page<*>.menuName get() = javaClass.getAnnotation(MenuName::class.java)?.value
-
-annotation class TemplatePath(val value: String)
-
-val Page<*>.templatePath get() = javaClass.getAnnotation(TemplatePath::class.java)?.value