toolbox4minecraft / amidst

Advanced Minecraft Interface and Data/Structure Tracking
GNU General Public License v3.0
2.13k stars 240 forks source link

Decompose complex conditional #1124

Open sarthak3136 opened 1 year ago

sarthak3136 commented 1 year ago

Decompose Complex Conditional type of Refactoring has been done in the following file:

File path: src/test/java/amidst/mojangapi/mocking/FakeMinecraftInterface.java

Reason: CreateWorldAccessor Method has the code smell of type complex conditional. That smell has been removed and refactored by decomposing the complex conditional statement in the separate method worldMatches.