Skip to content

Commit 52fa053

Browse files
committed
fixed bugs
1 parent f5186ec commit 52fa053

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

deepcommenter-client/src/tech/czxs/deepcommenter/GenerateCommentAction.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public class GenerateCommentAction extends AnAction {
2222

2323
@Override
2424
public void actionPerformed(AnActionEvent e) {
25-
// TODO: insert action logic here
2625
Editor editor = e.getData(PlatformDataKeys.EDITOR);
2726
if (editor == null) return;
2827
Project project = e.getProject();
@@ -77,8 +76,6 @@ public void run(@NotNull ProgressIndicator indicator) {
7776
String serverAddr = props.getProperty("server-address");
7877

7978
result = HttpClientPool.getHttpClient().post("http://" + serverAddr + ":5000/s", selectedText);
80-
// result = HttpClientPool.getHttpClient().post("http://127.0.0.1:5000/s", s);
81-
8279
} catch (Exception ex) {
8380
ex.printStackTrace();
8481
Messages.showMessageDialog("Failed to connect to server.", "Information", Messages.getInformationIcon());

0 commit comments

Comments
 (0)