Skip to content

Commit

Permalink
Move default serializers to separate internal packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
kuujo committed Jul 28, 2015
1 parent b69253e commit bf5383b
Show file tree
Hide file tree
Showing 32 changed files with 41 additions and 30 deletions.
Expand Up @@ -15,6 +15,11 @@
*/
package net.kuujo.copycat.io.serializer;

import net.kuujo.copycat.io.serializer.collection.ListSerializer;
import net.kuujo.copycat.io.serializer.collection.MapSerializer;
import net.kuujo.copycat.io.serializer.collection.SetSerializer;
import net.kuujo.copycat.io.serializer.util.*;

import java.io.Externalizable;
import java.math.BigDecimal;
import java.math.BigInteger;
Expand Down
Expand Up @@ -15,6 +15,8 @@
*/
package net.kuujo.copycat.io.serializer;

import net.kuujo.copycat.io.serializer.lang.*;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
Expand Down
Expand Up @@ -16,6 +16,7 @@
package net.kuujo.copycat.io.serializer;

import net.kuujo.copycat.CopycatException;
import net.kuujo.copycat.io.serializer.util.ExternalizableSerializer;

import java.io.Externalizable;
import java.util.*;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.collection;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.collection;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.collection;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.*;
import net.kuujo.copycat.io.serializer.SerializationException;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.lang;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.util;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.util;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.util;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.util;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
Expand Up @@ -13,9 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.util;

import net.kuujo.copycat.io.*;
import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferObjectInput;
import net.kuujo.copycat.io.BufferObjectOutput;
import net.kuujo.copycat.io.BufferOutput;
import net.kuujo.copycat.io.serializer.SerializationException;
import net.kuujo.copycat.io.serializer.Serializer;
import net.kuujo.copycat.io.serializer.TypeSerializer;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.kuujo.copycat.io.serializer;
package net.kuujo.copycat.io.serializer.util;

import net.kuujo.copycat.io.BufferInput;
import net.kuujo.copycat.io.BufferOutput;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -216,7 +216,7 @@
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<show>public</show>
<excludePackageNames>*.state.*:net.kuujo.copycat.resource:net.kuujo.copycat.manager:net.kuujo.copycat.raft.server.*</excludePackageNames>
<excludePackageNames>*.state.*:net.kuujo.copycat.resource:net.kuujo.copycat.manager:net.kuujo.copycat.raft.server.*:net.kuujo.copycat.io.serializer.*</excludePackageNames>
<reportOutputDirectory>target/docs</reportOutputDirectory>
<additionalparam>-Xdoclint:none</additionalparam>
<aggregate>true</aggregate>
Expand Down

0 comments on commit bf5383b

Please sign in to comment.