forked from I2P_Developers/i2p.i2p
Router tests: Remove or supporess deprecation warnings
Remove cast warnings Fix RouterAddress.setExpiration() to match javadoc, used only by tests
This commit is contained in:
@ -22,8 +22,8 @@ import net.i2p.data.TunnelId;
|
||||
public class DeliveryInstructionsTest extends StructureTest {
|
||||
public DataStructure createDataStructure() throws DataFormatException {
|
||||
DeliveryInstructions instructions = new DeliveryInstructions();
|
||||
instructions.setDelayRequested(true);
|
||||
instructions.setDelaySeconds(42);
|
||||
//instructions.setDelayRequested(true);
|
||||
//instructions.setDelaySeconds(42);
|
||||
instructions.setDeliveryMode(DeliveryInstructions.DELIVERY_MODE_TUNNEL);
|
||||
// encryption key read/write disabled
|
||||
//instructions.setEncrypted(true);
|
||||
|
Reference in New Issue
Block a user