From e14a60e8d7f7d6cb1bf4c1c377e8ad2fb5d81bbc Mon Sep 17 00:00:00 2001 From: Patrick Dowler Date: Fri, 10 May 2024 15:08:46 -0700 Subject: [PATCH] revert warn to debug --- caom2-tap/build.gradle | 2 +- .../main/java/ca/nrc/cadc/caom2ops/mapper/PlaneMapper.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/caom2-tap/build.gradle b/caom2-tap/build.gradle index 63d549d..471c75a 100644 --- a/caom2-tap/build.gradle +++ b/caom2-tap/build.gradle @@ -16,7 +16,7 @@ sourceCompatibility = 1.8 group = 'org.opencadc' -version = '1.8.1' +version = '1.8.2' description = 'OpenCADC CAOM2 TAP client library' def git_url = 'https://github.com/opencadc/caom2service' diff --git a/caom2-tap/src/main/java/ca/nrc/cadc/caom2ops/mapper/PlaneMapper.java b/caom2-tap/src/main/java/ca/nrc/cadc/caom2ops/mapper/PlaneMapper.java index 4fee189..4b982b1 100644 --- a/caom2-tap/src/main/java/ca/nrc/cadc/caom2ops/mapper/PlaneMapper.java +++ b/caom2-tap/src/main/java/ca/nrc/cadc/caom2ops/mapper/PlaneMapper.java @@ -169,7 +169,7 @@ public Plane mapRow(List data, DateFormat dateFormat) { if (samplesObject != null) { MultiPolygon mp = new MultiPolygon(); if (samplesObject instanceof ca.nrc.cadc.dali.MultiPolygon) { - log.warn("found ca.nrc.cadc.dali.MultiPolygon"); + log.debug("found ca.nrc.cadc.dali.MultiPolygon"); ca.nrc.cadc.dali.MultiPolygon mpoly = (ca.nrc.cadc.dali.MultiPolygon) samplesObject; for (ca.nrc.cadc.dali.Polygon poly : mpoly.getPolygons()) { SegmentType st = SegmentType.MOVE; @@ -180,7 +180,7 @@ public Plane mapRow(List data, DateFormat dateFormat) { mp.getVertices().add(new Vertex(0, 0, SegmentType.CLOSE)); } } else { - log.warn("found double[] aka old style caom2:multipolygon"); + log.debug("found double[] aka old style caom2:multipolygon"); double[] posBoundsSamples = (double[]) samplesObject; for (int i = 0; i < posBoundsSamples.length; i += 3) { double cv1 = posBoundsSamples[i];