Skip to content

Commit

Permalink
refactor: Remove unnecessary line break
Browse files Browse the repository at this point in the history
  • Loading branch information
Griefed committed Jul 5, 2024
1 parent f535c85 commit 4e06d17
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ private const val FILE = "file:"
* @author Griefed
*/
@Throws(JarAccessException::class)
fun <T : Any> Class<T>.source(
tempDir: File = File(tmpDir)
): File {
fun <T : Any> Class<T>.source(tempDir: File = File(tmpDir)): File {
val clazz = "$simpleName.class"
val classResource: URL = getResource(clazz) ?: throw JarAccessException("Class resource is null")
val url = classResource.toString()
Expand Down

0 comments on commit 4e06d17

Please sign in to comment.