Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed unthrown exceptions
  • Loading branch information
mfateev committed Jul 10, 2020
commit 8be5354062456cd02a124cd3212bf65f6d128444
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
public class QueryWorkflowExecution {

public static void main(String[] args) throws Exception {
public static void main(String[] args) {
if (args.length < 2 || args.length > 3) {
System.err.println(
"Usage: java "
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/temporal/samples/hello/HelloCron.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void greet(String greeting) {
}
}

public static void main(String[] args) throws InterruptedException {
public static void main(String[] args) {
// gRPC stubs wrapper that talks to the local docker instance of temporal service.
WorkflowServiceStubs service = WorkflowServiceStubs.newInstance();
// client that can be used to start and signal workflows
Expand Down