aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/main/java/org/semver/Delta.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/main/java/org/semver/Delta.java b/api/src/main/java/org/semver/Delta.java
index 6fdb9a3..339518d 100644
--- a/api/src/main/java/org/semver/Delta.java
+++ b/api/src/main/java/org/semver/Delta.java
@@ -107,7 +107,7 @@ public class Delta {
private final Set<Difference> differences;
public Delta(@Nonnull final Set<Difference> differences) {
- this.differences = Collections.unmodifiableSet(this.differences);
+ this.differences = Collections.unmodifiableSet(differences);
}
public Set<Difference> getDifferences() {