Omaha #4343 Fix merge issues caused by Util->RcmUtil rename.
Change-Id: Id0d2778594875886ef13a4754786a3486051d3fa Former-commit-id: 189311e801b8c507b5ccb1121da5511665d74d28
This commit is contained in:
parent
c9ca91f628
commit
8583f14fb2
2 changed files with 20 additions and 16 deletions
|
@ -48,7 +48,7 @@ import org.itadaki.bzip2.BZip2InputStream;
|
|||
import com.raytheon.rcm.config.EndpointConfig;
|
||||
import com.raytheon.rcm.config.RadarConfig;
|
||||
import com.raytheon.rcm.config.RadarType;
|
||||
import com.raytheon.rcm.config.Util;
|
||||
import com.raytheon.rcm.config.RcmUtil;
|
||||
import com.raytheon.rcm.config.awips1.Awips1ProdDistInfoBuilder;
|
||||
import com.raytheon.rcm.event.ConfigEvent;
|
||||
import com.raytheon.rcm.event.ConfigEvent.Category;
|
||||
|
@ -59,8 +59,8 @@ import com.raytheon.rcm.message.GraphicProduct.PDB;
|
|||
import com.raytheon.rcm.message.Message;
|
||||
import com.raytheon.rcm.message.MessageFormatException;
|
||||
import com.raytheon.rcm.products.ProductInfo;
|
||||
import com.raytheon.rcm.products.RadarProduct;
|
||||
import com.raytheon.rcm.products.ProductInfo.Selector;
|
||||
import com.raytheon.rcm.products.RadarProduct;
|
||||
import com.raytheon.rcm.products.RadarProduct.Param;
|
||||
import com.raytheon.rcm.server.Log;
|
||||
import com.raytheon.rcm.server.RadarServer;
|
||||
|
@ -76,6 +76,7 @@ import com.raytheon.rcm.server.RadarServer;
|
|||
* ...
|
||||
* 2014-02-03 DR 14762 D. Friedman Refactor config events.
|
||||
* 2015-07-13 DR 17672 D. Friedman Only decompress products documented to support compression
|
||||
* 2015-07-20 4343 nabowle Util is now RcmUtil.
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
|
@ -672,8 +673,8 @@ public class DataArchiveEndpoint extends RadarEventAdapter {
|
|||
try {
|
||||
|
||||
int code = Message.messageCodeOf(msg);
|
||||
RadarType radarType = radarConfig != null ?
|
||||
Util.getRadarType(radarConfig) : null;
|
||||
RadarType radarType = radarConfig != null ? RcmUtil
|
||||
.getRadarType(radarConfig) : null;
|
||||
RadarProduct rp = ProductInfo.getInstance().selectOne(
|
||||
new Selector(radarType, null, code, null));
|
||||
if (rp != null && rp.compressionAllowed && !noDecompressList.contains(code)) {
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.itadaki.bzip2.BZip2InputStream;
|
|||
|
||||
import com.raytheon.rcm.config.RadarConfig;
|
||||
import com.raytheon.rcm.config.RadarType;
|
||||
import com.raytheon.rcm.config.Util;
|
||||
import com.raytheon.rcm.config.RcmUtil;
|
||||
import com.raytheon.rcm.event.ConfigEvent;
|
||||
import com.raytheon.rcm.event.ConfigEvent.Category;
|
||||
import com.raytheon.rcm.event.RadarEvent;
|
||||
|
@ -45,10 +45,12 @@ import com.raytheon.rcm.products.ProductInfo.Selector;
|
|||
import com.raytheon.rcm.products.RadarProduct;
|
||||
|
||||
/**
|
||||
* <p>A radar server component that delivers radar products to an EDEX file
|
||||
* <p>
|
||||
* A radar server component that delivers radar products to an EDEX file
|
||||
* endpoint.
|
||||
*
|
||||
* <p>This class is obsoleted by DataArchiveEndpoint.
|
||||
* <p>
|
||||
* This class is obsoleted by DataArchiveEndpoint.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -58,6 +60,7 @@ import com.raytheon.rcm.products.RadarProduct;
|
|||
* ...
|
||||
* 2014-02-03 DR 14762 D. Friedman Refactor config events.
|
||||
* 2015-07-13 DR 17672 D. Friedman Only decompress products documented to support compression
|
||||
* 2015-07-20 4343 nabowle Util is now RcmUtil.
|
||||
* </pre>
|
||||
*/
|
||||
public class Awips2Endpoint extends RadarEventAdapter {
|
||||
|
@ -185,8 +188,8 @@ public class Awips2Endpoint extends RadarEventAdapter {
|
|||
try {
|
||||
|
||||
int code = Message.messageCodeOf(msg);
|
||||
RadarType radarType = radarConfig != null ?
|
||||
Util.getRadarType(radarConfig) : null;
|
||||
RadarType radarType = radarConfig != null ? RcmUtil
|
||||
.getRadarType(radarConfig) : null;
|
||||
RadarProduct rp = ProductInfo.getInstance().selectOne(
|
||||
new Selector(radarType, null, code, null));
|
||||
if (rp != null && rp.compressionAllowed) {
|
||||
|
|
Loading…
Add table
Reference in a new issue