-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
refactor: remove generics for ResourceList and Storage
- Loading branch information
Showing
424 changed files
with
5,968 additions
and
6,910 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
...orage2-core-api/src/main/java/com/refinedmods/refinedstorage2/api/core/filter/Filter.java
This file was deleted.
Oops, something went wrong.
145 changes: 0 additions & 145 deletions
145
...e2-core-api/src/test/java/com/refinedmods/refinedstorage2/api/core/filter/FilterTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
...src/main/java/com/refinedmods/refinedstorage2/api/grid/operations/NoopGridOperations.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
package com.refinedmods.refinedstorage2.api.grid.operations; | ||
|
||
import com.refinedmods.refinedstorage2.api.resource.ResourceKey; | ||
import com.refinedmods.refinedstorage2.api.storage.ExtractableStorage; | ||
import com.refinedmods.refinedstorage2.api.storage.InsertableStorage; | ||
|
||
public class NoopGridOperations<T> implements GridOperations<T> { | ||
public class NoopGridOperations implements GridOperations { | ||
@Override | ||
public boolean extract(final T resource, | ||
public boolean extract(final ResourceKey resource, | ||
final GridExtractMode extractMode, | ||
final InsertableStorage<T> destination) { | ||
final InsertableStorage destination) { | ||
return false; | ||
} | ||
|
||
@Override | ||
public boolean insert(final T resource, | ||
public boolean insert(final ResourceKey resource, | ||
final GridInsertMode insertMode, | ||
final ExtractableStorage<T> source) { | ||
final ExtractableStorage source) { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.