mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 01:59:35 +00:00
formatting and "final" changes only
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user