We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a4b24 commit 2a83de1Copy full SHA for 2a83de1
objectbox-java/src/main/java/io/objectbox/sync/SyncCredentialsToken.java
@@ -62,8 +62,11 @@ public byte[] getTokenBytes() {
62
/**
63
* Clear after usage.
64
* <p>
65
- * Note that actual data is not removed from memory until the next garbage collector run.
66
- * Anyhow, the credentials are still kept in memory by the native component.
+ * Note that when the token is passed as a String, that String is removed from memory at the earliest with the next
+ * garbage collector run.
67
+ * <p>
68
+ * Also note that while the token is removed from the Java heap, it is present on the native heap of the Sync
69
+ * component using it.
70
*/
71
public void clear() {
72
cleared = true;
0 commit comments