Skip to content
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

Source warning on compile #5

Open
lukespragg opened this issue Aug 12, 2014 · 3 comments
Open

Source warning on compile #5

lukespragg opened this issue Aug 12, 2014 · 3 comments

Comments

@lukespragg
Copy link
Member

lukespragg commented Aug 12, 2014

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
Copy link

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

  • it's a warning not an error :P

@Wolf480pl
Copy link
Contributor

Does maven not output this warning?

@lukespragg
Copy link
Member Author

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.

@lukespragg lukespragg changed the title Source error on compile with Gradle Source warning on compile with Gradle Aug 12, 2014
@lukespragg lukespragg changed the title Source warning on compile with Gradle Source warning on compile Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants