[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sockeqwe/mosby
Browse files Browse the repository at this point in the history
  • Loading branch information
sockeqwe committed Apr 7, 2018
2 parents eb2f990 + 11bf347 commit 5f3b504
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.lang.reflect.Type;

/**
* A {@link MvpPresenter} implmenetation that implements the <a href="https://en.wikipedia.org/wiki/Null_Object_pattern">null
* A {@link MvpPresenter} implementation that implements the <a href="https://en.wikipedia.org/wiki/Null_Object_pattern">null
* object pattern</a> for the attached mvp view. So whenever the view gets detached from this
* presenter by calling{@link #detachView(boolean)}, a new "null object" view gets dynamically
* instantiated by using reflections and set as the current
Expand Down Expand Up @@ -62,7 +62,7 @@ public MvpNullObjectBasePresenter() {
}
}

// Continue with next class in inheritance hierachy (see genericSuperType assignment at start of while loop)
// Continue with next class in inheritance hierarchy (see genericSuperType assignment at start of while loop)
currentClass = currentClass.getSuperclass();
}

Expand All @@ -77,7 +77,7 @@ public MvpNullObjectBasePresenter() {
}

/**
* Scans the interface inheritnace hierarchy and checks if on the root is MvpView.class
* Scans the interface inheritance hierarchy and checks if on the root is MvpView.class
*
* @param klass The leaf interface where to begin to scan
* @return true if subtype of MvpView, otherwise false
Expand Down

0 comments on commit 5f3b504

Please sign in to comment.