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;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import org.easymock.classextension.EasyMock;
|
import org.easymock.EasyMock;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -84,15 +84,12 @@ public class NettyTestUtils {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int position = 0;
|
|
||||||
while (expected.readable()) {
|
while (expected.readable()) {
|
||||||
byte expectedByte = expected.readByte();
|
byte expectedByte = expected.readByte();
|
||||||
byte actualByte = actual.readByte();
|
byte actualByte = actual.readByte();
|
||||||
if (expectedByte != actualByte) {
|
if (expectedByte != actualByte) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
position ++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
package io.netty.handler.codec.serialization;
|
package io.netty.handler.codec.serialization;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.easymock.classextension.EasyMock.*;
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
package io.netty.logging;
|
package io.netty.logging;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.easymock.classextension.EasyMock.*;
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
package io.netty.logging;
|
package io.netty.logging;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.easymock.classextension.EasyMock.*;
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
package io.netty.logging;
|
package io.netty.logging;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.easymock.classextension.EasyMock.*;
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
package io.netty.logging;
|
package io.netty.logging;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.easymock.classextension.EasyMock.*;
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
package io.netty.util.internal;
|
package io.netty.util.internal;
|
||||||
|
|
||||||
import static org.easymock.EasyMock.*;
|
import static org.easymock.EasyMock.*;
|
||||||
import static org.easymock.classextension.EasyMock.*;
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
import io.netty.buffer.ChannelBuffer;
|
import io.netty.buffer.ChannelBuffer;
|
||||||
|
Loading…
Reference in New Issue
Block a user