Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
malteo committed Sep 17, 2024
1 parent 83da497 commit dc5b7e8
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions base-api-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.cloudesire.platform</groupId>
<artifactId>cloudesire-api-client-root</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</parent>

<artifactId>base-api-client</artifactId>
Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>com.cloudesire.platform</groupId>
<artifactId>common-dto</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
Expand Down
4 changes: 2 additions & 2 deletions cloudesire-api-client-dto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.cloudesire.platform</groupId>
<artifactId>cloudesire-api-client-root</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</parent>

<artifactId>cloudesire-api-client-dto</artifactId>
Expand All @@ -17,7 +17,7 @@
<dependency>
<groupId>com.cloudesire.platform</groupId>
<artifactId>base-api-client</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1526,19 +1526,19 @@ public SelfBilling getSelfBilling()
public void setSelfBilling( Object selfBilling )
{
/* @deprecated */
if ( selfBilling instanceof Boolean && (Boolean) selfBilling )
if ( selfBilling instanceof Boolean bSelfBilling && bSelfBilling )
{
this.selfBilling = SelfBilling.PER_PLAN;
}

if ( selfBilling instanceof String )
if ( selfBilling instanceof String sSelfBilling )
{
this.selfBilling = SelfBilling.valueOf( (String) selfBilling );
this.selfBilling = SelfBilling.valueOf( sSelfBilling );
}

if ( selfBilling instanceof SelfBilling )
if ( selfBilling instanceof SelfBilling oSelfBilling )
{
this.selfBilling = (SelfBilling) selfBilling;
this.selfBilling = oSelfBilling;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,7 @@ public MailConfiguration getCouponConfiguration( CouponType couponType )
return getDiscountCoupon();
case FIXED_PRICE:
return getFixedPriceCoupon();
case TRIAL:
case EXTENDED_TRIAL:
case TRIAL, EXTENDED_TRIAL:
return getTrialCoupon();
default:
return null;
Expand Down
6 changes: 3 additions & 3 deletions cloudesire-api-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.cloudesire.platform</groupId>
<artifactId>cloudesire-api-client-root</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</parent>

<artifactId>cloudesire-api-client</artifactId>
Expand All @@ -15,12 +15,12 @@
<dependency>
<groupId>com.cloudesire.platform</groupId>
<artifactId>base-api-client</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.cloudesire.platform</groupId>
<artifactId>cloudesire-api-client-dto</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
2 changes: 1 addition & 1 deletion common-dto/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.cloudesire.platform</groupId>
<artifactId>cloudesire-api-client-root</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>
</parent>

<artifactId>common-dto</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import jakarta.validation.ConstraintValidator;
import jakarta.validation.ConstraintValidatorContext;

import java.net.MalformedURLException;
import java.net.URL;

Expand All @@ -17,7 +18,7 @@ public void initialize( ApplicationFileURL constraintAnnotation )

public boolean isValid( CharSequence value, ConstraintValidatorContext constraintValidatorContext )
{
if ( value == null || value.length() == 0 ) return true;
if ( value == null || value.isEmpty() ) return true;

if ( value.toString().startsWith( DockerConstants.SCHEMA ) )
{
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

<groupId>com.cloudesire.platform</groupId>
<artifactId>cloudesire-api-client-root</artifactId>
<version>3.9.1-SNAPSHOT</version>
<version>4.0.0-SNAPSHOT</version>

<name>cloudesire-api-client-root</name>
<description>Java API client for Cloudesire platform</description>
<url>http://github.com/cloudesire/java-api-client</url>
<url>https://github.com/cloudesire/java-api-client</url>

<scm>
<connection>scm:git:[email protected]:ClouDesire/java-api-client.git</connection>
<developerConnection>scm:git:[email protected]:ClouDesire/java-api-client.git</developerConnection>
<url>http://github.com/cloudesire/java-api-client/tree/master</url>
<url>https://github.com/cloudesire/java-api-client/tree/master</url>
</scm>

<modules>
Expand Down

0 comments on commit dc5b7e8

Please sign in to comment.