-
Notifications
You must be signed in to change notification settings - Fork 17
Collector: Refactor package structure and polish code style #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, this is your first pull request in IoTDB project. Thanks for your contribution! IoTDB will be better because of you.
| .build(); | ||
| } catch (final Exception e) { | ||
| LOGGER.warn("Failed to create task", e); | ||
| LOGGER.warn("Failed to create task {} because {}", taskId, e.getMessage(), e); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| try { | ||
| tasks.get(taskId).start(); | ||
|
|
||
| LOGGER.info("Task {} start successfully", taskId); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| .entity(String.format("task %s start successfully", taskId)) | ||
| .build(); | ||
| } catch (Exception e) { | ||
| LOGGER.warn("Failed to start task {} because {}", taskId, e.getMessage(), e); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| } | ||
| tasks.get(taskId).stop(); | ||
|
|
||
| LOGGER.info("Task {} stop successfully", taskId); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| .build(); | ||
| } catch (final Exception e) { | ||
| LOGGER.warn("Failed to stop task", e); | ||
| LOGGER.warn("Failed to stop task {} because {}", taskId, e.getMessage(), e); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| try { | ||
| tasks.remove(taskId).drop(); | ||
|
|
||
| LOGGER.info("Task {} drop successfully", taskId); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
| .entity(String.format("task %s drop successfully", taskId)) | ||
| .build(); | ||
| } catch (final Exception e) { | ||
| LOGGER.warn("Failed to drop task {} because {}", taskId, e.getMessage(), e); |
Check failure
Code scanning / CodeQL
Log Injection High
user-provided value
Copilot Autofix
AI 9 months ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
No description provided.