Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955)

* Inserted missing spaces between `if` and `(` to improve code style, in line with GSG 4.6.2
This commit is contained in:
Paul Oranje 2018-11-04 15:37:28 +01:00 committed by Adam Jones
parent 0cf2299e49
commit 7b7d17a33b
69 changed files with 126 additions and 126 deletions

View file

@ -42,4 +42,4 @@ public class CommonsLogSender extends LogsSender {
return builder.toString();
}
}
}

View file

@ -141,4 +141,4 @@ public class FileLoggingTree extends Timber.DebugTree implements LogLevelSettabl
LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
logger.addAppender(rollingFileAppender);
}
}
}

View file

@ -5,4 +5,4 @@ package fr.free.nrw.commons.logging;
*/
public interface LogLevelSettableTree {
void setLogLevel(int logLevel);
}
}

View file

@ -16,10 +16,10 @@ public final class LogUtils {
* @return
*/
public static String getLogDirectory(boolean isBeta) {
if(isBeta) {
if (isBeta) {
return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/logs/beta";
} else {
return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/logs/prod";
}
}
}
}

View file

@ -180,4 +180,4 @@ public abstract class LogsSender implements ReportSender {
zos.flush();
zos.close();
}
}
}