HBASE-14989 Implementation of Mutation.getWriteToWAL() is backwards

This commit is contained in:
Enis Soztutar 2015-12-17 11:48:14 -08:00
parent a93c0e822e
commit f3ebeeb3fc
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ public abstract class Mutation extends OperationWithAttributes implements Row, C
*/
@Deprecated
public boolean getWriteToWAL() {
return this.durability == Durability.SKIP_WAL;
return this.durability != Durability.SKIP_WAL;
}
/**