Skip to content

Commit dd17ca2

Browse files
committed
nits: remove outdated comments
1 parent 7a9f694 commit dd17ca2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

components/cli/src/main/java/datadog.cli/CLIHelper.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ private static List<String> initJvmArgs() {
3131
// If linux OS, use procfs
3232
// TODO: equals, or contains?
3333
if (System.getProperty("os.name").equalsIgnoreCase("linux")) {
34-
// Get the current process PID from /proc/self/status
3534
try {
3635
// Get the JVM arguments from /proc/self/cmdline
3736
return getJvmArgsFromProcCmdline();
@@ -89,7 +88,6 @@ private static List<String> initJvmArgs() {
8988
}
9089

9190
private static List<String> getJvmArgsFromProcCmdline() throws IOException {
92-
// Read /proc/[pid]/cmdline to get JVM arguments
9391
BufferedReader argsReader = new BufferedReader(new FileReader("/proc/self/cmdline"));
9492
String cmdLine = argsReader.readLine();
9593
if (cmdLine != null) {

0 commit comments

Comments
 (0)