Hacker GitHub

← All repos

policeman-tools/forbidden-apis

View on GitHub ↗ ★ 374 Java

Policeman's Forbidden API Checker

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2019-12-17 · latest 2022-10-09

Mentions per year 3 mentions · busiest year 2019 (1)
20082026
  1. …always had to be stated explicitly. On Java, you can use the forbidden-apis build plugin ( https://github.com/policeman-tools/forbidden-apis ) to fail the build whenever a timezone or locale or charset is not specified explicitly (it…
    comment by cesarb · 2022-10-09 · in Stop using utcnow and utcfromtimestamp
  2. …(Locale.ROOT is almost always the one you want). At work, we use the "forbidden APIs" checker ( https://github.com/policeman-tools/forbidden-apis ) to fail the CI if the variant which uses the default locale is ever used; if you really…
  3. We use https://github.com/policeman-tools/forbidden-apis for that.
    comment by cesarb · 2019-12-17 · in Kotlin vs. Java