-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/checkstyle #31
base: main
Are you sure you want to change the base?
Conversation
Adds an changes |
Please, can you checks this new changes? thanks. |
Sorry I can't man |
it's okay :( |
}), 0, 20); | ||
private void whenStart() { | ||
Bukkit.getScheduler().runTaskTimer(this, () -> Bukkit.getServer().getOnlinePlayers(). | ||
forEach(player -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cuando separas tenes que bajar el punto también, te quedaría .forEach en la línea de abajo
* Makes an auctions service | ||
* | ||
* @return {@link AuctionService} | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En este caso más que un Makes quedaría mejor un Retrieves
UserService service(); | ||
Plugin plugin(); | ||
/** | ||
* Makes a config files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usar Retrieves en todos estos
@@ -17,8 +20,21 @@ public final class AuctionCategory extends OkaeriConfig { | |||
private GUIDisplayItem displayInfo; | |||
private List<CategoryFilter> filters; | |||
|
|||
/** | |||
* Makes an auction category |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En este caso no iría el makes porque es el constructor, reemplaza el esa línea por Default Constructor
* | ||
* @param id Id | ||
* @param displayName Display Name | ||
* @param materials {@link XMaterial} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usar List of
* @param displayName Display Name | ||
* @param materials {@link XMaterial} | ||
* @param displayInfo {@link GUIDisplayItem} | ||
* @param filters {@link CategoryFilter} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usar List of
import lombok.Builder; | ||
import lombok.Getter; | ||
|
||
/** | ||
* Utility class dor category filter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No es una clase de utilidad.
@Getter | ||
public final class CategoryFilter extends OkaeriConfig { | ||
/** | ||
* Adds filter type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este comentario no va acá
private final FilterType type; | ||
private final String nbtKey; | ||
|
||
/** | ||
* Represents a filter type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Default Constructor
No description provided.