| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 590e93d commit aaecb9b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,6 +13,16 @@ class SimpleTypeSanitizer extends DataFlow::Node { | |||
| 13 | 13 | this.getType() instanceof BoxedType or | |
| 14 | 14 | this.getType() instanceof NumberType or | |
| 15 | 15 | this.getType().(RefType).hasQualifiedName("java.util", "UUID") or | |
| 16 | - this.getType().(RefType).hasQualifiedName("java.util", "Date") | ||
| 16 | + this.getType().(RefType).getASourceSupertype*().hasQualifiedName("java.util", "Date") or | ||
| 17 | + this.getType().(RefType).hasQualifiedName("java.util", "Calendar") or | ||
| 18 | + this.getType().(RefType).hasQualifiedName("java.util", "BitSet") or | ||
| 19 | + this.getType() | ||
| 20 | + .(RefType) | ||
| 21 | + .getASourceSupertype*() | ||
| 22 | + .hasQualifiedName("java.time.temporal", "TemporalAmount") or | ||
| 23 | + this.getType() | ||
| 24 | + .(RefType) | ||
| 25 | + .getASourceSupertype*() | ||
| 26 | + .hasQualifiedName("java.time.temporal", "TemporalAccessor") | ||
| 17 | 27 | } | |
| 18 | 28 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments