Skip to content

Commit

Permalink
Bump version to 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hishidama committed Aug 16, 2024
1 parent 997a467 commit d274446
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To use on Gradle, add Iceaxe library to dependencies.

```
dependencies {
implementation 'com.tsurugidb.iceaxe:iceaxe-core:1.4.0'
implementation 'com.tsurugidb.iceaxe:iceaxe-core:1.5.0'
implementation 'org.slf4j:slf4j-simple:1.7.32'
}
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/groovy/iceaxe.java-conventions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ plugins {
}

group = 'com.tsurugidb.iceaxe'
version = '1.5.0-SNAPSHOT'
version = '1.5.0'

ext {
tsubakuroVersion = '1.5.0-SNAPSHOT'
tsubakuroVersion = '1.5.0'
isReleaseVersion = !version.endsWith("SNAPSHOT")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void initialize(FutureResponse<ResultSet> lowResultSetFuture) throws IOEx
* @param unit time unit
* @see #setConnectTimeout(long, TimeUnit)
*/
@Deprecated(since = "X.X.X", forRemoval = true)
@Deprecated(since = "1.5.0", forRemoval = true)
public void setRsConnectTimeout(long time, TimeUnit unit) {
setConnectTimeout(time, unit);
}
Expand All @@ -132,7 +132,7 @@ public void setRsConnectTimeout(long time, TimeUnit unit) {
* @param timeout time
* @see #setConnectTimeout(TgTimeValue)
*/
@Deprecated(since = "X.X.X", forRemoval = true)
@Deprecated(since = "1.5.0", forRemoval = true)
public void setRsConnectTimeout(TgTimeValue timeout) {
setConnectTimeout(timeout);
}
Expand All @@ -144,7 +144,7 @@ public void setRsConnectTimeout(TgTimeValue timeout) {
* @param unit timeout unit
* @see #setCloseTimeout(long, TimeUnit)
*/
@Deprecated(since = "X.X.X", forRemoval = true)
@Deprecated(since = "1.5.0", forRemoval = true)
public void setRsCloseTimeout(long time, TimeUnit unit) {
setCloseTimeout(time, unit);
}
Expand All @@ -155,7 +155,7 @@ public void setRsCloseTimeout(long time, TimeUnit unit) {
* @param timeout time
* @see #setCloseTimeout(TgTimeValue)
*/
@Deprecated(since = "X.X.X", forRemoval = true)
@Deprecated(since = "1.5.0", forRemoval = true)
public void setRsCloseTimeout(TgTimeValue timeout) {
setCloseTimeout(timeout);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class TsurugiResultEntity implements TsurugiResultIndexEntity, TsurugiRes
* set default ambiguous name policy.
*
* @param policy default ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public static void setDefaultAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy policy) {
defaultAmbiguousNamePolicy = Objects.requireNonNull(policy);
Expand All @@ -37,7 +37,7 @@ public static void setDefaultAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy polic
* get default ambiguous name policy.
*
* @return default ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public static IceaxeAmbiguousNamePolicy getDefaultAmbiguousNamePolicy() {
return defaultAmbiguousNamePolicy;
Expand Down Expand Up @@ -73,7 +73,7 @@ public static TsurugiResultEntity of(TsurugiResultRecord record) throws IOExcept
*
* @param nameList name utility
* @param values column values
* @since X.X.X
* @since 1.5.0
*/
@IceaxeInternal
protected TsurugiResultEntity(IceaxeResultNameList nameList, Object[] values) {
Expand Down Expand Up @@ -132,7 +132,7 @@ public String getName(int index) {
* set ambiguous name policy.
*
* @param policy ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public void setAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy policy) {
this.ambiguousNamePolicy = policy;
Expand All @@ -142,7 +142,7 @@ public void setAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy policy) {
* get ambiguous name policy.
*
* @return ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public IceaxeAmbiguousNamePolicy getAmbiguousNamePolicy() {
return this.ambiguousNamePolicy;
Expand All @@ -154,7 +154,7 @@ public IceaxeAmbiguousNamePolicy getAmbiguousNamePolicy() {
* @param name column name
* @return column index
* @see #setAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy)
* @since X.X.X
* @since 1.5.0
*/
public int getIndex(String name) {
var policy = this.ambiguousNamePolicy;
Expand All @@ -170,7 +170,7 @@ public int getIndex(String name) {
* @param name column name
* @param subIndex index for same name
* @return column index
* @since X.X.X
* @since 1.5.0
*/
public int getIndex(String name, int subIndex) {
return resultNameList.getIndex(name, subIndex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class TsurugiResultRecord implements TsurugiResultIndexRecord, TsurugiRes
* set default ambiguous name policy.
*
* @param policy default ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public static void setDefaultAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy policy) {
defaultAmbiguousNamePolicy = Objects.requireNonNull(policy);
Expand All @@ -95,7 +95,7 @@ public static void setDefaultAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy polic
* get default ambiguous name policy.
*
* @return default ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public static IceaxeAmbiguousNamePolicy getDefaultAmbiguousNamePolicy() {
return defaultAmbiguousNamePolicy;
Expand Down Expand Up @@ -156,7 +156,7 @@ public IceaxeConvertUtil getConvertUtil() {
* @throws IOException if an I/O error occurs while retrieving metadata
* @throws InterruptedException if interrupted while retrieving metadata
* @throws TsurugiTransactionException if server error occurs while retrieving metadata
* @since X.X.X
* @since 1.5.0
*/
@IceaxeInternal
public IceaxeResultNameList getResultNameList() throws IOException, InterruptedException, TsurugiTransactionException {
Expand Down Expand Up @@ -356,7 +356,7 @@ void readValues(Object[] values) throws IOException, InterruptedException, Tsuru
* set ambiguous name policy.
*
* @param policy ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public void setAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy policy) {
this.ambiguousNamePolicy = policy;
Expand All @@ -366,7 +366,7 @@ public void setAmbiguousNamePolicy(IceaxeAmbiguousNamePolicy policy) {
* get ambiguous name policy.
*
* @return ambiguous name policy
* @since X.X.X
* @since 1.5.0
*/
public IceaxeAmbiguousNamePolicy getAmbiguousNamePolicy() {
return this.ambiguousNamePolicy;
Expand All @@ -381,7 +381,7 @@ public IceaxeAmbiguousNamePolicy getAmbiguousNamePolicy() {
* @throws IOException if an I/O error occurs while retrieving the column data
* @throws InterruptedException if interrupted while retrieving the column data
* @throws TsurugiTransactionException if server error occurs while retrieving the column data
* @since X.X.X
* @since 1.5.0
*/
public int getIndex(String name) throws IOException, InterruptedException, TsurugiTransactionException {
var policy = this.ambiguousNamePolicy;
Expand All @@ -400,7 +400,7 @@ public int getIndex(String name) throws IOException, InterruptedException, Tsuru
* @throws IOException if an I/O error occurs while retrieving the column data
* @throws InterruptedException if interrupted while retrieving the column data
* @throws TsurugiTransactionException if server error occurs while retrieving the column data
* @since X.X.X
* @since 1.5.0
*/
public int getIndex(String name, int subIndex) throws IOException, InterruptedException, TsurugiTransactionException {
return getResultNameList().getIndex(name, subIndex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected void initialize() throws IOException {
*
* @param time time value
* @param unit time unit
* @since X.X.X
* @since 1.5.0
*/
public void setConnectTimeout(long time, TimeUnit unit) {
setConnectTimeout(TgTimeValue.of(time, unit));
Expand All @@ -80,7 +80,7 @@ public void setConnectTimeout(long time, TimeUnit unit) {
* set connect timeout.
*
* @param timeout time
* @since X.X.X
* @since 1.5.0
*/
public void setConnectTimeout(TgTimeValue timeout) {
connectTimeout.set(timeout);
Expand All @@ -91,7 +91,7 @@ public void setConnectTimeout(TgTimeValue timeout) {
*
* @param time timeout time
* @param unit timeout unit
* @since X.X.X
* @since 1.5.0
*/
public void setCloseTimeout(long time, TimeUnit unit) {
setCloseTimeout(TgTimeValue.of(time, unit));
Expand All @@ -101,7 +101,7 @@ public void setCloseTimeout(long time, TimeUnit unit) {
* set close timeout.
*
* @param timeout time
* @since X.X.X
* @since 1.5.0
*/
public void setCloseTimeout(TgTimeValue timeout) {
closeTimeout.set(timeout);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void initialize(FutureResponse<ExecuteResult> lowResultFuture) throws IOE
* @param unit timeout unit
* @see #setConnectTimeout(long, TimeUnit)
*/
@Deprecated(since = "X.X.X", forRemoval = true)
@Deprecated(since = "1.5.0", forRemoval = true)
public void setCheckTimeout(long time, TimeUnit unit) {
setConnectTimeout(time, unit);
}
Expand All @@ -112,7 +112,7 @@ public void setCheckTimeout(long time, TimeUnit unit) {
* @param timeout time
* @see #setConnectTimeout(TgTimeValue)
*/
@Deprecated(since = "X.X.X", forRemoval = true)
@Deprecated(since = "1.5.0", forRemoval = true)
public void setCheckTimeout(TgTimeValue timeout) {
setConnectTimeout(timeout);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public synchronized void closeInTransaction(long timeoutNanos, IceaxeErrorCode c
* @param save exception
* @param closeErrorCode error code for close
* @return converted exception
* @since X.X.X
* @since 1.5.0
*/
public Throwable convertExceptionInTransaction(Throwable save, IceaxeErrorCode closeErrorCode) {
if (save instanceof IOException) {
Expand All @@ -137,7 +137,7 @@ public Throwable convertExceptionInTransaction(Throwable save, IceaxeErrorCode c
* @throws IOException if an I/O error occurs while disposing the resources
* @throws InterruptedException if interrupted while requesting cancel
* @throws TsurugiTransactionException if server error occurs while disposing the resources
* @since X.X.X
* @since 1.5.0
*/
public void throwExceptionInTransaction(Throwable e) throws IOException, InterruptedException, TsurugiTransactionException {
if (e instanceof IOException) {
Expand Down

0 comments on commit d274446

Please sign in to comment.