fix shaded jar (#112)

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
This commit is contained in:
birdstorm 2021-01-14 13:16:59 +08:00 committed by GitHub
parent 15ed11dbd5
commit 4b07ecf0ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 21 deletions

19
pom.xml
View File

@ -416,25 +416,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>jar</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
<!-- Code coverage test -->
<plugin>
<groupId>org.jacoco</groupId>

View File

@ -21,7 +21,6 @@ import java.nio.ByteBuffer;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.joda.time.LocalDate;
import org.tikv.common.codec.CodecDataInput;
import org.tikv.common.codec.MyDecimal;

View File

@ -1040,7 +1040,8 @@ public class RegionStoreClient extends AbstractRegionStoreClient {
return build(key, TiStoreType.TiKV);
}
public synchronized RegionStoreClient build(ByteString key, TiStoreType storeType) throws GrpcException {
public synchronized RegionStoreClient build(ByteString key, TiStoreType storeType)
throws GrpcException {
Pair<TiRegion, Store> pair = regionManager.getRegionStorePairByKey(key, storeType);
return build(pair.first, pair.second, storeType);
}