Skip to content

Commit 5a67c8c

Browse files
committed
chore(scancode): Remove an unused parse function
Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 093b9db commit 5a67c8c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

plugins/scanners/scancode/src/main/kotlin/ScanCodeResultParser.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919

2020
package org.ossreviewtoolkit.plugins.scanners.scancode
2121

22-
import java.io.File
23-
2422
import kotlinx.serialization.json.Json
2523
import kotlinx.serialization.json.JsonElement
2624
import kotlinx.serialization.json.JsonNamingStrategy
@@ -37,8 +35,6 @@ import org.ossreviewtoolkit.plugins.scanners.scancode.model.ScanCodeResult
3735

3836
import org.semver4j.Semver
3937

40-
fun parseResult(result: File) = parseResult(result.readText())
41-
4238
fun parseResult(result: String) = parseResult(Json.parseToJsonElement(result))
4339

4440
private fun parseResult(result: JsonElement): ScanCodeResult {

0 commit comments

Comments
 (0)