File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/main/kotlin/spp/protocol/artifact Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments