Skip to content

Commit 5188b09

Browse files
committed
cleanup
1 parent 1a7acd5 commit 5188b09

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

core/src/main/java/com/bc/fiduceo/util/NetCDFUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ public static Array create(double[] data) {
494494
return Array.factory(DataType.DOUBLE, shape, data);
495495
}
496496

497-
// @todo 2 tb/tb write test 2020-05-07
498497
public static Array create(double[][] data) {
499498
final int linelength = data[0].length;
500499
double[] flatData = new double[data.length * linelength];

core/src/test/java/com/bc/fiduceo/reader/modis/ThermalNoiseVariableTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import org.junit.Test;
44
import ucar.ma2.Array;
55
import ucar.ma2.DataType;
6+
import ucar.nc2.AttributeContainer;
67
import ucar.nc2.Variable;
78

89
import java.io.IOException;
@@ -13,7 +14,7 @@
1314

1415
public class ThermalNoiseVariableTest {
1516

16-
private static byte[] DATA = {26, 27, 33, 35, 35, 31, 28, 28, 29, 15,
17+
private static final byte[] DATA = {26, 27, 33, 35, 35, 31, 28, 28, 29, 15,
1718
29, 26, 27, 25, 27, 30, 35, 30, 21, 26,
1819
31, 26, 28, 25, 25, 30, 27, 27, 26, 31,
1920
30, 26, 21, 24, 18, 24, 25, 25, 25, 23,
@@ -68,6 +69,5 @@ public void testRead() throws IOException {
6869
assertEquals(31, expandedArray.getShort(10));
6970
assertEquals(25, expandedArray.getShort(14));
7071
assertEquals(25, expandedArray.getShort(24));
71-
7272
}
7373
}

0 commit comments

Comments
 (0)