Fix tabbing.... Please fix your editors so they do tabbing correctly!!! (Spaces...
[IRC.git] / Robust / src / Analysis / Disjoint / StallSite.java
index b08cb9d18aa173cd7d6b474f03aa753a1928dff7..f889c28b4c182479fd946c704ed9ce0782e1c175 100644 (file)
@@ -5,51 +5,51 @@ import java.util.Set;
 
 public class StallSite {
 
-       private HashSet<Effect> effectSet;
-       private HashSet<AllocSite> allocSiteSet;
+  private HashSet<Effect> effectSet;
+  private HashSet<AllocSite> allocSiteSet;
 
-       public StallSite(Set<AllocSite> allocSet) {
-               effectSet = new HashSet<Effect>();
-               allocSiteSet = new HashSet<AllocSite>();
-               allocSiteSet.addAll(allocSet);
-       }
+  public StallSite(Set<AllocSite> allocSet) {
+    effectSet = new HashSet<Effect>();
+    allocSiteSet = new HashSet<AllocSite>();
+    allocSiteSet.addAll(allocSet);
+  }
 
-       public void addEffect(Effect e) {
-               effectSet.add(e);
-       }
+  public void addEffect(Effect e) {
+    effectSet.add(e);
+  }
 
-       public HashSet<Effect> getEffectSet() {
-               return effectSet;
-       }
+  public HashSet<Effect> getEffectSet() {
+    return effectSet;
+  }
 
-       public Set<AllocSite> getAllocSiteSet(){
-         return allocSiteSet;
-       }
+  public Set<AllocSite> getAllocSiteSet() {
+    return allocSiteSet;
+  }
 
-       public boolean equals(Object o) {
+  public boolean equals(Object o) {
 
-               if (o == null) {
-                       return false;
-               }
+    if (o == null) {
+      return false;
+    }
 
-               if (!(o instanceof StallSite)) {
-                       return false;
-               }
+    if (!(o instanceof StallSite)) {
+      return false;
+    }
 
-               StallSite in = (StallSite) o;
+    StallSite in = (StallSite) o;
 
-               if (allocSiteSet.equals(in.getAllocSiteSet())
-                               && effectSet.equals(in.getEffectSet()) ){
-                       return true;
-               } else {
-                       return false;
-               }
+    if (allocSiteSet.equals(in.getAllocSiteSet())
+        && effectSet.equals(in.getEffectSet()) ) {
+      return true;
+    } else {
+      return false;
+    }
 
-       }
+  }
 
-       @Override
-       public String toString() {
-               return "StallSite [allocationSiteSet=" + allocSiteSet
-                               + ", effectSet=" + effectSet + "]";
-       }
+  @Override
+  public String toString() {
+    return "StallSite [allocationSiteSet=" + allocSiteSet
+           + ", effectSet=" + effectSet + "]";
+  }
 }