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 2424 */
2525class CommandLine {
2626 private static final String SUN_JAVA_COMMAND_PROPERTY = "sun.java.command" ;
27- final List <String > fullCommand = findFullCommand ();
27+ private final List <String > fullCommand = findFullCommand ();
2828 final String name = getCommandName ();
2929 final List <String > arguments = getCommandArguments ();
3030
@@ -35,14 +35,14 @@ private List<String> findFullCommand() {
3535 }
3636
3737 private String getCommandName () {
38- return fullCommand .isEmpty () ? null : fullCommand .get (0 );
38+ return this . fullCommand .isEmpty () ? null : this . fullCommand .get (0 );
3939 }
4040
4141 private List <String > getCommandArguments () {
42- if (fullCommand .isEmpty ()) {
43- return fullCommand ;
42+ if (this . fullCommand .isEmpty ()) {
43+ return this . fullCommand ;
4444 } else {
45- return fullCommand .subList (1 , fullCommand .size ());
45+ return this . fullCommand .subList (1 , this . fullCommand .size ());
4646 }
4747 }
4848}
You can’t perform that action at this time.
0 commit comments