Skip to content

Commit

Permalink
Formatted source.
Browse files Browse the repository at this point in the history
Updated to minlog-1.1.
  • Loading branch information
NathanSweet committed Sep 30, 2009
1 parent 38c44f5 commit 230da58
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<classpathentry excluding="**/.svn/*" kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="build/junit-4.6.jar"/>
<classpathentry exported="true" kind="lib" path="lib/minlog-1.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/minlog-1.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Binary file removed lib/minlog-1.0.jar
Binary file not shown.
Binary file added lib/minlog-1.1.jar
Binary file not shown.
1 change: 0 additions & 1 deletion src/com/esotericsoftware/kryo/Serializer.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.lang.reflect.Constructor;
import java.nio.ByteBuffer;
import java.util.concurrent.atomic.AtomicInteger;

/**
* Serializes objects to and from a {@link ByteBuffer}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.io.OutputStream;
import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.SerializationException;
import com.esotericsoftware.kryo.Serializer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

// BOZO - Optimize?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.nio.ByteBuffer;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

package com.esotericsoftware.kryo.compress;

import static com.esotericsoftware.minlog.Log.*;
import static com.esotericsoftware.minlog.Log.LEVEL_TRACE;

import java.nio.ByteBuffer;

import junit.framework.TestCase;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.serialize.StringSerializer;
import com.esotericsoftware.minlog.Log;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import junit.framework.TestCase;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.serialize.StringSerializer;
import com.esotericsoftware.minlog.Log;
Expand Down
2 changes: 0 additions & 2 deletions test/com/esotericsoftware/kryo/compress/DeltaTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

import junit.framework.TestCase;

import com.esotericsoftware.kryo.compress.Delta;

public class DeltaTest extends TestCase {
private ByteBuffer oldData, newData;
private Delta delta = new Delta();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import junit.framework.TestCase;

import com.esotericsoftware.kryo.Context;
import com.esotericsoftware.kryo.Serializer;
import com.esotericsoftware.kryo.serialize.StringSerializer;
import com.esotericsoftware.minlog.Log;
Expand Down
4 changes: 2 additions & 2 deletions test/com/esotericsoftware/kryo/serialize/SerializerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public void testFieldSerializer () {
serializer.removeField(TestClass.class, "optional");
value.optional = 123;
kryo.register(TestClass.class, serializer);

TestClass value2 = roundTrip(serializer, 35, value);
assertEquals(0, value2.optional);

Expand All @@ -209,7 +209,7 @@ static public class NonNullTestClass {
static public class StringTestClass {
public String text = "something";
}

static public class TestClass {
public String text = "something";
public String nullField;
Expand Down

0 comments on commit 230da58

Please sign in to comment.