Tencent / tinker

Tinker is a hot-fix solution library for Android, it supports dex, library and resources update without reinstall apk.
Other
17.13k stars 3.33k forks source link

contribute javadoc to a method in tinker-commons/src/main/java/com/tencent/tinker/commons/dexpatcher/util/SparseIndexMap.java #1452

Open 129124 opened 4 years ago

129124 commented 4 years ago

Hi there, when I was reading the code of the function "public int adjustProtoIdIndex(int protoIndex)" in tinker-commons/src/main/java/com/tencent/tinker/commons/dexpatcher/util/SparseIndexMap.java, I found it has no Javadoc. I would like to contribute by adding “get the optional index that have been associated with the passed index. @param protoIndex the first index @return the index of the first occurrence of the pattern". Can you please check if this is correct? Thanks.