Skip to content

Commit

Permalink
Remove not null
Browse files Browse the repository at this point in the history
  • Loading branch information
rihter007 committed Nov 20, 2015
1 parent 0a0bb16 commit c85c9f7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 42 deletions.
74 changes: 36 additions & 38 deletions .idea/workspace.xml

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

7 changes: 3 additions & 4 deletions src/test/java/CustomerTestRentalParam.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import com.scrumtrek.simplestore.Movie;
import com.scrumtrek.simplestore.PriceCodes;
import com.scrumtrek.simplestore.Rental;
import com.sun.istack.internal.NotNull;

import org.junit.Assert;
import org.junit.Test;
Expand All @@ -22,7 +21,7 @@ public class CustomerTestRentalParam
{
private static class RentalPriceIndex
{
public RentalPriceIndex(@NotNull PriceCodes priceCode, int daysRent, double expectedPriceValue)
public RentalPriceIndex(PriceCodes priceCode, int daysRent, double expectedPriceValue)
{
this.priceCode = priceCode;
this.daysRent = daysRent;
Expand All @@ -37,7 +36,7 @@ public RentalPriceIndex(@NotNull PriceCodes priceCode, int daysRent, double expe

public final RentalPriceIndex testParameter;

public CustomerTestRentalParam(@NotNull RentalPriceIndex param)
public CustomerTestRentalParam(RentalPriceIndex param)
{
this.testParameter = param;
}
Expand All @@ -48,7 +47,7 @@ public static Collection<RentalPriceIndex> addedNumbers()
return Arrays.asList(new RentalPriceIndex(PriceCodes.Childrens, 1, 1.5));
}

private static void checkMoviePrice(@NotNull String movieName, double price, @NotNull String actualStatement)
private static void checkMoviePrice(String movieName, double price, String actualStatement)
{
final String searchedPattern = movieName + "\t" + price;
Assert.assertTrue(actualStatement.contains(searchedPattern));
Expand Down

0 comments on commit c85c9f7

Please sign in to comment.