Refactoring
This commit is contained in:
parent
1ee0fa0107
commit
4771a74787
1 changed files with 8 additions and 2 deletions
|
@ -293,6 +293,14 @@ public class MiscUtils
|
|||
}
|
||||
}
|
||||
|
||||
public static Thread startNewThread(String threadName, Runnable threadRunnable)
|
||||
{
|
||||
Thread temporaryThread = new Thread(threadRunnable, threadName);
|
||||
temporaryThread.start();
|
||||
|
||||
return temporaryThread;
|
||||
}
|
||||
|
||||
public static String getChildFromPath(String path)
|
||||
{
|
||||
if (path != null && path.contains("/"))
|
||||
|
@ -304,8 +312,6 @@ public class MiscUtils
|
|||
return path;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Reads an InputStream and returns the read byte[]
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue