mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-25 08:32:32 +00:00
commit
bfbb58ea5a
@ -4,7 +4,7 @@
|
||||
<groupId>org.pamguard</groupId>
|
||||
<artifactId>Pamguard</artifactId>
|
||||
<name>Pamguard Java12+</name>
|
||||
<version>2.02.09c</version>
|
||||
<version>2.02.09e</version>
|
||||
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
||||
<url>www.pamguard.org</url>
|
||||
<organization>
|
||||
|
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.pamguard</groupId>
|
||||
<artifactId>Pamguard</artifactId>
|
||||
<version>2.02.09d</version>
|
||||
<version>2.02.09e</version>
|
||||
<name>Pamguard Java12+</name>
|
||||
<description>Pamguard for Java 12+, using Maven to control dependcies</description>
|
||||
<url>www.pamguard.org</url>
|
||||
|
@ -24,19 +24,19 @@ public class PamguardVersionInfo {
|
||||
* PAMGuard can work with.
|
||||
*/
|
||||
static public final String minJavaVersion = "11.0.0";
|
||||
static public final String maxJavaVersion = "19.99.99";
|
||||
static public final String maxJavaVersion = "21.99.99";
|
||||
|
||||
|
||||
/**
|
||||
* Version number, major version.minorversion.sub-release.
|
||||
* Note: can't go higher than sub-release 'f'
|
||||
*/
|
||||
static public final String version = "2.02.09c";
|
||||
static public final String version = "2.02.09e";
|
||||
|
||||
/**
|
||||
* Release date
|
||||
*/
|
||||
static public final String date = "10 November 2023";
|
||||
static public final String date = "18 December 2023";
|
||||
|
||||
// /**
|
||||
// * Release type - Beta or Core
|
||||
|
@ -601,7 +601,6 @@ public class PamGui extends PamView implements WindowListener, PamSettings {
|
||||
fileMenu.add(menuItem);
|
||||
}
|
||||
|
||||
if (SMRUEnable.isEnable()) {
|
||||
menuItem = new JMenuItem("Import PAMGuard Modules");
|
||||
menuItem.setToolTipText("Import module settings from a different PAMGuard configuration (psfx files only");
|
||||
menuItem.addActionListener(new ActionListener() {
|
||||
@ -611,7 +610,6 @@ public class PamGui extends PamView implements WindowListener, PamSettings {
|
||||
}
|
||||
});
|
||||
fileMenu.add(menuItem);
|
||||
}
|
||||
|
||||
fileMenu.addSeparator();
|
||||
|
||||
|
@ -82,7 +82,13 @@ public class StubRemover {
|
||||
private int searchStubSize(List<SliceData> sliceData, int currentSlice, int peakInd, int searchDir, int diagGap, int currentSize) {
|
||||
int nSlice = sliceData.size();
|
||||
int nextSliceInd = currentSlice + searchDir;
|
||||
if (nextSliceInd < 0 || nextSliceInd >= nSlice-1) {
|
||||
/**
|
||||
* This function is only every used to throw away very small stubs, so there is no need to get the full size
|
||||
* of every one. It's OK to return as soon as the size is bigger than the minimum required to make
|
||||
* something worth keeping. This reduces the time spent tracing down every little alley which was
|
||||
* severely impacting performance for larger whistles.
|
||||
*/
|
||||
if (nextSliceInd < 0 || nextSliceInd >= nSlice-1 || currentSize > whistleControl.getWhistleToneParameters().minPixels) {
|
||||
return currentSize;
|
||||
}
|
||||
SliceData nextSlice = sliceData.get(nextSliceInd);
|
||||
|
Loading…
Reference in New Issue
Block a user