Skip to content

Commit

Permalink
Remove deprecated constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Jan 2, 2022
1 parent 5364754 commit 6b16f0d
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/main/scala/play/doc/PlayDoc.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,6 @@ class PlayDoc(
templates: PlayDocTemplates,
pageExtension: Option[String]
) {
@deprecated("Use the primary constructor", "1.3.0")
def this(
markdownRepository: FileRepository,
codeRepository: FileRepository,
resources: String,
playVersion: String,
pageIndex: Option[PageIndex],
nextText: String
) =
this(
markdownRepository,
codeRepository,
resources,
playVersion,
pageIndex,
new TranslatedPlayDocTemplates(nextText),
None
)

@deprecated("Use the primary constructor", "1.3.0")
def this(markdownRepository: FileRepository, codeRepository: FileRepository, resources: String, playVersion: String) =
this(markdownRepository, codeRepository, resources, playVersion, None, PlayDocTemplates, None)

@deprecated("Use the primary constructor", "1.4.0")
def this(
markdownRepository: FileRepository,
codeRepository: FileRepository,
resources: String,
playVersion: String,
pageIndex: Option[PageIndex],
templates: PlayDocTemplates
) =
this(markdownRepository, codeRepository, resources, playVersion, pageIndex, templates, None)

val PlayVersionVariableName = "%PLAY_VERSION%"

Expand Down

0 comments on commit 6b16f0d

Please sign in to comment.