Skip to content

Commit

Permalink
imporved code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mukesh Solanki committed Aug 30, 2018
1 parent 806ba60 commit 351c4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdownview/src/main/java/com/mukesh/MarkdownView.java
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private String imgToBase64(String mdText) {
return mdText;
}
String baseType = imgEx2BaseType(imgPath);
if (baseType.equals("")) {
if ("".equals(baseType)) {
return mdText;
}
File file = new File(imgPath);
Expand Down

0 comments on commit 351c4ba

Please sign in to comment.