Skip to content

Commit 624c10a

Browse files
committed
javadoc
1 parent 689acb8 commit 624c10a

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

  • cloudplatform/connectivity-destination-service/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity

cloudplatform/connectivity-destination-service/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/DestinationService.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,6 @@ public static final class Cache
442442

443443
private static boolean cacheEnabled = true;
444444
private static boolean changeDetectionEnabled = true;
445-
@Getter( AccessLevel.PACKAGE )
446445
private static boolean preLookupCheckEnabled = false;
447446

448447
static {
@@ -461,11 +460,16 @@ static boolean isChangeDetectionEnabled()
461460
return changeDetectionEnabled;
462461
}
463462

464-
public static void enablePreLookupCheck()
463+
/**
464+
* Enables checking if a destination exists before trying to call it directly when invoking {@link #tryGetDestination}.
465+
*/
466+
public static void enablePreLookupCheck()
465467
{
466468
preLookupCheckEnabled = true;
467469
}
468-
470+
/**
471+
* Disables checking if a destination exists before trying to call it directly when invoking {@link #tryGetDestination}.
472+
*/
469473
public static void disablePreLookupCheck()
470474
{
471475
preLookupCheckEnabled = false;

0 commit comments

Comments
 (0)