refactor: remove NestPhase.Remainder enum value and switch cases

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 12:50:48 -04:00
parent 78c625361e
commit 2b578fa006
3 changed files with 1 additions and 4 deletions

View File

@@ -310,7 +310,6 @@ namespace OpenNest
case NestPhase.Pairs: return "Pairs";
case NestPhase.Linear: return "Linear";
case NestPhase.RectBestFit: return "BestFit";
case NestPhase.Remainder: return "Remainder";
default: return phase.ToString();
}
}

View File

@@ -7,8 +7,7 @@ namespace OpenNest
Linear,
RectBestFit,
Pairs,
Nfp,
Remainder
Nfp
}
public class PhaseResult

View File

@@ -96,7 +96,6 @@ namespace OpenNest.Forms
case NestPhase.Linear: return "Trying rotations...";
case NestPhase.RectBestFit: return "Trying best fit...";
case NestPhase.Pairs: return "Trying pairs...";
case NestPhase.Remainder: return "Filling remainder...";
default: return phase.ToString();
}
}