From: adam Date: Mon, 3 Nov 2008 10:06:43 +0000 (+0100) Subject: make Context.setNext() private X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b4fa65be243c0e0a3d2c9436831fa19db6057da7;p=fleet.git make Context.setNext() private --- diff --git a/src/edu/berkeley/fleet/ir/Context.java b/src/edu/berkeley/fleet/ir/Context.java index 624e3b6..844851c 100644 --- a/src/edu/berkeley/fleet/ir/Context.java +++ b/src/edu/berkeley/fleet/ir/Context.java @@ -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; }