Skip to content

Commit 17744d1

Browse files
committed
1 parent 60b63dd commit 17744d1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/main/kotlin/spp/protocol/artifact/ArtifactQualifiedName.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,14 @@ data class ArtifactQualifiedName(
3030
val identifier: String,
3131
val commitId: String? = null,
3232
val type: ArtifactType,
33-
val lineNumber: Int? = null,
34-
val operationName: String? = null //todo: only method artifacts need
33+
val lineNumber: Int? = null
3534
) {
3635

3736
constructor(json: JsonObject) : this(
3837
json.getString("identifier"),
3938
json.getString("commitId"),
4039
ArtifactType.valueOf(json.getString("type")),
41-
json.getInteger("lineNumber"),
42-
json.getString("operationName")
40+
json.getInteger("lineNumber")
4341
)
4442

4543
fun toJson(): JsonObject {
@@ -48,7 +46,6 @@ data class ArtifactQualifiedName(
4846
json.put("commitId", commitId)
4947
json.put("type", type.name)
5048
json.put("lineNumber", lineNumber)
51-
json.put("operationName", operationName)
5249
return json
5350
}
5451

0 commit comments

Comments
 (0)