Skip to content
Snippets Groups Projects
Commit fd46bc2a authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Remove $ from class

parent ae404243
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ trait ToolCommandFuntion extends BiopetJavaCommandLineFunction {
override def getVersion = Some("Biopet " + FullVersion)
override def freezeFieldValues(): Unit = {
javaMainClass = toolObject.getClass.getName.split("$").head
javaMainClass = toolObject.getClass.getName.takeWhile(_ != '$')
super.freezeFieldValues()
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment