Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update some docs #62

Merged
merged 1 commit into from

2 participants

@matthewmichihara

No description provided.

@JakeWharton JakeWharton merged commit f5de245 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 16, 2013
  1. @matthewmichihara
This page is out of date. Refresh to see the latest.
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);
Something went wrong with that request. Please try again.