From a0e3307ffba92f760098514a0073e676e0b49115 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Thu, 22 Jun 2017 14:04:53 -0400 Subject: [PATCH] Minor formating improvements --- .../java/com/rarchives/ripme/ripper/rippers/ImgurRipper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgurRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgurRipper.java index 4cfcb355..dd9125cb 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgurRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgurRipper.java @@ -106,7 +106,7 @@ public class ImgurRipper extends AlbumRipper { String title = null; logger.info("Trying to get album title"); elems = albumDoc.select("meta[property=og:title]"); - if (elems!=null) { + if (elems != null) { title = elems.attr("content"); logger.debug("Title is " + title); } @@ -119,7 +119,7 @@ public class ImgurRipper extends AlbumRipper { title = ""; logger.debug("Trying to use title tag to get title"); elems = albumDoc.select("title"); - if (elems!=null) { + if (elems != null) { if (elems.text().contains("Imgur: The most awesome images on the Internet")) { logger.debug("Was unable to get album title or album was untitled"); }