Skip to content

Fix hotel cost calculation and refactor Specification implementation#158

Open
ashx404 wants to merge 2 commits intoashishps1:mainfrom
ashx404:scratch/hotel-management-fixes-java
Open

Fix hotel cost calculation and refactor Specification implementation#158
ashx404 wants to merge 2 commits intoashishps1:mainfrom
ashx404:scratch/hotel-management-fixes-java

Conversation

@ashx404
Copy link
Copy Markdown

@ashx404 ashx404 commented Aug 31, 2025

  1. RoomBooking was not considering numberOfNights while calculating the cost.
  2. Refactored Specification pattern to use a single interface with default implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant