Revert "Add UpperEll check"

Decided against this one, I actually don't see a big problem with the lower l
This commit is contained in:
Christopher Wright
2016-02-17 18:31:43 -05:00
parent af53e954ea
commit 9fb16bdf1b
6 changed files with 8 additions and 9 deletions

View File

@ -95,7 +95,7 @@ public final class RefTagUtils {
if (deadline != null) {
cookie.setMaxAge(ProjectUtils.timeInSecondsUntilDeadline(project));
} else {
cookie.setMaxAge(new DateTime().plusDays(10).getMillis() / 1000L);
cookie.setMaxAge(new DateTime().plusDays(10).getMillis() / 1000l);
}
return cookie;

View File

@ -7,6 +7,6 @@ public final class SystemUtils {
* Returns the number of seconds since the epoch (1/1/1970).
*/
public static long secondsSinceEpoch() {
return System.currentTimeMillis() / 1000L;
return System.currentTimeMillis() / 1000l;
}
}

View File

@ -104,7 +104,7 @@ public final class CheckoutActivity extends BaseActivity<CheckoutViewModel> impl
@Override
public void webViewOnPageStarted(final @NonNull KSWebViewClient webViewClient, final @Nullable String url) {
final AlphaAnimation animation = new AlphaAnimation(0.0f, 1.0f);
animation.setDuration(300L);
animation.setDuration(300l);
animation.setFillAfter(true);
loadingIndicatorView.startAnimation(animation);
}
@ -112,7 +112,7 @@ public final class CheckoutActivity extends BaseActivity<CheckoutViewModel> impl
@Override
public void webViewOnPageFinished(final @NonNull KSWebViewClient webViewClient, final @Nullable String url) {
final AlphaAnimation animation = new AlphaAnimation(1.0f, 0.0f);
animation.setDuration(300L);
animation.setDuration(300l);
animation.setFillAfter(true);
loadingIndicatorView.startAnimation(animation);
}

View File

@ -116,7 +116,7 @@ public class HelpActivity extends BaseActivity<HelpViewModel> implements KSWebVi
@Override
public void webViewOnPageStarted(final @NonNull KSWebViewClient webViewClient, final @Nullable String url) {
final AlphaAnimation animation = new AlphaAnimation(0.0f, 1.0f);
animation.setDuration(300L);
animation.setDuration(300l);
animation.setFillAfter(true);
loadingIndicatorView.startAnimation(animation);
}
@ -124,7 +124,7 @@ public class HelpActivity extends BaseActivity<HelpViewModel> implements KSWebVi
@Override
public void webViewOnPageFinished(final @NonNull KSWebViewClient webViewClient, final @Nullable String url) {
final AlphaAnimation animation = new AlphaAnimation(1.0f, 0.0f);
animation.setDuration(300L);
animation.setDuration(300l);
animation.setFillAfter(true);
loadingIndicatorView.startAnimation(animation);
}

View File

@ -55,7 +55,7 @@ public final class WebViewActivity extends BaseActivity<WebViewViewModel> implem
@Override
public void webViewOnPageStarted(final @NonNull KSWebViewClient webViewClient, final @Nullable String url) {
final AlphaAnimation animation = new AlphaAnimation(0.0f, 1.0f);
animation.setDuration(300L);
animation.setDuration(300l);
animation.setFillAfter(true);
loadingIndicatorView.startAnimation(animation);
}
@ -63,7 +63,7 @@ public final class WebViewActivity extends BaseActivity<WebViewViewModel> implem
@Override
public void webViewOnPageFinished(final @NonNull KSWebViewClient webViewClient, final @Nullable String url) {
final AlphaAnimation animation = new AlphaAnimation(1.0f, 0.0f);
animation.setDuration(300L);
animation.setDuration(300l);
animation.setFillAfter(true);
loadingIndicatorView.startAnimation(animation);
}

View File

@ -91,7 +91,6 @@
<property name="throwsIndent" value="2" />
<property name="lineWrappingIndentation" value="2" />
</module>
<module name="UpperEll" />
</module>
<module name="FileLength">