From fff92c4d493debdde661c8a5deb9c78731f2a898 Mon Sep 17 00:00:00 2001 From: jarek Date: Wed, 11 Jul 2018 08:37:40 +0200 Subject: [PATCH] #7652: change getBeaker to getBeakerX --- doc/groovy/GeneralAutotranslation.ipynb | 2 +- .../src/main/java/com/twosigma/beakerx/NamespaceClient.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/groovy/GeneralAutotranslation.ipynb b/doc/groovy/GeneralAutotranslation.ipynb index 64839e8185..95236bb026 100644 --- a/doc/groovy/GeneralAutotranslation.ipynb +++ b/doc/groovy/GeneralAutotranslation.ipynb @@ -96,7 +96,7 @@ "outputs": [], "source": [ "%%java\n", - "return NamespaceClient.getBeaker().get(\"bar\");" + "return NamespaceClient.getBeakerX().get(\"bar\");" ] }, { diff --git a/kernel/base/src/main/java/com/twosigma/beakerx/NamespaceClient.java b/kernel/base/src/main/java/com/twosigma/beakerx/NamespaceClient.java index d31bbc4d78..1cecd14652 100644 --- a/kernel/base/src/main/java/com/twosigma/beakerx/NamespaceClient.java +++ b/kernel/base/src/main/java/com/twosigma/beakerx/NamespaceClient.java @@ -31,7 +31,7 @@ public class NamespaceClient implements BeakerXClient { - public static final String NAMESPACE_CLIENT = NamespaceClient.class.getSimpleName() + ".getBeaker()"; + public static final String NAMESPACE_CLIENT = NamespaceClient.class.getSimpleName() + ".getBeakerX()"; private static Map> messagePool = new HashMap<>(); private Comm codeCellsComm = null; @@ -46,7 +46,7 @@ public NamespaceClient(AutotranslationService autotranslationService, BeakerXJso this.commRepository = commRepository; } - public static BeakerXClient getBeaker() { + public static BeakerXClient getBeakerX() { return BeakerXClientManager.get(); }