Minor clean up
This commit is contained in:
@@ -273,9 +273,8 @@ public class MainActivity extends AppCompatActivity
|
|||||||
toLogoutState();
|
toLogoutState();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.getKVV().login(credentials.getUsername(), credentials.getPassword(), success -> {
|
this.getKVV().login(credentials.getUsername(), credentials.getPassword(), success -> toLoginState(success, getDefaultFragmentAfterLogin(), ""),
|
||||||
toLoginState(success, getDefaultFragmentAfterLogin(), "");
|
error -> {
|
||||||
}, error -> {
|
|
||||||
log.e(error);
|
log.e(error);
|
||||||
toLogoutState();
|
toLogoutState();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -14,8 +14,6 @@ import java.util.Date;
|
|||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
public class DateUtils {
|
public class DateUtils {
|
||||||
private static Logger log = new Logger("DateUtils");
|
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static String getModifiedDateTime(long modified) {
|
public static String getModifiedDateTime(long modified) {
|
||||||
return getModifiedDateTime(null, modified);
|
return getModifiedDateTime(null, modified);
|
||||||
|
|||||||
Reference in New Issue
Block a user