From c904d1953c5a9eb1bc3c8a285f9e487c90f92313 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Tue, 30 Nov 2021 11:07:41 -0500 Subject: [PATCH] USRE-87 Change the package name for common jar --- .idea/compiler.xml | 2 ++ .idea/encodings.xml | 1 + README.md | 1 + .../ossez/usreio/common}/util/AttributeExtracter.java | 2 +- .../rets => com/ossez/usreio/common}/util/Base64Encoder.java | 2 +- .../ossez/usreio/common}/util/Base64FormatException.java | 2 +- .../ossez/usreio/common}/util/CompactFormatData.java | 2 +- .../rets => com/ossez/usreio/common}/util/CompactParser.java | 2 +- .../rets => com/ossez/usreio/common}/util/DesCrypter.java | 3 +-- .../rets => com/ossez/usreio/common}/util/DigestUtil.java | 2 +- .../rets => com/ossez/usreio/common}/util/HexUtils.java | 2 +- .../realtor/rets => com/ossez/usreio/common}/util/MD5Util.java | 2 +- .../ossez/usreio/common}/util/PropertiesLocator.java | 2 +- .../ossez/usreio/common}/util/PropertiesNotFoundException.java | 2 +- .../ossez/usreio/common}/util/RETSCompactHandler.java | 2 +- .../ossez/usreio/common}/util/RETSConfigurator.java | 2 +- .../rets => com/ossez/usreio/common}/util/RETSReplyCodes.java | 2 +- .../ossez/usreio/common}/util/RETSRequestResponse.java | 2 +- .../rets => com/ossez/usreio/common}/util/Resource.java | 2 +- .../rets => com/ossez/usreio/common}/util/ResourceLocator.java | 2 +- .../rets => com/ossez/usreio/common}/util/XMLUtils.java | 2 +- 21 files changed, 22 insertions(+), 19 deletions(-) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/AttributeExtracter.java (97%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/Base64Encoder.java (99%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/Base64FormatException.java (92%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/CompactFormatData.java (99%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/CompactParser.java (99%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/DesCrypter.java (97%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/DigestUtil.java (99%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/HexUtils.java (98%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/MD5Util.java (97%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/PropertiesLocator.java (96%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/PropertiesNotFoundException.java (92%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/RETSCompactHandler.java (99%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/RETSConfigurator.java (94%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/RETSReplyCodes.java (96%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/RETSRequestResponse.java (97%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/Resource.java (99%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/ResourceLocator.java (97%) rename src/main/java/{org/realtor/rets => com/ossez/usreio/common}/util/XMLUtils.java (99%) diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 33797a0..9b45dbc 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -7,9 +7,11 @@ + + diff --git a/.idea/encodings.xml b/.idea/encodings.xml index 63e9001..aa00ffa 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/README.md b/README.md index ee37ab5..e9c9b72 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ # rets-io-common + diff --git a/src/main/java/org/realtor/rets/util/AttributeExtracter.java b/src/main/java/com/ossez/usreio/common/util/AttributeExtracter.java similarity index 97% rename from src/main/java/org/realtor/rets/util/AttributeExtracter.java rename to src/main/java/com/ossez/usreio/common/util/AttributeExtracter.java index 8a20d03..4eacba4 100644 --- a/src/main/java/org/realtor/rets/util/AttributeExtracter.java +++ b/src/main/java/com/ossez/usreio/common/util/AttributeExtracter.java @@ -3,7 +3,7 @@ * * Created on October 28, 2002, 3:50 PM */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import org.xml.sax.Attributes; import org.xml.sax.SAXException; diff --git a/src/main/java/org/realtor/rets/util/Base64Encoder.java b/src/main/java/com/ossez/usreio/common/util/Base64Encoder.java similarity index 99% rename from src/main/java/org/realtor/rets/util/Base64Encoder.java rename to src/main/java/com/ossez/usreio/common/util/Base64Encoder.java index 2e8898a..d37dfa3 100644 --- a/src/main/java/org/realtor/rets/util/Base64Encoder.java +++ b/src/main/java/com/ossez/usreio/common/util/Base64Encoder.java @@ -2,7 +2,7 @@ // $Id: Base64Encoder.java,v 1.2 2003/12/04 15:27:03 rsegelman Exp $ // (c) COPYRIGHT MIT and INRIA, 1996. // Please first read the full copyright statement in file COPYRIGHT.html -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; diff --git a/src/main/java/org/realtor/rets/util/Base64FormatException.java b/src/main/java/com/ossez/usreio/common/util/Base64FormatException.java similarity index 92% rename from src/main/java/org/realtor/rets/util/Base64FormatException.java rename to src/main/java/com/ossez/usreio/common/util/Base64FormatException.java index 14ad978..3d04580 100644 --- a/src/main/java/org/realtor/rets/util/Base64FormatException.java +++ b/src/main/java/com/ossez/usreio/common/util/Base64FormatException.java @@ -2,7 +2,7 @@ // $Id: Base64FormatException.java,v 1.2 2003/12/04 15:27:03 rsegelman Exp $ // (c) COPYRIGHT MIT and INRIA, 1996. // Please first read the full copyright statement in file COPYRIGHT.html -package org.realtor.rets.util; +package com.ossez.usreio.common.util; /** diff --git a/src/main/java/org/realtor/rets/util/CompactFormatData.java b/src/main/java/com/ossez/usreio/common/util/CompactFormatData.java similarity index 99% rename from src/main/java/org/realtor/rets/util/CompactFormatData.java rename to src/main/java/com/ossez/usreio/common/util/CompactFormatData.java index fd33f2e..8256bbf 100644 --- a/src/main/java/org/realtor/rets/util/CompactFormatData.java +++ b/src/main/java/com/ossez/usreio/common/util/CompactFormatData.java @@ -1,6 +1,6 @@ /* $Header: /usr/local/cvsroot/rets/commons/src/main/java/org/realtor/rets/util/CompactFormatData.java,v 1.2 2005/05/26 17:43:55 ekovach Exp $ */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.io.*; import java.util.ArrayList; diff --git a/src/main/java/org/realtor/rets/util/CompactParser.java b/src/main/java/com/ossez/usreio/common/util/CompactParser.java similarity index 99% rename from src/main/java/org/realtor/rets/util/CompactParser.java rename to src/main/java/com/ossez/usreio/common/util/CompactParser.java index e343e35..c97fcec 100644 --- a/src/main/java/org/realtor/rets/util/CompactParser.java +++ b/src/main/java/com/ossez/usreio/common/util/CompactParser.java @@ -1,5 +1,5 @@ /* $Header: /usr/local/cvsroot/rets/commons/src/main/java/org/realtor/rets/util/CompactParser.java,v 1.2 2003/12/04 15:27:03 rsegelman Exp $ */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.util.ArrayList; import java.util.Collections; diff --git a/src/main/java/org/realtor/rets/util/DesCrypter.java b/src/main/java/com/ossez/usreio/common/util/DesCrypter.java similarity index 97% rename from src/main/java/org/realtor/rets/util/DesCrypter.java rename to src/main/java/com/ossez/usreio/common/util/DesCrypter.java index d4a7004..41448d8 100644 --- a/src/main/java/org/realtor/rets/util/DesCrypter.java +++ b/src/main/java/com/ossez/usreio/common/util/DesCrypter.java @@ -1,4 +1,4 @@ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import org.slf4j.Logger; @@ -6,7 +6,6 @@ import org.slf4j.LoggerFactory; import java.io.UnsupportedEncodingException; -import java.security.Security; import java.util.Base64; import javax.crypto.Cipher; diff --git a/src/main/java/org/realtor/rets/util/DigestUtil.java b/src/main/java/com/ossez/usreio/common/util/DigestUtil.java similarity index 99% rename from src/main/java/org/realtor/rets/util/DigestUtil.java rename to src/main/java/com/ossez/usreio/common/util/DigestUtil.java index b4c89c9..826a1c1 100644 --- a/src/main/java/org/realtor/rets/util/DigestUtil.java +++ b/src/main/java/com/ossez/usreio/common/util/DigestUtil.java @@ -3,7 +3,7 @@ * * Created on October 4, 2002 */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import org.slf4j.Logger; diff --git a/src/main/java/org/realtor/rets/util/HexUtils.java b/src/main/java/com/ossez/usreio/common/util/HexUtils.java similarity index 98% rename from src/main/java/org/realtor/rets/util/HexUtils.java rename to src/main/java/com/ossez/usreio/common/util/HexUtils.java index 679b001..8d6846d 100644 --- a/src/main/java/org/realtor/rets/util/HexUtils.java +++ b/src/main/java/com/ossez/usreio/common/util/HexUtils.java @@ -1,4 +1,4 @@ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.io.*; diff --git a/src/main/java/org/realtor/rets/util/MD5Util.java b/src/main/java/com/ossez/usreio/common/util/MD5Util.java similarity index 97% rename from src/main/java/org/realtor/rets/util/MD5Util.java rename to src/main/java/com/ossez/usreio/common/util/MD5Util.java index 6403822..acefb3f 100644 --- a/src/main/java/org/realtor/rets/util/MD5Util.java +++ b/src/main/java/com/ossez/usreio/common/util/MD5Util.java @@ -3,7 +3,7 @@ * * Created on November 21, 2001, 9:54 AM */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.security.*; diff --git a/src/main/java/org/realtor/rets/util/PropertiesLocator.java b/src/main/java/com/ossez/usreio/common/util/PropertiesLocator.java similarity index 96% rename from src/main/java/org/realtor/rets/util/PropertiesLocator.java rename to src/main/java/com/ossez/usreio/common/util/PropertiesLocator.java index 6a327b5..0a106ca 100644 --- a/src/main/java/org/realtor/rets/util/PropertiesLocator.java +++ b/src/main/java/com/ossez/usreio/common/util/PropertiesLocator.java @@ -1,5 +1,5 @@ /* $Header: /usr/local/cvsroot/rets/commons/src/main/java/org/realtor/rets/util/PropertiesLocator.java,v 1.2 2003/12/04 15:27:03 rsegelman Exp $ */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.io.IOException; diff --git a/src/main/java/org/realtor/rets/util/PropertiesNotFoundException.java b/src/main/java/com/ossez/usreio/common/util/PropertiesNotFoundException.java similarity index 92% rename from src/main/java/org/realtor/rets/util/PropertiesNotFoundException.java rename to src/main/java/com/ossez/usreio/common/util/PropertiesNotFoundException.java index feec890..83dc842 100644 --- a/src/main/java/org/realtor/rets/util/PropertiesNotFoundException.java +++ b/src/main/java/com/ossez/usreio/common/util/PropertiesNotFoundException.java @@ -1,5 +1,5 @@ /* $Header: /usr/local/cvsroot/rets/commons/src/main/java/org/realtor/rets/util/PropertiesNotFoundException.java,v 1.2 2003/12/04 15:27:03 rsegelman Exp $ */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; /** diff --git a/src/main/java/org/realtor/rets/util/RETSCompactHandler.java b/src/main/java/com/ossez/usreio/common/util/RETSCompactHandler.java similarity index 99% rename from src/main/java/org/realtor/rets/util/RETSCompactHandler.java rename to src/main/java/com/ossez/usreio/common/util/RETSCompactHandler.java index be9e572..eadf1cc 100644 --- a/src/main/java/org/realtor/rets/util/RETSCompactHandler.java +++ b/src/main/java/com/ossez/usreio/common/util/RETSCompactHandler.java @@ -3,7 +3,7 @@ * * Created on October 2, 2002, 8:45 AM */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import org.xml.sax.*; import org.xml.sax.helpers.*; diff --git a/src/main/java/org/realtor/rets/util/RETSConfigurator.java b/src/main/java/com/ossez/usreio/common/util/RETSConfigurator.java similarity index 94% rename from src/main/java/org/realtor/rets/util/RETSConfigurator.java rename to src/main/java/com/ossez/usreio/common/util/RETSConfigurator.java index 360054c..02c27e1 100644 --- a/src/main/java/org/realtor/rets/util/RETSConfigurator.java +++ b/src/main/java/com/ossez/usreio/common/util/RETSConfigurator.java @@ -1,5 +1,5 @@ // $Header: /usr/local/cvsroot/rets/commons/src/main/java/org/realtor/rets/util/RETSConfigurator.java,v 1.2 2003/12/04 15:27:03 rsegelman Exp $ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; diff --git a/src/main/java/org/realtor/rets/util/RETSReplyCodes.java b/src/main/java/com/ossez/usreio/common/util/RETSReplyCodes.java similarity index 96% rename from src/main/java/org/realtor/rets/util/RETSReplyCodes.java rename to src/main/java/com/ossez/usreio/common/util/RETSReplyCodes.java index 8b80313..edea16f 100644 --- a/src/main/java/org/realtor/rets/util/RETSReplyCodes.java +++ b/src/main/java/com/ossez/usreio/common/util/RETSReplyCodes.java @@ -1,5 +1,5 @@ // $Header: /usr/local/cvsroot/rets/commons/src/main/java/org/realtor/rets/util/RETSReplyCodes.java,v 1.4 2005/04/06 12:44:06 ekovach Exp $ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import org.slf4j.Logger; diff --git a/src/main/java/org/realtor/rets/util/RETSRequestResponse.java b/src/main/java/com/ossez/usreio/common/util/RETSRequestResponse.java similarity index 97% rename from src/main/java/org/realtor/rets/util/RETSRequestResponse.java rename to src/main/java/com/ossez/usreio/common/util/RETSRequestResponse.java index 3b55267..8299f34 100644 --- a/src/main/java/org/realtor/rets/util/RETSRequestResponse.java +++ b/src/main/java/com/ossez/usreio/common/util/RETSRequestResponse.java @@ -4,7 +4,7 @@ * @author jbrush * @version */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import org.slf4j.Logger; diff --git a/src/main/java/org/realtor/rets/util/Resource.java b/src/main/java/com/ossez/usreio/common/util/Resource.java similarity index 99% rename from src/main/java/org/realtor/rets/util/Resource.java rename to src/main/java/com/ossez/usreio/common/util/Resource.java index 70b371f..4656889 100644 --- a/src/main/java/org/realtor/rets/util/Resource.java +++ b/src/main/java/com/ossez/usreio/common/util/Resource.java @@ -1,4 +1,4 @@ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.io.*; diff --git a/src/main/java/org/realtor/rets/util/ResourceLocator.java b/src/main/java/com/ossez/usreio/common/util/ResourceLocator.java similarity index 97% rename from src/main/java/org/realtor/rets/util/ResourceLocator.java rename to src/main/java/com/ossez/usreio/common/util/ResourceLocator.java index b357b0b..3a7696e 100644 --- a/src/main/java/org/realtor/rets/util/ResourceLocator.java +++ b/src/main/java/com/ossez/usreio/common/util/ResourceLocator.java @@ -16,7 +16,7 @@ ******************************************************************************* */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.util.HashMap; import java.util.Map; diff --git a/src/main/java/org/realtor/rets/util/XMLUtils.java b/src/main/java/com/ossez/usreio/common/util/XMLUtils.java similarity index 99% rename from src/main/java/org/realtor/rets/util/XMLUtils.java rename to src/main/java/com/ossez/usreio/common/util/XMLUtils.java index 804ed89..9524885 100644 --- a/src/main/java/org/realtor/rets/util/XMLUtils.java +++ b/src/main/java/com/ossez/usreio/common/util/XMLUtils.java @@ -3,7 +3,7 @@ * * Created on December 6, 2001, 1:21 PM */ -package org.realtor.rets.util; +package com.ossez.usreio.common.util; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream;