From 348c31f5bdf6d74d4011f19595afd8fd22fe6b51 Mon Sep 17 00:00:00 2001 From: Lukasz Mitusinski Date: Wed, 20 Jun 2018 11:23:19 +0200 Subject: [PATCH] #7547 allow to save default profile withoud starting spark context --- .../src/main/java/com/twosigma/beakerx/widget/SparkUIForm.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sparkex/src/main/java/com/twosigma/beakerx/widget/SparkUIForm.java b/kernel/sparkex/src/main/java/com/twosigma/beakerx/widget/SparkUIForm.java index c22bdbc513..8934a31ec7 100644 --- a/kernel/sparkex/src/main/java/com/twosigma/beakerx/widget/SparkUIForm.java +++ b/kernel/sparkex/src/main/java/com/twosigma/beakerx/widget/SparkUIForm.java @@ -160,9 +160,6 @@ private void loadProfile() { } private void saveProfile() { - if (profile.getValue().equals(DEFAULT_PROFILE)) { - return; - } HashMap sparkProfile = getCurrentConfig(); sparkProfile.put("name", profile.getValue()); sparkUiDefaults.saveProfile(sparkProfile);