mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-368905: remove IntelliJ IDEA 30 years of Java splash screen logic
GitOrigin-RevId: 885cd90aba6aaecb49292c0dfbfa2ebc4f8a9838
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5dfbf73d71
commit
e12247fcff
@@ -21,7 +21,6 @@ import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.VisibleForTesting;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import java.time.LocalDate;
|
||||
import java.time.ZoneOffset;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.util.*;
|
||||
@@ -433,15 +432,6 @@ public final class ApplicationInfoImpl extends ApplicationInfoEx {
|
||||
|
||||
@Override
|
||||
public @Nullable String getSplashImageUrl() {
|
||||
if (getVersionName().equals("IntelliJ IDEA")) {
|
||||
LocalDate startDate = LocalDate.of(2025, 5, 22);
|
||||
LocalDate endDate = LocalDate.of(2025, 5, 31);
|
||||
LocalDate nowDate = LocalDate.now();
|
||||
String splashUrl = splashImageUrl;
|
||||
if (splashUrl != null && nowDate.isAfter(startDate) && nowDate.isBefore(endDate)) {
|
||||
return splashUrl.replace(".png", "_java_30.png");
|
||||
}
|
||||
}
|
||||
return isEap && eapSplashImageUrl != null ? eapSplashImageUrl : splashImageUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user