Remove some dead code
This commit is contained in:
parent
58eea2251a
commit
a6890db0a4
@ -1,10 +1,7 @@
|
|||||||
package com.moparisthebest.dns.dto;
|
package com.moparisthebest.dns.dto;
|
||||||
|
|
||||||
import com.moparisthebest.dns.DnsProxy;
|
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Base64;
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
@ -249,11 +246,6 @@ public class Packet extends AbstractBufferWindow {
|
|||||||
return copy;
|
return copy;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDohBase64() {
|
|
||||||
// todo: remove trailing equals, this goes outside limit...
|
|
||||||
return Base64.getUrlEncoder().encodeToString(getBuf().array());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Packet{" +
|
return "Packet{" +
|
||||||
@ -281,7 +273,6 @@ public class Packet extends AbstractBufferWindow {
|
|||||||
", start=" + getStart() +
|
", start=" + getStart() +
|
||||||
", end=" + getEnd() +
|
", end=" + getEnd() +
|
||||||
", length=" + getLength() +
|
", length=" + getLength() +
|
||||||
//", dohBase64=" + getDohBase64() +
|
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user