formatting and "final" changes only

This commit is contained in:
Axel Uhl committed 2025-01-09 11:33:02 +01:00
1 parent d8f3d3982f
commit eb55e77c03
2 files changed
+4 -4

No files matched your search

@@ -358,8 +358,8 @@ implements ReplicableSecurityService, ClearStateTestSupport {
SubscriptionPlan result = null;
final Map<Serializable, SubscriptionPlan> allSubscriptionPlans = getAllSubscriptionPlans();
for (SubscriptionPlan plan : allSubscriptionPlans.values()) {
for(SubscriptionPrice price : plan.getPrices()) {
if(itemPriceId.equals(price.getPriceId())) {
for (SubscriptionPrice price : plan.getPrices()) {
if (itemPriceId.equals(price.getPriceId())) {
result = plan;
}
}
@@ -28,8 +28,8 @@ public class ChargebeeConfiguration {
public static ChargebeeConfiguration getInstance() {
if (instance == null) {
String site = System.getProperty(CHARGEBEE_SITE);
String apiKey = System.getProperty(CHARGEBEE_APIKEY);
final String site = System.getProperty(CHARGEBEE_SITE);
final String apiKey = System.getProperty(CHARGEBEE_APIKEY);
logger.info("Chargebee site: " + site);
if (Util.hasLength(site) && Util.hasLength(apiKey)) {
instance = new ChargebeeConfiguration(site, apiKey);