git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'Jalview-JS/develop' into develop
[jalview.git]
/
src
/
jalview
/
io
/
packed
/
ParsePackedSet.java
diff --git
a/src/jalview/io/packed/ParsePackedSet.java
b/src/jalview/io/packed/ParsePackedSet.java
index
1635682
..
d40446d
100644
(file)
--- a/
src/jalview/io/packed/ParsePackedSet.java
+++ b/
src/jalview/io/packed/ParsePackedSet.java
@@
-52,7
+52,7
@@
public class ParsePackedSet
public Object[] getAlignment(JalviewDataset context,
Iterable<DataProvider> files) throws Exception
{
public Object[] getAlignment(JalviewDataset context,
Iterable<DataProvider> files) throws Exception
{
- List<Object> rslt = new ArrayList<Object>();
+ List<Object> rslt = new ArrayList<>();
if (context == null)
{
context = new JalviewDataset();
if (context == null)
{
context = new JalviewDataset();
@@
-151,7
+151,7
@@
public class ParsePackedSet
// if not, create one.
if (context.featureColours == null)
{
// if not, create one.
if (context.featureColours == null)
{
- context.featureColours = new HashMap<String, FeatureColourI>();
+ context.featureColours = new HashMap<>();
}
try
{
}
try
{
@@
-223,12
+223,13
@@
public class ParsePackedSet
* would be created.
*
* @param args
* would be created.
*
* @param args
+ * @j2sIgnore
*/
public static void main(String args[])
{
// make data providers from the set of keys/files
int i = 0;
*/
public static void main(String args[])
{
// make data providers from the set of keys/files
int i = 0;
- List<DataProvider> dp = new ArrayList<DataProvider>();
+ List<DataProvider> dp = new ArrayList<>();
while ((i + 1) < args.length)
{
String type = args[i++];
while ((i + 1) < args.length)
{
String type = args[i++];