diff -Nru src/org/jmock/Expectations.java src-gil/org/jmock/Expectations.java --- src/org/jmock/Expectations.java 2012-08-13 12:22:27.031761235 +0200 +++ src-gil/org/jmock/Expectations.java 2012-08-13 12:26:25.000000000 +0200 @@ -143,42 +143,42 @@ return null; } - public boolean with(Matcher matcher) { + public boolean withBoolean(Matcher matcher) { addParameterMatcher(matcher); return false; } - public byte with(Matcher matcher) { + public byte withByte(Matcher matcher) { addParameterMatcher(matcher); return 0; } - public short with(Matcher matcher) { + public short withShort(Matcher matcher) { addParameterMatcher(matcher); return 0; } - public char with(Matcher matcher) { + public char withCharacter(Matcher matcher) { addParameterMatcher(matcher); return 0; } - public int with(Matcher matcher) { + public int withInteger(Matcher matcher) { addParameterMatcher(matcher); return 0; } - public long with(Matcher matcher) { + public long withLong(Matcher matcher) { addParameterMatcher(matcher); return 0; } - public float with(Matcher matcher) { + public float withFloat(Matcher matcher) { addParameterMatcher(matcher); return 0.0f; } - public double with(Matcher matcher) { + public double withDouble(Matcher matcher) { addParameterMatcher(matcher); return 0.0; } diff -Nru src/org/jmock/syntax/ArgumentConstraintPhrases.java src-gil/org/jmock/syntax/ArgumentConstraintPhrases.java --- src/org/jmock/syntax/ArgumentConstraintPhrases.java 2006-10-12 16:06:01.000000000 +0200 +++ src-gil/org/jmock/syntax/ArgumentConstraintPhrases.java 2012-08-13 12:27:35.000000000 +0200 @@ -4,11 +4,11 @@ public interface ArgumentConstraintPhrases { T with(Matcher matcher); - boolean with(Matcher matcher); - byte with(Matcher matcher); - short with(Matcher matcher); - int with(Matcher matcher); - long with(Matcher matcher); - float with(Matcher matcher); - double with(Matcher matcher); + boolean withBoolean(Matcher matcher); + byte withByte(Matcher matcher); + short withShort(Matcher matcher); + int withInteger(Matcher matcher); + long withLong(Matcher matcher); + float withFloat(Matcher matcher); + double withDouble(Matcher matcher); }