Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faster startup - after PR review
Browse files Browse the repository at this point in the history
pskowronek committed Sep 16, 2023
1 parent 53b59a8 commit fc3a630
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ repositories.mavenCentral()
subprojects {
apply plugin: 'biz.aQute.bnd.builder'
apply plugin: 'java-library'
compileJava.options.compilerArgs += ['--release', '20']
compileJava.options.compilerArgs += ['--release', '14']
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
dependencies {
Original file line number Diff line number Diff line change
@@ -24,7 +24,6 @@
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JWindow;
import javax.swing.SwingUtilities;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
@@ -128,7 +127,8 @@ public SplashScreen(String version, String loadingMessage) {
/**
* Repaints this SplashScreen to display the new given loading message, replacing the previous one.
*
* @param msg a new loading message to be displayed
* @param msg
* a new loading message to be displayed
*/
public void setLoadingMessage(String msg) {
this.loadingMessage = msg;
8 changes: 4 additions & 4 deletions src/main/java/com/mucommander/main/AutoProcessor.java
Original file line number Diff line number Diff line change
@@ -168,11 +168,11 @@ private static void processAutoDeploy(ExecutorService executor, Map configMap, B
if (files != null)
{
Arrays.sort(files);
for (File f : files)
for (File file : files)
{
if (f.getName().endsWith(".jar"))
if (file.getName().endsWith(".jar"))
{
jarList.add(f);
jarList.add(file);
}
}
}
@@ -273,8 +273,8 @@ else if ((b != null) && actionList.contains(AUTO_DEPLOY_UPDATE_VALUE))
if (bundle != null) {
if (!isFragment(bundle)) {
sl.setBundleStartLevel(bundle, startLvl);
bundle.start();
}
bundle.start();
}
}
catch (BundleException ex)

0 comments on commit fc3a630

Please sign in to comment.