if (extensions != null) {
for (Object any : extensions.getAny()) {
if (any instanceof JAXBElement) {
Object anyValue = ((JAXBElement) any).getValue();
if (anyValue instanceof TrackPointExtensionT) {
TrackPointExtensionT trackPoint = (TrackPointExtensionT) anyValue;
result = formatDouble(trackPoint.getCourse());
}
} else if (any instanceof Element) {
Element element = (Element) any;
if ("course".equals(element.getLocalName()))