Skip to content

Commit

Permalink
Removed File related methods from StringUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstoegerer committed Jun 12, 2017
1 parent 626d850 commit 23a25ff
Showing 1 changed file with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ranorex.jenkinsranorexplugin.util;

import java.io.File;
import java.util.List;

public abstract class StringUtil
Expand Down Expand Up @@ -64,20 +63,4 @@ public static String appendBackslash(String value)
}
return value;
}

public static Boolean isValidDirectory(String value)
{
File file = new File(value);
if (file.isDirectory())
{
return true;
}
return false;
}

public static Boolean isAbsolutePath(String value)
{
File file = new File(value);
return file.isAbsolute();
}
}
}

0 comments on commit 23a25ff

Please sign in to comment.