Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ public abstract class ComposableResult<A> {
/**
* Standard constructor.
*
* @param firstPeace
* @param firstPiece
* the first peace of a composed result
*/
public ComposableResult(A firstPeace) {
public ComposableResult(A firstPiece) {
super();
rawResult = firstPeace;
rawResult = firstPiece;
}

/**
* Adds another peace to the composed result
* Adds another piece to the composed result
*
* @param anotherPeace
* the peace to add
* @param anotherPiece
* the piece to add
* @return the composed result
*/
public abstract ComposableResult<A> compose(ComposableResult<A> anotherPeace);
public abstract ComposableResult<A> compose(ComposableResult<A> anotherPiece);

public A getRawResult() {
return rawResult;
Expand Down