Committed by
Gerrit Code Review
Fixing javadocs
Change-Id: I8e7f6451876c6733bf33667face30b32e5378c99
Showing
2 changed files
with
4 additions
and
2 deletions
... | @@ -88,7 +88,7 @@ public abstract class AbstractProjectableModel extends AbstractModel implements | ... | @@ -88,7 +88,7 @@ public abstract class AbstractProjectableModel extends AbstractModel implements |
88 | } | 88 | } |
89 | 89 | ||
90 | /** | 90 | /** |
91 | - * Returns the currently bound driver or null of no driver is bound. | 91 | + * Returns the currently bound driver or null if no driver is bound. |
92 | * | 92 | * |
93 | * @return bound driver; null if none | 93 | * @return bound driver; null if none |
94 | */ | 94 | */ | ... | ... |
... | @@ -30,7 +30,9 @@ public interface Projectable { | ... | @@ -30,7 +30,9 @@ public interface Projectable { |
30 | * | 30 | * |
31 | * @param projectionClass requested projection class | 31 | * @param projectionClass requested projection class |
32 | * @param <B> type of behaviour | 32 | * @param <B> type of behaviour |
33 | - * @return projection instance or null if requested projection is not supported | 33 | + * @return projection instance |
34 | + * @throws IllegalStateException if a driver cannot be found | ||
35 | + * @throws IllegalArgumentException if the projection is not supported | ||
34 | */ | 36 | */ |
35 | <B extends Behaviour> B as(Class<B> projectionClass); | 37 | <B extends Behaviour> B as(Class<B> projectionClass); |
36 | 38 | ... | ... |
-
Please register or login to post a comment