Skip to content

Commit

Permalink
Optimize import statements odering
Browse files Browse the repository at this point in the history
  • Loading branch information
eincs committed Feb 6, 2015
1 parent 59be790 commit 1d92971
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions src/main/java/kr/co/vcnc/haeinsa/ForwardingHaeinsaTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,17 @@

import java.io.IOException;
import java.util.List;

import javax.annotation.Nullable;

import com.google.common.base.Preconditions;
import com.google.common.collect.ForwardingObject;
import kr.co.vcnc.haeinsa.thrift.generated.TRowLock;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HTableDescriptor;

import com.google.common.base.Preconditions;
import com.google.common.collect.ForwardingObject;

/**
* Fowarding Object for HaeinsaTable
*/
Expand Down
1 change: 1 addition & 0 deletions src/main/java/kr/co/vcnc/haeinsa/HaeinsaConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import kr.co.vcnc.haeinsa.thrift.generated.TRowLock;
import kr.co.vcnc.haeinsa.thrift.generated.TRowLockState;

import org.apache.hadoop.hbase.util.Bytes;

/**
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/kr/co/vcnc/haeinsa/HaeinsaTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.filter.ColumnRangeFilter;
import org.apache.hadoop.hbase.util.Bytes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.google.common.base.Function;
import com.google.common.base.Preconditions;
Expand All @@ -66,9 +68,6 @@
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* Implementation of {@link HaeinsaTableIface}. It works with
* {@link HaeinsaTransaction} to provide transaction on HBase.
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/kr/co/vcnc/haeinsa/HaeinsaTransactionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
*/
package kr.co.vcnc.haeinsa;

import java.util.concurrent.TimeUnit;

import kr.co.vcnc.haeinsa.thrift.TRowLocks;
import kr.co.vcnc.haeinsa.thrift.generated.TRowLock;
import kr.co.vcnc.haeinsa.thrift.generated.TRowLockState;

import org.apache.hadoop.hbase.client.Get;
import org.apache.hadoop.hbase.client.HTableInterface;
import org.apache.hadoop.hbase.client.Result;
import org.apache.hadoop.hbase.util.Bytes;

import org.testng.Assert;
import org.testng.annotations.Test;

import java.util.concurrent.TimeUnit;

public class HaeinsaTransactionTest extends HaeinsaTestBase {

@Test
Expand Down

0 comments on commit 1d92971

Please sign in to comment.