您正在檢視適用於以下版本的說明內容::

Avoid Sling Bindings in Java code

Sling Bindings are an inappropriate way to get access to a service in 90% of cases. Instead, you should use @Reference or @Inject annotations.

Avoid Thread.interfupt in Java code

Thread.interrupt is dangerous because it can close files, including Lucene files and persistent cache files, when called at the wrong time.

Avoid mixing Java synchronization with ReadWriteLocks

This can lead to a race condition in which the code will eventually deadlock.    

此産品由 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 授權  Creative Commons 條款未涵蓋 Twitter™ 與 Facebook 文章。

法律說明   |   線上隱私權政策