Sentinel2Utils { public static String filterUselessZeros(final String integer) { logger.debug("(filterUselessZeros)(integer:" + integer + ")|start"); final String result = new Integer(Integer.parseInt(integer)).toString(); logger.debug("(filterUselessZeros) return:" + result + "|end"); return result; } private  Sentinel2Utils(); static String xYZpoints2GML(final String pointsString); static String xYZpoints2JTS(final String pointsString); static String xYPoints2GML(final String pointsString); static String xYPoints2JTS(final String pointsString); static String getEndPositionByStart(final String startTime); static String getSatelliteByProductName(final String productName); static String filterUselessZeros(final String integer); static String getAbsoluteOrbitFromDatatakeFilename(
         final String datatakeFileName); static String getFormattedTimeString(final String rawTimeString); static String formatNumber(double value); static final String DATE_TIME_FORMAT; static final long SENSING_TIME; }
@Test public void testFilterUselessZeros() throws Exception { final String integer = "000065"; final String expected = "65"; final String result = Sentinel2Utils.filterUselessZeros(integer); Assert.assertEquals(expected, result); }