google/error-prone
Catch common Java mistakes as compile-time errors
https://skillcdn.ai/gh/google/error-prone내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
master - 커밋
1a82c75 - 라이선스
Apache-2.0
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 화면용 번역은 검색되지 않아요.
문서
- BinderIdentityRestoredDangerously.mdBinder is Android's inter-process communication mechanism. Each call to Binder.clearCallingIdentity() should be followed by Binder.restoreCallingIdentity() in a finally block. Otherwise the wrong Bin…docs/bugpattern/android/BinderIdentityRestoredDangerously.md
- BundleDeserializationCast.mdWhen a Serializable object is placed in an android.os.Bundle, certain types whose serialization is handled with custom logic are 'flattened' to their base types. Casting items retrieved from a bundle…docs/bugpattern/android/BundleDeserializationCast.md
- FragmentInjection.mdFragment Injection refers to a security vulnerability in classes extending android.preference.PreferenceActivity wherein malicious intents can place fragments in places they were never meant to be. I…docs/bugpattern/android/FragmentInjection.md
- FragmentNotInstantiable.mdEvery subclass of Fragment must be public and have a public, nullary constructor. The Android framework will reflectively instantiate them after a configuration change, such as screen rotation, and i…docs/bugpattern/android/FragmentNotInstantiable.md
- HardCodedSdCardPath.mdYour code should not reference the /sdcard path directly, which is platform-dependent. You should use Environment.getExternalStorageDirectory().getPath() instead.docs/bugpattern/android/HardCodedSdCardPath.md
- ParcelableCreator.mdClasses implementing android.os.Parcelable must also have a non-null static field called CREATOR of a type that implements Parcelable.Creator.docs/bugpattern/android/ParcelableCreator.md
- WakelockReleasedDangerously.mdIf release() is called on an already-released WakeLock, a RuntimeException is thrown, which can crash your app if not handled properly.docs/bugpattern/android/WakelockReleasedDangerously.md