Merge pull request #121 from veebs/MasterEasyMockTidyUp

Removed compile warnings as displayed in Eclipse
This commit is contained in:
Vibul Imtarnasan 2011-12-14 18:27:52 -08:00
commit 5398a5274a
8 changed files with 1 additions and 10 deletions

View File

@ -27,7 +27,7 @@ import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.easymock.classextension.EasyMock;
import org.easymock.EasyMock;
import org.junit.Test;
/**

View File

@ -84,15 +84,12 @@ public class NettyTestUtils {
return false;
}
int position = 0;
while (expected.readable()) {
byte expectedByte = expected.readByte();
byte actualByte = actual.readByte();
if (expectedByte != actualByte) {
return false;
}
position ++;
}
return true;

View File

@ -16,7 +16,6 @@
package io.netty.handler.codec.serialization;
import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;
import static org.junit.Assert.*;
import java.io.InputStream;

View File

@ -16,7 +16,6 @@
package io.netty.logging;
import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;
import static org.junit.Assert.*;
import org.junit.After;

View File

@ -16,7 +16,6 @@
package io.netty.logging;
import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;
import static org.junit.Assert.*;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
package io.netty.logging;
import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;
import static org.junit.Assert.*;
import java.util.logging.Level;

View File

@ -16,7 +16,6 @@
package io.netty.logging;
import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;
import static org.junit.Assert.*;
import org.junit.Test;

View File

@ -16,7 +16,6 @@
package io.netty.util.internal;
import static org.easymock.EasyMock.*;
import static org.easymock.classextension.EasyMock.*;
import static org.junit.Assert.*;
import io.netty.buffer.ChannelBuffer;