[med-svn] [Git][med-team/beagle][master] 2 commits: New upstream version 5.1-200518+dfsg
Dylan Aïssi
gitlab at salsa.debian.org
Sun May 31 15:00:06 BST 2020
Dylan Aïssi pushed to branch master at Debian Med / beagle
Commits:
699eed29 by Dylan Aïssi at 2020-05-31T15:59:56+02:00
New upstream version 5.1-200518+dfsg
- - - - -
da7be15b by Dylan Aïssi at 2020-05-31T15:59:57+02:00
Update upstream source from tag 'upstream/5.1-200518+dfsg'
Update to upstream version '5.1-200518+dfsg'
with Debian dir 56567ebc98f963a4a03104de3a90c3db1358df09
- - - - -
2 changed files:
- main/Main.java
- vcf/BasicMarker.java
Changes:
=====================================
main/Main.java
=====================================
@@ -65,8 +65,8 @@ public class Main {
* The program name and version.
*/
public static final String VERSION = "(version 5.1)";
- public static final String PROGRAM = "beagle.27Apr20.b81.jar";
- public static final String COMMAND = "java -jar beagle.27Apr20.b81.jar";
+ public static final String PROGRAM = "beagle.18May20.d20.jar";
+ public static final String COMMAND = "java -jar beagle.18May20.d20.jar";
/**
* The copyright string.
@@ -78,7 +78,7 @@ public class Main {
*/
public static final String SHORT_HELP = Main.PROGRAM + " " + VERSION
+ Const.nl + Main.COPYRIGHT
- + Const.nl + "Enter \"java -jar beagle.27Apr20.b81.jar\" to "
+ + Const.nl + "Enter \"java -jar beagle.18May20.d20.jar\" to "
+ "list command line argument";
private final Par par;
=====================================
vcf/BasicMarker.java
=====================================
@@ -23,10 +23,9 @@ import blbutil.Const;
import blbutil.StringUtil;
import blbutil.Utilities;
import java.util.Arrays;
-import java.util.HashMap;
import java.util.HashSet;
-import java.util.Map;
import java.util.Set;
+import java.util.concurrent.ConcurrentHashMap;
/**
* <p>Class {@code BasicMarker} represents a genetic marker.
@@ -39,8 +38,8 @@ import java.util.Set;
public class BasicMarker implements Marker {
private static final String[] EMPTY_ID_ARRAY = new String[0];
- private static final Map<String, String[]> ALLELES_MAP
- = new HashMap<>(24);
+ private static final ConcurrentHashMap<String, String[]> ALLELES_MAP
+ = new ConcurrentHashMap<>(24); // allows re-use of String[] arrays
private final int chromIndex;
private final int pos;
@@ -189,7 +188,7 @@ public class BasicMarker implements Marker {
}
}
- /* Return specified String[] alleles if not a SNV */
+ /* Returns specified String[] alleles if not a SNV */
private static String[] canonicalAlleles(String[] alleles) {
if (isSNV(alleles)) {
String key = alleles[0];
View it on GitLab: https://salsa.debian.org/med-team/beagle/-/compare/4c7f85fb460be2def9bb05ae998090e7eccfda41...da7be15b68c23ba9b14ea4e086686f903b35f275
--
View it on GitLab: https://salsa.debian.org/med-team/beagle/-/compare/4c7f85fb460be2def9bb05ae998090e7eccfda41...da7be15b68c23ba9b14ea4e086686f903b35f275
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200531/7e7e9e65/attachment-0001.html>
More information about the debian-med-commit
mailing list