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