forked from External/mage
Sonar cleanups 03032019
This commit is contained in:
parent
f46f321635
commit
45f665eb1d
13 changed files with 37 additions and 41 deletions
|
|
@ -28,7 +28,7 @@ public class JarVersion {
|
|||
String manifestPath;
|
||||
if (classPath.startsWith("jar")) {
|
||||
// jar source
|
||||
manifestPath = classPath.substring(0, classPath.lastIndexOf("!") + 1) + "/META-INF/MANIFEST.MF";
|
||||
manifestPath = classPath.substring(0, classPath.lastIndexOf('!') + 1) + "/META-INF/MANIFEST.MF";
|
||||
} else {
|
||||
// dir source (e.g. IDE's debug)
|
||||
// it's can be generated by runtime, but need extra code and performance: https://stackoverflow.com/questions/34674073/how-to-generate-manifest-mf-file-during-compile-phase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue