Merge pull request #121 from veebs/MasterEasyMockTidyUp
Removed compile warnings as displayed in Eclipse
This commit is contained in:
commit
5398a5274a
@ -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;
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user