File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
components/environment/src/main/java/datadog/environment Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 24
24
*/
25
25
class CommandLine {
26
26
private static final String SUN_JAVA_COMMAND_PROPERTY = "sun.java.command" ;
27
- final List <String > fullCommand = findFullCommand ();
27
+ private final List <String > fullCommand = findFullCommand ();
28
28
final String name = getCommandName ();
29
29
final List <String > arguments = getCommandArguments ();
30
30
@@ -35,14 +35,14 @@ private List<String> findFullCommand() {
35
35
}
36
36
37
37
private String getCommandName () {
38
- return fullCommand .isEmpty () ? null : fullCommand .get (0 );
38
+ return this . fullCommand .isEmpty () ? null : this . fullCommand .get (0 );
39
39
}
40
40
41
41
private List <String > getCommandArguments () {
42
- if (fullCommand .isEmpty ()) {
43
- return fullCommand ;
42
+ if (this . fullCommand .isEmpty ()) {
43
+ return this . fullCommand ;
44
44
} else {
45
- return fullCommand .subList (1 , fullCommand .size ());
45
+ return this . fullCommand .subList (1 , this . fullCommand .size ());
46
46
}
47
47
}
48
48
}
You can’t perform that action at this time.
0 commit comments