user941059
user941059

Reputation: 157

@SuppressWarnings - Static Variable

Which parameter @SuppressWarnings use to hide Warning(209.56): static variable Should be qualified by type name, javax.swing.ListSelectionModel, instead of by an expression?

Upvotes: 2

Views: 4381

Answers (1)

David Lavender
David Lavender

Reputation: 8331

This one:

@SuppressWarnings("static-access")

And to nay-sayers, yes ideally the code would be fixed. But in the real world, sadly that isn't always possible. Besides, it's not what @user941059 asked for.

Upvotes: 4

Related Questions