redouane59 / twittered

Twitter API client for Java developers
Apache License 2.0
239 stars 66 forks source link

Empty predicate #434

Closed snicoll closed 1 year ago

snicoll commented 1 year ago

This handles empty predicates properly if used with an or or and operator.

While using certain predicates without any additional logic with the Twitter API is forbidden, the current API does not correctly prevent that as it is a static method. A better way would be to make that an operator of a non-empty predicate but there isn't an easy way to do that. This commit removes this limitation.

See #433

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

98.6% 98.6% Coverage
0.0% 0.0% Duplication

redouane59 commented 1 year ago

Thanks !