Skip to content

Commit 5c874d2

Browse files
committed
LINT : Correct minor lint warnings
1 parent 61e60c7 commit 5c874d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

library/src/main/java/com/matpag/clickdrawabletextview/CsDrawable.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ public Builder(@NonNull Context context, Drawable drawable, boolean mutable){
148148
* set the drawable size in pixels
149149
* @param pixelHeight target height in pixel
150150
* @param pixelWidth target width in pixel
151+
*
152+
* @return current instance
151153
*/
152154
public Builder setDrawablePixelSize(int pixelHeight, int pixelWidth){
153155
if (validateSizeParams(pixelHeight, pixelWidth)) {
@@ -160,6 +162,8 @@ public Builder setDrawablePixelSize(int pixelHeight, int pixelWidth){
160162
* set the drawable size in DP
161163
* @param dpHeight target height in DP
162164
* @param dpWidth target width in DP
165+
*
166+
* @return current instance
163167
*/
164168
public Builder setDrawableDpSize(int dpHeight, int dpWidth){
165169
if (validateSizeParams(dpHeight, dpWidth)) {
@@ -171,6 +175,8 @@ public Builder setDrawableDpSize(int dpHeight, int dpWidth){
171175
/**
172176
* set the initial visibility of the drawable
173177
* @param visible default false
178+
*
179+
* @return current instance
174180
*/
175181
public Builder setVisibility(boolean visible){
176182
csDrawable.setVisibility(visible);

0 commit comments

Comments
 (0)