diff options
Diffstat (limited to 'sonar-duplications/src/main/java/org/sonar/duplications/block/FileBlocks.java')
-rw-r--r-- | sonar-duplications/src/main/java/org/sonar/duplications/block/FileBlocks.java | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sonar-duplications/src/main/java/org/sonar/duplications/block/FileBlocks.java b/sonar-duplications/src/main/java/org/sonar/duplications/block/FileBlocks.java index 2ac876651a1..898200c8b36 100644 --- a/sonar-duplications/src/main/java/org/sonar/duplications/block/FileBlocks.java +++ b/sonar-duplications/src/main/java/org/sonar/duplications/block/FileBlocks.java @@ -24,22 +24,6 @@ import java.util.List; /** * Represents all blocks in a file. */ -public final class FileBlocks { - - private final String resourceId; - private final List<Block> blocks; - - public FileBlocks(String resourceId, List<Block> blocks) { - this.resourceId = resourceId; - this.blocks = blocks; - } - - public String resourceId() { - return resourceId; - } - - public List<Block> blocks() { - return blocks; - } +public record FileBlocks(String resourceId, List<Block> blocks) { } |