forbidden-apis icon indicating copy to clipboard operation
forbidden-apis copied to clipboard

Policeman's Forbidden API Checker

Results 25 forbidden-apis issues
Sort by recently updated
recently updated
newest added

`HashSet`, `HashMap`, `Collectors.toSet()`, and similar APIs do not keep the element order, and it might result in surprising and unexpected results. What if error-prone could catch those types of errors...

It is currently supported to set signature files that allow externalizing the linting configuration. But this is not possible with exclusions. Using containers with `maven` is considered best to cache...

When new Static Analysis Tool (SAT) is introduced it always find a lot of violations in code. But it is not always possible to easily fix them (number of reasons)....

enhancement

Commons-IO had some changes, which were binary compatible, but they changed a method to be implemented in the superclass. See #168 for details. The forbidden-APIs parser is very strict when...

enhancement

Followup of #174 (and #173) : If we have a bug in forbiddenapis code that throws an exception, we don't get any information which checked class file and line number...

enhancement

Often I find myself in a situation where an update to a library drags in a new evil method, and I only discover it after the fact. It would be...

Hi, We are using suppression [like this](https://github.com/elastic/elasticsearch/blob/4c981ff4bfc250080d521af105b5e8589c9fc517/core/src/main/java/org/elasticsearch/common/SuppressForbidden.java) in elasticsearch project. But we are faced with a complication. We are extending a forbidden class and to make Suppression work we used...

enhancement

[SonarQube](http://www.sonarqube.org/) is the _de facto_ standard for code quality checks. It would be great to have such integration.

enhancement

We have a large Gradle based build which uses "--parallel" heavily to speed up compilation of commits. Because of this, the output of the forbidden-api plugin is often hidden in...