Skip to content

Commit

Permalink
Remove deprecated code (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
theEvilReaper authored Jan 4, 2024
1 parent fd001ec commit c2fec16
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
27 changes: 0 additions & 27 deletions src/main/kotlin/net/theevilreaper/dartpoet/type/ConstClassName.kt

This file was deleted.

3 changes: 0 additions & 3 deletions src/main/kotlin/net/theevilreaper/dartpoet/type/TypeNames.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@ val DOUBLE: ClassName = ClassName("double")
@JvmField
val STRING: ClassName = ClassName("String")

@JvmField
internal val CONST: ClassName = ConstClassName()

@JvmField
val DYNAMIC: ClassName = DynamicClassName()
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ internal const val NEW_LINE_CHAR = '\n'
internal const val NEW_LINE = NEW_LINE_CHAR.toString()
internal const val SEMICOLON = ";"
internal const val DOCUMENTATION_CHAR = "///"
internal const val AS_PART = "as"
internal const val IMPORT = "import"
internal const val ANNOTATION_CHAR = "@"
internal const val DART_FILE_ENDING = ".dart"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class TypeNameExceptionsTest {
@JvmStatic
private fun copyWithException() = Stream.of(
Arguments.of("The dynamic type can't be copied", { DYNAMIC.copy() }),
Arguments.of("The const type can't be copied", { CONST.copy() })
)

@JvmStatic
Expand Down

0 comments on commit c2fec16

Please sign in to comment.