Refactoring
This commit is contained in:
parent
1ee0fa0107
commit
4771a74787
|
@ -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 New Issue
Block a user