Skip to content

Commit

Permalink
rearranged some of the packages/files
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-posta committed Aug 24, 2011
1 parent 16992c5 commit 108b251
Show file tree
Hide file tree
Showing 12 changed files with 25 additions and 13 deletions.
@@ -1,5 +1,6 @@
package com.christianposta.fuse;

import com.christianposta.fuse.cards.Card;
import org.apache.commons.lang.Validate;

import java.util.ArrayList;
Expand Down
@@ -1,5 +1,7 @@
package com.christianposta.fuse;

import com.christianposta.fuse.cards.Card;

/**
* Created by IntelliJ IDEA.
* User: ceposta
Expand Down
@@ -1,4 +1,4 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

import org.apache.commons.lang.builder.EqualsBuilder;

Expand Down
@@ -1,5 +1,7 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

import com.christianposta.fuse.cards.shuffle.DefaultShuffleAlgorithm;
import com.christianposta.fuse.cards.shuffle.ShuffleAlgorithm;
import org.apache.commons.lang.Validate;

import java.util.EmptyStackException;
Expand Down Expand Up @@ -70,7 +72,7 @@ public void shuffle() {
* @return the next card from the shoe if a card exists
* @throws EmptyCardShoeException when you attempt to deal a card and there are no cards in the shoe
*/
public Card dealCard() throws EmptyCardShoeException{
public Card dealCard() throws EmptyCardShoeException {
try {
return this.cards.pop();
} catch (EmptyStackException e) {
Expand Down
@@ -1,4 +1,4 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

/**
* Created by IntelliJ IDEA.
Expand Down
@@ -1,4 +1,4 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

import java.util.ArrayList;
import java.util.List;
Expand Down
@@ -1,4 +1,4 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

/**
* Created by IntelliJ IDEA.
Expand Down
@@ -1,4 +1,4 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

/**
* Created by IntelliJ IDEA.
Expand Down
@@ -1,8 +1,9 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards.shuffle;

import com.christianposta.fuse.cards.Card;

import java.util.Collections;
import java.util.List;
import java.util.Random;

/**
* Created by IntelliJ IDEA.
Expand Down
@@ -1,6 +1,7 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards.shuffle;

import com.christianposta.fuse.cards.Card;

import java.util.Collection;
import java.util.List;

/**
Expand Down
@@ -1,5 +1,6 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

import com.christianposta.fuse.cards.*;
import org.junit.Test;

import java.util.ArrayList;
Expand Down
@@ -1,5 +1,9 @@
package com.christianposta.fuse;
package com.christianposta.fuse.cards;

import com.christianposta.fuse.cards.Card;
import com.christianposta.fuse.cards.CardType;
import com.christianposta.fuse.cards.Deck;
import com.christianposta.fuse.cards.Suit;
import org.junit.Before;
import org.junit.Test;

Expand Down

0 comments on commit 108b251

Please sign in to comment.