Show IntelliJ IDEA 2024.3 30 years of Java artwork

Show the splash screen from the 23th of May until the 30th.


(cherry picked from commit fdfd1bab65547057a85c137184bcffad964380d9)

IJ-MR-159193

GitOrigin-RevId: c1a6b49083a7f38d0cd5e157d413eb67fb76785b
This commit is contained in:
Bart van Helvert
2025-04-02 16:26:02 +02:00
committed by intellij-monorepo-bot
parent 7c1b24bf6a
commit 009be4939e
3 changed files with 11 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.openapi.application.impl;
import com.intellij.ReviseWhenPortedToJDK;
@@ -20,6 +20,7 @@ import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import java.text.MessageFormat;
import java.time.LocalDate;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.*;
@@ -431,6 +432,15 @@ 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;
}