Update mappings and dependencies

This commit is contained in:
Raoul Van den Berge
2016-09-10 15:54:57 +02:00
parent beca8b11a1
commit 772aec8aa9
3 changed files with 11 additions and 6 deletions

View File

@@ -7,28 +7,32 @@ import javax.annotation.Nonnull;
public class RecipeHandlerSolderer implements IRecipeHandler<RecipeWrapperSolderer> {
@Override
@Nonnull
public Class<RecipeWrapperSolderer> getRecipeClass() {
return RecipeWrapperSolderer.class;
}
@Override
@Nonnull
@SuppressWarnings("deprecation")
public String getRecipeCategoryUid() {
return RecipeCategorySolderer.ID;
}
@Nonnull
@Override
@Nonnull
public String getRecipeCategoryUid(@Nonnull RecipeWrapperSolderer recipe) {
return RecipeCategorySolderer.ID;
}
@Override
public IRecipeWrapper getRecipeWrapper(RecipeWrapperSolderer recipe) {
@Nonnull
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipeWrapperSolderer recipe) {
return recipe;
}
@Override
public boolean isRecipeValid(RecipeWrapperSolderer recipe) {
public boolean isRecipeValid(@Nonnull RecipeWrapperSolderer recipe) {
return true;
}
}