You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/09/10 23:17:56 UTC
svn commit: r693988 -
/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java
Author: stack
Date: Wed Sep 10 14:17:56 2008
New Revision: 693988
URL: http://svn.apache.org/viewvc?rev=693988&view=rev
Log:
Remove tabs accidentally committed as part of HBASE-882
Modified:
hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java
Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java?rev=693988&r1=693987&r2=693988&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/BatchUpdate.java Wed Sep 10 14:17:56 2008
@@ -125,7 +125,7 @@
* @return byte[] the cell value, returns null if the column does not exist.
*/
public synchronized byte[] get(final String column) {
- return get(Bytes.toBytes(column));
+ return get(Bytes.toBytes(column));
}
/**
@@ -135,12 +135,12 @@
* @return byte[] the cell value, returns null if the column does not exist.
*/
public synchronized byte[] get(final byte[] column) {
- for (BatchOperation operation: operations) {
- if (Arrays.equals(column, operation.getColumn())) {
- return operation.getValue();
- }
- }
- return null;
+ for (BatchOperation operation: operations) {
+ if (Arrays.equals(column, operation.getColumn())) {
+ return operation.getValue();
+ }
+ }
+ return null;
}
/**
@@ -244,4 +244,4 @@
op.write(out);
}
}
-}
\ No newline at end of file
+}