-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove generics for ResourceList and Storage
- Loading branch information
1 parent
bdbbc6c
commit 0cd4f47
Showing
372 changed files
with
4,858 additions
and
4,619 deletions.
There are no files selected for viewing
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
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.