Skip to content

Instantly share code, notes, and snippets.

@sebastianmonte
Created February 12, 2015 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianmonte/6b2c9a723052b434ec17 to your computer and use it in GitHub Desktop.
Save sebastianmonte/6b2c9a723052b434ec17 to your computer and use it in GitHub Desktop.
Static Accessed from Instance
[ERROR] /IdeaProjects/elasticsearch/src/main/java/org/elasticsearch/indices/recovery/ShardRecoveryHandler.java:[229,48] [StaticAccessedFromInstance] A static variable or method should not be accessed from an instance
(see http://code.google.com/p/error-prone/wiki/StaticAccessedFromInstance)
Did you mean 'if (fileSize > RecoverySettings.SMALL_FILE_CUTOFF_BYTES) {'?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment