Skip to content

Commit 6b23145

Browse files
committed
Fix some compile erros (for Java 1.6 compatibility)
1 parent d859c8b commit 6b23145

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

IGV.iml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<module type="JAVA_MODULE" version="4">
3-
<component name="NewModuleRootManager" inherit-compiler-output="true">
3+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="true">
44
<exclude-output />
55
<content url="file://$MODULE_DIR$">
66
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />

src/org/broad/igv/feature/GFFFeature.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*/
3939
public class GFFFeature extends BasicFeature {
4040

41-
List<String> componentAttributes = new ArrayList<>();
41+
List<String> componentAttributes = new ArrayList<String>();
4242

4343
public GFFFeature(BasicFeature feature) {
4444
super(feature);

src/org/broad/igv/track/GFFFeatureSource.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public GFFCombiner() {
110110
gffExons = new ArrayList<BasicFeature>(numElements);
111111
gffCdss = new LinkedHashMap<String, GFFCdsCltn>(numElements);
112112
gffUtrs = new ArrayList<BasicFeature>(numElements);
113-
gffMrnaParts = new ArrayList<>(numElements);
113+
gffMrnaParts = new ArrayList<BasicFeature>(numElements);
114114

115115
}
116116

0 commit comments

Comments
 (0)