You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2021/12/02 13:53:24 UTC
[beam] branch master updated: [BEAM-13370] Deleted unused prints & strings
This is an automated email from the ASF dual-hosted git repository.
pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new b8315e5 [BEAM-13370] Deleted unused prints & strings
new cd05896 Merge pull request #16104 from [BEAM-13370] [Playground] [Bugfix] Fix/delete prints and unused strings.
b8315e5 is described below
commit b8315e51e930c7b6c04c9b4faf54123527fd8ae7
Author: Alexander <al...@akvelon.com>
AuthorDate: Thu Dec 2 16:00:58 2021 +0400
[BEAM-13370] Deleted unused prints & strings
---
.../frontend/lib/api/iis_workaround_channel.dart | 22 +++++++++++++++-------
.../pages/playground/states/playground_state.dart | 2 +-
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/playground/frontend/lib/api/iis_workaround_channel.dart b/playground/frontend/lib/api/iis_workaround_channel.dart
index 04b98e5..2232c59 100644
--- a/playground/frontend/lib/api/iis_workaround_channel.dart
+++ b/playground/frontend/lib/api/iis_workaround_channel.dart
@@ -17,6 +17,7 @@
*/
import 'package:grpc/grpc_connection_interface.dart';
+
// ignore: implementation_imports
import 'package:grpc/src/client/transport/xhr_transport.dart';
@@ -35,13 +36,20 @@ class IisClientConnection extends XhrClientConnection {
IisClientConnection(Uri uri) : super(uri);
@override
- GrpcTransportStream makeRequest(String path, Duration? timeout,
- Map<String, String> metadata, ErrorHandler onError,
- {CallOptions? callOptions}) {
- print(path);
+ GrpcTransportStream makeRequest(
+ String path,
+ Duration? timeout,
+ Map<String, String> metadata,
+ ErrorHandler onError, {
+ CallOptions? callOptions,
+ }) {
var pathWithoutFirstSlash = path.substring(1);
- print(pathWithoutFirstSlash);
- return super.makeRequest(pathWithoutFirstSlash, timeout, metadata, onError,
- callOptions: callOptions);
+ return super.makeRequest(
+ pathWithoutFirstSlash,
+ timeout,
+ metadata,
+ onError,
+ callOptions: callOptions,
+ );
}
}
diff --git a/playground/frontend/lib/pages/playground/states/playground_state.dart b/playground/frontend/lib/pages/playground/states/playground_state.dart
index 99a06f1..8675c39 100644
--- a/playground/frontend/lib/pages/playground/states/playground_state.dart
+++ b/playground/frontend/lib/pages/playground/states/playground_state.dart
@@ -101,7 +101,7 @@ class PlaygroundState with ChangeNotifier {
_selectedExample?.outputs != null) {
_result = RunCodeResult(
status: RunCodeStatus.finished,
- output: _selectedExample!.outputs ?? 'anti-precompiled output',
+ output: _selectedExample!.outputs,
);
notifyListeners();
} else {