Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #62 from matthewmichihara/master

Update some docs
  • Loading branch information...
commit f5de2450deba85f3c4a23157b6a124c0520204f2 2 parents 9d3b235 + 016b338
@JakeWharton JakeWharton authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 library/src/main/java/com/squareup/otto/Bus.java
View
8 library/src/main/java/com/squareup/otto/Bus.java
@@ -377,10 +377,10 @@ protected void dispatch(Object event, EventHandler wrapper) {
}
/**
- * Retrieves a mutable set of the currently registered producers for {@code type}. If no producers are currently
- * registered for {@code type}, this method will return {@code null}.
+ * Retrieves the currently registered producer for {@code type}. If no producer is currently registered for
+ * {@code type}, this method will return {@code null}.
*
- * @param type type of producers to retrieve.
+ * @param type type of producer to retrieve.
* @return currently registered producer, or {@code null}.
*/
EventProducer getProducerForEventType(Class<?> type) {
@@ -403,7 +403,7 @@ EventProducer getProducerForEventType(Class<?> type) {
* (transitively), and all interfaces implemented by these superclasses.
*
* @param concreteClass class whose type hierarchy will be retrieved.
- * @return {@code clazz}'s complete type hierarchy, flattened and uniqued.
+ * @return {@code concreteClass}'s complete type hierarchy, flattened and uniqued.
*/
Set<Class<?>> flattenHierarchy(Class<?> concreteClass) {
Set<Class<?>> classes = flattenHierarchyCache.get(concreteClass);
Please sign in to comment.
Something went wrong with that request. Please try again.