Skip to content

Commit

Permalink
add explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 8, 2024
1 parent 16bfc46 commit 1635595
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/xyz/wagyourtail/jvmdg/cli/Flags.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ public File findJavaApi() {
}

public boolean checkInIgnoreWarnings(String className) {
// find the entry that is <= the className, because a treeSet is sorted, this is either className,
// a prefix of classname, a random other string that is less than className, ie. "aaa" < "bbb", or null if there
// is no entries that are <= className in the map
Map.Entry<String, Flags.WildcardType> entry = ignoreWarningsIn.floorEntry(className);
if (entry != null && className.startsWith(entry.getKey())) {
switch (entry.getValue()) {
Expand Down

0 comments on commit 1635595

Please sign in to comment.