mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-25 08:56:29 +00:00
hashCode and equals
This commit is contained in:
@@ -28,14 +28,21 @@ import java.util.List;
|
||||
public class GraphPart implements Serializable {
|
||||
|
||||
public static final int TYPE_NONE = 0;
|
||||
|
||||
public static final int TYPE_LOOP_HEADER = 1;
|
||||
|
||||
public static final int TYPE_PRELOOP = 3;
|
||||
|
||||
public static final int TYPE_REENTRY = 2;
|
||||
|
||||
public boolean traversed = false;
|
||||
|
||||
public int DFSP_pos = 0;
|
||||
|
||||
public GraphPart iloop_header;
|
||||
|
||||
public int type = TYPE_NONE;
|
||||
|
||||
public boolean irreducible = false;
|
||||
|
||||
public int start = 0;
|
||||
@@ -315,10 +322,10 @@ public class GraphPart implements Serializable {
|
||||
return false;
|
||||
}
|
||||
final GraphPart other = (GraphPart) obj;
|
||||
if (this.start != other.start) {
|
||||
if (start != other.start) {
|
||||
return false;
|
||||
}
|
||||
if (this.end != other.end) {
|
||||
if (end != other.end) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user