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