flowpowered / commands

Command-line parsing library that supports positional arguments, flags, subcommands, tab-completion, and more.
https://flow.github.io/commands
MIT License
8 stars 0 forks source link

Source warning on compile #5

Open lukespragg opened 10 years ago

lukespragg commented 10 years ago
flow-commands\src\main\java\com\flowpowered\commands\annotated\WrappedCommandException.java:28: warning: [serial] serializable class WrappedCommandException has no definition of serialVersionUID
public class WrappedCommandException extends CommandException {
       ^
olliestanley commented 10 years ago

not significant - it's because Exception (which is, directly or indirectly, a superclass of CommandException, which is a superclass of WrappedCommandException) implements the Serializable interface. technically all objects which implement it are supposed to provide serialVersionUID, but it isn't going to break anything

Wolf480pl commented 10 years ago

Does maven not output this warning?

lukespragg commented 10 years ago

Maven probably shows the same, I just haven't looked yet. @DziNeIT, it was meant to be posted as a warning, not an error. It was posted though as it would be good to resolve the warning.