Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions api/src/main/java/redux/api/Store.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public interface Store<S> extends Dispatcher {
*
* @see <a href="http://redux.js.org/docs/Glossary.html#store-creator">http://redux.js.org/docs/Glossary.html#store-creator</a>
*/
interface Creator<S> {
interface Creator {

/**
* Creates a store.
Expand All @@ -58,7 +58,7 @@ interface Creator<S> {
* @param initialState Initial state for the store
* @return The store
*/
Store<S> create(Reducer<S> reducer, S initialState);
<S> Store<S> create(Reducer<S> reducer, S initialState);

}

Expand All @@ -67,15 +67,15 @@ interface Creator<S> {
*
* @see <a href="http://redux.js.org/docs/Glossary.html#store-enhancer">http://redux.js.org/docs/Glossary.html#store-enhancer</a>
*/
interface Enhancer<S> {
interface Enhancer {

/**
* Composes a store creator to return a new, enhanced store creator.
*
* @param next The next store creator to compose
* @return The composed store creator
*/
Creator<S> enhance(Creator<S> next);
Creator enhance(Creator next);

}

Expand Down