Skip to content

Commit

Permalink
Removed redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VermaSh committed Apr 9, 2018
1 parent d5e00c6 commit 4a534e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/NodeHelper.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ import hudson.plugins.sshslaves.SSHLauncher;

class NodeHelper {

// TODO: Move strings out to a config file

/* Java Web Start (Windows)
- Internal data directory: remoting
SSH (most linux machines)
Expand Down Expand Up @@ -74,7 +72,7 @@ class NodeHelper {

String ret = "INVALID_NODE_NAME";

if (newNodeName.length() > 2) { // TODO: Some sort of validation for node names
if (newNodeName.length() > 2) {
DumbSlave newSlave = new DumbSlave(
newNodeName,
newNodeRemoteFS,
Expand Down Expand Up @@ -1030,7 +1028,7 @@ class NodeHelper {
return ret;
}

private String execGroovy(String cmd, Computer computer) { // TODO: Also check for invalid command (?)
private String execGroovy(String cmd, Computer computer) {
String ret = "execGroovy:INVALID_COMMAND";

if (cmd.length() > 1 && computer != null) {
Expand Down

0 comments on commit 4a534e9

Please sign in to comment.