mirror of
https://github.com/kickstarter/android-oss.git
synced 2025-09-25 23:43:39 +08:00
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:
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -91,7 +91,6 @@
|
||||
<property name="throwsIndent" value="2" />
|
||||
<property name="lineWrappingIndentation" value="2" />
|
||||
</module>
|
||||
<module name="UpperEll" />
|
||||
</module>
|
||||
|
||||
<module name="FileLength">
|
||||
|
Reference in New Issue
Block a user