We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4cca1 commit 448cc03Copy full SHA for 448cc03
adapter/src/main/kotlin/org/javacs/ktda/core/Source.kt
@@ -3,11 +3,7 @@ package org.javacs.ktda.core
3
import java.nio.file.Path
4
5
/** A source unit descriptor (usually a file) */
6
-class Source(
+data class Source(
7
val name: String,
8
val filePath: Path
9
-) {
10
- override fun equals(other: Any?): Boolean {
11
- return (other is Source) && (name == other.name) && (filePath == other.filePath)
12
- }
13
-}
+)
0 commit comments