Skip to content
Browse files

moved rating stuff to subpackage

  • Loading branch information...
1 parent 0190547 commit f7a4a33febcab26489368fcefae57b0a90eb1fd0 @leadVisionary committed Apr 26, 2012
View
3 src/com/visionarysoftwaresolutions/reviewable/Reviewer.java
@@ -1,5 +1,8 @@
package com.visionarysoftwaresolutions.reviewable;
+import com.visionarysoftwaresolutions.reviewable.rating.RatingScale;
+import com.visionarysoftwaresolutions.reviewable.rating.RatedReview;
+
/**
*
* @author Nicholas Vaidyanathan, Lead Visionary of Visionary Software Solutions
View
4 ...waresolutions/reviewable/RatedReview.java → ...utions/reviewable/rating/RatedReview.java
@@ -1,4 +1,6 @@
-package com.visionarysoftwaresolutions.reviewable;
+package com.visionarysoftwaresolutions.reviewable.rating;
+
+import com.visionarysoftwaresolutions.reviewable.Review;
/**
*
View
2 ...ysoftwaresolutions/reviewable/Rating.java → ...resolutions/reviewable/rating/Rating.java
@@ -1,4 +1,4 @@
-package com.visionarysoftwaresolutions.reviewable;
+package com.visionarysoftwaresolutions.reviewable.rating;
public interface Rating {
public abstract RatingScale getScale();
View
4 ...waresolutions/reviewable/RatingScale.java → ...utions/reviewable/rating/RatingScale.java
@@ -1,4 +1,6 @@
-package com.visionarysoftwaresolutions.reviewable;
+package com.visionarysoftwaresolutions.reviewable.rating;
+
+import com.visionarysoftwaresolutions.reviewable.rating.Rating;
/**
*
View
2 test/com/visionarysoftwaresolutions/reviewable/ReviewableTests.java
@@ -1,5 +1,7 @@
package com.visionarysoftwaresolutions.reviewable;
+import com.visionarysoftwaresolutions.reviewable.rating.RatingScale;
+import com.visionarysoftwaresolutions.reviewable.rating.RatedReview;
import com.visionarysoftwaresolutions.reviewable.stubs.*;
import org.junit.Test;
import static org.junit.Assert.*;
View
2 test/com/visionarysoftwaresolutions/reviewable/stubs/DatedReview.java
@@ -1,5 +1,5 @@
package com.visionarysoftwaresolutions.reviewable.stubs;
-import com.visionarysoftwaresolutions.reviewable.RatedReview;
+import com.visionarysoftwaresolutions.reviewable.rating.RatedReview;
import com.visionarysoftwaresolutions.reviewable.ReviewDecorator;
import java.util.Date;
View
4 test/com/visionarysoftwaresolutions/reviewable/stubs/FiveStarRatingScale.java
@@ -1,7 +1,7 @@
package com.visionarysoftwaresolutions.reviewable.stubs;
-import com.visionarysoftwaresolutions.reviewable.Rating;
-import com.visionarysoftwaresolutions.reviewable.RatingScale;
+import com.visionarysoftwaresolutions.reviewable.rating.Rating;
+import com.visionarysoftwaresolutions.reviewable.rating.RatingScale;
public class FiveStarRatingScale implements RatingScale {
private Rating stars;
View
4 test/com/visionarysoftwaresolutions/reviewable/stubs/NumericalRating.java
@@ -1,7 +1,7 @@
package com.visionarysoftwaresolutions.reviewable.stubs;
-import com.visionarysoftwaresolutions.reviewable.Rating;
-import com.visionarysoftwaresolutions.reviewable.RatingScale;
+import com.visionarysoftwaresolutions.reviewable.rating.Rating;
+import com.visionarysoftwaresolutions.reviewable.rating.RatingScale;
public class NumericalRating implements Rating {
private RatingScale scale;
View
4 test/com/visionarysoftwaresolutions/reviewable/stubs/RatedFoodReview.java
@@ -1,7 +1,7 @@
package com.visionarysoftwaresolutions.reviewable.stubs;
-import com.visionarysoftwaresolutions.reviewable.RatedReview;
-import com.visionarysoftwaresolutions.reviewable.RatingScale;
+import com.visionarysoftwaresolutions.reviewable.rating.RatedReview;
+import com.visionarysoftwaresolutions.reviewable.rating.RatingScale;
import com.visionarysoftwaresolutions.reviewable.Reviewable;
import com.visionarysoftwaresolutions.reviewable.Reviewer;
View
4 test/com/visionarysoftwaresolutions/reviewable/stubs/User.java
@@ -1,7 +1,7 @@
package com.visionarysoftwaresolutions.reviewable.stubs;
-import com.visionarysoftwaresolutions.reviewable.RatedReview;
-import com.visionarysoftwaresolutions.reviewable.RatingScale;
+import com.visionarysoftwaresolutions.reviewable.rating.RatedReview;
+import com.visionarysoftwaresolutions.reviewable.rating.RatingScale;
import com.visionarysoftwaresolutions.reviewable.Review;
import com.visionarysoftwaresolutions.reviewable.Reviewable;
import com.visionarysoftwaresolutions.reviewable.Reviewer;

0 comments on commit f7a4a33

Please sign in to comment.
Something went wrong with that request. Please try again.