Skip to content

Commit b081f91

Browse files
authored
chore!: Remove feature flag for old license checker which is no longer available (#15190)
1 parent ba736fe commit b081f91

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

flow-plugins/flow-plugin-base/src/main/java/com/vaadin/flow/plugin/base/BuildFrontendUtil.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,7 @@ public static void runFrontendBuild(PluginAdapterBase adapter)
365365
throws TimeoutException, URISyntaxException {
366366
FeatureFlags featureFlags = getFeatureFlags(adapter);
367367

368-
LicenseChecker.setStrictOffline(
369-
!featureFlags.isEnabled(FeatureFlags.OLD_LICENSE_CHECKER));
368+
LicenseChecker.setStrictOffline(true);
370369

371370
FrontendToolsSettings settings = getFrontendToolsSettings(adapter);
372371
FrontendTools tools = new FrontendTools(settings);

flow-server/src/main/java/com/vaadin/experimental/FeatureFlags.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ public class FeatureFlags implements Serializable {
6464
public static final Feature HILLA_ENGINE = new Feature(
6565
"Multi-module engine in Hilla", "hillaEngine",
6666
"https://github.com/vaadin/flow/issues/9010", true, null);
67-
public static final Feature OLD_LICENSE_CHECKER = new Feature(
68-
"Old license checker", "oldLicenseChecker",
69-
"https://github.com/vaadin/platform/issues/2984", false, null);
7067
public static final Feature COLLABORATION_ENGINE_BACKEND = new Feature(
7168
"Collaboration Engine backend for clustering support",
7269
"collaborationEngineBackend",
@@ -94,7 +91,6 @@ public FeatureFlags(Lookup lookup) {
9491
features.add(new Feature(EXAMPLE));
9592
features.add(new Feature(HILLA_PUSH));
9693
features.add(new Feature(HILLA_ENGINE));
97-
features.add(new Feature(OLD_LICENSE_CHECKER));
9894
features.add(new Feature(COLLABORATION_ENGINE_BACKEND));
9995
features.add(new Feature(WEBPACK));
10096
features.add(new Feature(ENFORCE_FIELD_VALIDATION));

vaadin-dev-server/src/main/java/com/vaadin/base/devserver/startup/DevModeInitializer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ public static DevModeHandler initDevModeHandler(Set<Class<?>> classes,
205205
// This needs to be set as there is no "current service" available in
206206
// this call
207207
FeatureFlags featureFlags = FeatureFlags.get(context);
208-
LicenseChecker.setStrictOffline(
209-
!featureFlags.isEnabled(FeatureFlags.OLD_LICENSE_CHECKER));
208+
LicenseChecker.setStrictOffline(true);
210209

211210
featureFlags.setPropertiesLocation(config.getJavaResourceFolder());
212211

0 commit comments

Comments
 (0)