Skip to content
Browse files

Static creators

  • Loading branch information...
1 parent ef11fa3 commit 1209491fda0c181ef53bf2513aabc9464127d499 @lrozenblyum committed Dec 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/test/java/com/leokom/chess/engine/PositionPawnEnPassantTest.java
View
4 src/test/java/com/leokom/chess/engine/PositionPawnEnPassantTest.java
@@ -114,7 +114,7 @@ public void enPassantInActionButNotWorksOnDifferentRank() {
testPawn( position, "f5", Side.WHITE, "f6" );
}
- private Position createPositionWithoutEnPassantRight() {
+ private static Position createPositionWithoutEnPassantRight() {
return new Position( null );
}
@@ -125,7 +125,7 @@ private Position createPositionWithoutEnPassantRight() {
* @param file
* @return
*/
- private Position createPositionWithEnPassantPossibility( String file ) {
+ private static Position createPositionWithEnPassantPossibility( String file ) {
return new Position( file );
}
}

0 comments on commit 1209491

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