Skip to content

Commit

Permalink
Minor css refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rihter007 committed Nov 20, 2015
1 parent 4d51407 commit 3aca208
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 67 deletions.
81 changes: 35 additions & 46 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions src/main/java/com/scrumtrek/simplestore/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,6 @@ public String getName()
return this.name;
}

/*public double getTotalPayment()
{
double totalAmount = 0.0;
for (Rental rentalInfo : this.rentals)
totalAmount += rentalInfo.totalAmount;
return totalAmount;
}
public int getTotalBonus()
{
int frequentRenterPoints = 0;
for (Rental rentalInfo : this.rentals)
frequentRenterPoints += rentalInfo.frequentPoints;
return frequentRenterPoints;
}*/

public void Statement(IReportCreator report, IPriceCalculator priceCalculator)
{
report.initialize(this.name);
Expand All @@ -55,8 +37,6 @@ public void Statement(IReportCreator report, IPriceCalculator priceCalculator)
report.finish(null);
}



private static int getFrequentPointsForRental(Rental rental)
{
if ((rental.getMovie().getPriceCode() == PriceCodes.NewRelease) && (rental.getDaysRented() > 1))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,5 @@ public double calc(Rental rental)
}

throw new AssertionError();

}
}

0 comments on commit 3aca208

Please sign in to comment.