@Test public void testGetTypeString_typeNull() { final Product product = new Product("Name", "PROD_TYPE", 5, 5); assertEquals("PROD_TYPE", ModisFileReader.getTypeString(null, product)); }
static String getTypeString(String type, Product product) { final String prodType; if (type == null) { prodType = product.getProductType(); } else { prodType = type; } return prodType; }
ModisFileReader { static String getTypeString(String type, Product product) { final String prodType; if (type == null) { prodType = product.getProductType(); } else { prodType = type; } return prodType; } }
ModisFileReader { static String getTypeString(String type, Product product) { final String prodType; if (type == null) { prodType = product.getProductType(); } else { prodType = type; } return prodType; } ModisFileReader(); }
ModisFileReader { static String getTypeString(String type, Product product) { final String prodType; if (type == null) { prodType = product.getProductType(); } else { prodType = type; } return prodType; } ModisFileReader(); void addRastersAndGeoCoding(final Product product, ModisGlobalAttributes globalAttribs, NetCDFVariables netCDFVariables); ModisBandReader getBandReader(final Band band); void close(); }
ModisFileReader { static String getTypeString(String type, Product product) { final String prodType; if (type == null) { prodType = product.getProductType(); } else { prodType = type; } return prodType; } ModisFileReader(); void addRastersAndGeoCoding(final Product product, ModisGlobalAttributes globalAttribs, NetCDFVariables netCDFVariables); ModisBandReader getBandReader(final Band band); void close();  }