Skip to content

Commit 351c4ba

Browse files
author
Mukesh Solanki
committed
imporved code
1 parent 806ba60 commit 351c4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdownview/src/main/java/com/mukesh/MarkdownView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private String imgToBase64(String mdText) {
140140
return mdText;
141141
}
142142
String baseType = imgEx2BaseType(imgPath);
143-
if (baseType.equals("")) {
143+
if ("".equals(baseType)) {
144144
return mdText;
145145
}
146146
File file = new File(imgPath);

0 commit comments

Comments
 (0)