summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli/runtime/PersistentArray.cs4
-rw-r--r--src/org/clojure/runtime/PersistentArray.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cli/runtime/PersistentArray.cs b/src/cli/runtime/PersistentArray.cs
index 71002269..cec59dcc 100644
--- a/src/cli/runtime/PersistentArray.cs
+++ b/src/cli/runtime/PersistentArray.cs
@@ -119,8 +119,8 @@ internal class EntryLink : Entry
}
internal class Seq : ISeq{
- PersistentArray p;
- int i;
+ readonly PersistentArray p;
+ readonly int i;
internal Seq(PersistentArray p, int i){
this.p = p;
diff --git a/src/org/clojure/runtime/PersistentArray.java b/src/org/clojure/runtime/PersistentArray.java
index 7c8bf52f..06ae9195 100644
--- a/src/org/clojure/runtime/PersistentArray.java
+++ b/src/org/clojure/runtime/PersistentArray.java
@@ -110,8 +110,8 @@ static class EntryLink extends Entry{
}
static class Seq implements ISeq{
- PersistentArray p;
- int i;
+ final PersistentArray p;
+ final int i;
Seq(PersistentArray p, int i){
this.p = p;