make Context.setNext() private
authoradam <adam@megacz.com>
Mon, 3 Nov 2008 10:06:43 +0000 (11:06 +0100)
committeradam <adam@megacz.com>
Mon, 3 Nov 2008 10:06:43 +0000 (11:06 +0100)
src/edu/berkeley/fleet/ir/Context.java

index 624e3b6..844851c 100644 (file)
@@ -98,7 +98,7 @@ public class Context {
         }
 
         public LoopFactory getNext() { return next; }
-        public void setNext(LoopFactory next) {
+        private void setNext(LoopFactory next) {
             if (this.next != null) throw new RuntimeException("attempt to setNext() twice");
             this.next = next;
         }