Update v5.19
This commit is contained in:
parent
1d66c4ed8f
commit
b55906b355
1
gradlew
vendored
1
gradlew
vendored
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
# Attempt to set APP_HOME
|
# Attempt to set APP_HOME
|
||||||
# Resolve links: $0 may be a link
|
# Resolve links: $0 may be a link
|
||||||
|
|
||||||
PRG="$0"
|
PRG="$0"
|
||||||
# Need this for relative symlinks.
|
# Need this for relative symlinks.
|
||||||
while [ -h "$PRG" ] ; do
|
while [ -h "$PRG" ] ; do
|
||||||
|
1
gradlew.bat
vendored
1
gradlew.bat
vendored
@ -10,6 +10,7 @@ if "%OS%"=="Windows_NT" setlocal
|
|||||||
|
|
||||||
set DIRNAME=%~dp0
|
set DIRNAME=%~dp0
|
||||||
if "%DIRNAME%" == "" set DIRNAME=.
|
if "%DIRNAME%" == "" set DIRNAME=.
|
||||||
|
|
||||||
set APP_BASE_NAME=%~n0
|
set APP_BASE_NAME=%~n0
|
||||||
set APP_HOME=%DIRNAME%
|
set APP_HOME=%DIRNAME%
|
||||||
|
|
||||||
|
@ -12,7 +12,9 @@ public class TabooIpcClientImpl implements TabooIpcClient {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized boolean connect(TabooIpcConfig config) throws Exception {
|
public synchronized boolean connect(TabooIpcConfig config) throws Exception {
|
||||||
if (available) throw new IllegalStateException();
|
if (available) {
|
||||||
|
throw new IllegalStateException();
|
||||||
|
}
|
||||||
long size = round(config.memorySize());
|
long size = round(config.memorySize());
|
||||||
long blockSize = round(config.blockSize());
|
long blockSize = round(config.blockSize());
|
||||||
if (blockSize < 128 || size < (blockSize << 1) || size % blockSize != 0) return false;
|
if (blockSize < 128 || size < (blockSize << 1) || size % blockSize != 0) return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user