Skip to content

Commit

Permalink
Fix indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
nbelliot committed Apr 3, 2020
1 parent d29ada3 commit d552351
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public class VcastUtils
public static Optional< String > getVersion()
{
Optional< String > Version = Optional.empty();
try {
File file = new File( URLDecoder.decode( Utils.class.getProtectionDomain().getCodeSource().getLocation().getPath(), "utf-8" ) );
try {
File file = new File( URLDecoder.decode( Utils.class.getProtectionDomain().getCodeSource().getLocation().getPath(), "utf-8" ) );
JarFile jarfile = new JarFile( file );
Version = Optional.ofNullable( jarfile.getManifest().getMainAttributes().getValue( "Plugin-Version" ) );

} catch ( IOException e ) {
e.printStackTrace();
}
e.printStackTrace();
}

return Version;
return Version;
}
}

0 comments on commit d552351

Please sign in to comment.