mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Rename service
This commit is contained in:
+2
-2
@@ -52,8 +52,8 @@ import java.util.regex.Pattern;
|
||||
public class StepikRestService extends RestService {
|
||||
public static final String STUDY_PROJECT_XML_PATH = "/.idea/study_project.xml";
|
||||
private static final Logger LOG = Logger.getInstance(StepikRestService.class.getName());
|
||||
private static final String SERVICE_NAME = "stepik";
|
||||
private static final Pattern OPEN_COURSE = Pattern.compile("/stepik/course/[^/]*-(\\d+)(?:$|\\?|/.*)");
|
||||
private static final String SERVICE_NAME = "edu/stepik";
|
||||
private static final Pattern OPEN_COURSE = Pattern.compile("/" + SERVICE_NAME + "/course/[^/]*-(\\d+)(?:$|\\?|/.*)");
|
||||
|
||||
private static void openProject(String path) {
|
||||
String descriptor = String.format("{\"project\": \"%s\"}", path);
|
||||
|
||||
Reference in New Issue
Block a user