Skip to content

Commit dddfb14

Browse files
committed
Update Helpers.java
1 parent 727ca33 commit dddfb14

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/main/java/io/cryptolens/methods/Helpers.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,12 @@ public class MyClass<T>
206206

207207
/**
208208
* <p>Uses the notes field to determine if a certain feature exists (instead of the 8 feature flags).</p>
209-
* <p><strong>Formatting: </strong> <p>The notes field needs to be formatted as a JSON array of strings or of JSON arrays
209+
* <p><strong>Formatting: </strong> The notes field needs to be formatted as a JSON array of strings or of JSON arrays
210210
* where the first element specifies the feature name and the second element is a list of features.</p>
211-
* For example, ["f1", "f2"] means f1 and f2 are true. You can also have feature bundling, eg. ["f1", ["f2",["voice","image"]]],
212-
* which means that f1 and f2 are true, as well as f2.limited and f2.image. You can set any depth, eg. you can have
213-
* ["f1", ["f2",[["voice",["all"]], "image"]]] means f2.voice.all is true as well as f2.voice and f2.
214-
* The dots symbol is used to specify the "sub-features".
215-
* </p>
211+
* <p>For example,</p> <pre>["f1", "f2"]</pre><p>means f1 and f2 are true. You can also have feature bundling, eg. </p> <pre>["f1", ["f2",["voice","image"]]]</pre>
212+
* <p>which means that f1 and f2 are true, as well as f2.limited and f2.image. You can set any depth, eg. you can have</p>
213+
* <pre>["f1", ["f2",[["voice",["all"]], "image"]]]</pre> <p>means f2.voice.all is true as well as f2.voice and f2.
214+
* The dots symbol is used to specify the "sub-features". </p>
216215
* @param licenseKey a license key object.
217216
* @param featureName the name of the feature (case-sensitive).
218217
* @return True if the feature exists and false otherwise.

0 commit comments

Comments
 (0)