diff --git a/random-beans/src/main/java/io/github/benas/randombeans/FieldPredicates.java b/random-beans/src/main/java/io/github/benas/randombeans/FieldPredicates.java index 1837076e2..81e186b4a 100644 --- a/random-beans/src/main/java/io/github/benas/randombeans/FieldPredicates.java +++ b/random-beans/src/main/java/io/github/benas/randombeans/FieldPredicates.java @@ -33,7 +33,7 @@ * in an object graph. For example: * *
- * Predicate* * @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com) diff --git a/random-beans/src/main/java/io/github/benas/randombeans/TypePredicates.java b/random-beans/src/main/java/io/github/benas/randombeans/TypePredicates.java index a4a8b174d..ed48ad9ea 100644 --- a/random-beans/src/main/java/io/github/benas/randombeans/TypePredicates.java +++ b/random-beans/src/main/java/io/github/benas/randombeans/TypePredicates.java @@ -32,7 +32,7 @@ * of types. For example: * *predicate = named("name").and(ofType(String.class)).and(inClass(Person.class)); + * Predicate<Field> predicate = named("name").and(ofType(String.class)).and(inClass(Person.class)); *
- * Predicate* * @author Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)> predicate = inPackage("java.util").or(inPackage("com.sun")); + * Predicate<Class<?>> predicate = inPackage("java.util").or(inPackage("com.sun")); *