[英]Why is Guava's EventBus marked unstable in IntelliJ 2018.2?
[英]Why is BaseEncoding marked as unstable in Intellij?
我正在編寫以下代碼:
BaseEncoding.base64().encode(byteArrayEntity.getBytes())
但Intellij(社區2018.2)正在顯示以下警告:
'BaseEncoding' is marked unstable
Inspection info: Reports unstable API (elements annotated with one of annotations from list) usages.
我不知道這是否應該讓我擔心。 有人能解釋一下嗎
我感謝關注......
在Google GitHub API中,BaseEncoding被標記為“Beta”,因此它可能完全正常運行。 但是,如果你在哪里我仍然使用java.util.Base64,因為我從未遇到任何問題。
這應該提供相同的結果:
java.util.Base64.getEncoder().encode(byteArrayEntity.getBytes());
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.