Skip to content

Commit

Permalink
fix (Voice): Client template compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JPPortier committed Oct 8, 2024
1 parent e562a15 commit f94b51d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions templates/client/src/main/java/Application.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.sinch.sdk.SinchClient;
import conversation.ConversationQuickStart;
import java.io.IOException;
import java.io.InputStream;
import java.util.logging.LogManager;
Expand All @@ -7,7 +8,6 @@
import sms.SmsQuickStart;
import verification.VerificationQuickStart;
import voice.VoiceQuickStart;
import conversation.ConversationQuickStart;

public abstract class Application {

Expand All @@ -24,7 +24,8 @@ public static void main(String[] args) {
// (see https://developers.sinch.com/docs/conversation)
// comment if unused
if (client.getConfiguration().getUnifiedCredentials().isPresent()) {
ConversationQuickStart conversation = new ConversationQuickStart(client.conversation().v1());
ConversationQuickStart conversation =
new ConversationQuickStart(client.conversation().v1());
}

// Numbers service dedicated business logic processing
Expand Down
4 changes: 2 additions & 2 deletions templates/client/src/main/java/conversation/Snippet.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package conversation;

import com.sinch.sdk.domains.conversation.*;
import com.sinch.sdk.domains.conversation.api.v1.ConversationService;
import java.util.logging.Logger;

public class Snippet {
Expand All @@ -11,4 +11,4 @@ static void execute(ConversationService conversationService) {

LOGGER.info("Snippet execution");
}
}
}

0 comments on commit f94b51d

Please sign in to comment.