From a6890db0a4e20ae795e36a21d259557d05ef690f Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Mon, 15 Apr 2019 23:04:10 -0400 Subject: [PATCH] Remove some dead code --- .../src/main/java/com/moparisthebest/dns/dto/Packet.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/jDnsProxy/src/main/java/com/moparisthebest/dns/dto/Packet.java b/jDnsProxy/src/main/java/com/moparisthebest/dns/dto/Packet.java index 57c6323..ba89b58 100644 --- a/jDnsProxy/src/main/java/com/moparisthebest/dns/dto/Packet.java +++ b/jDnsProxy/src/main/java/com/moparisthebest/dns/dto/Packet.java @@ -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 byte[] copyRaw() { 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 String toString() { ", start=" + getStart() + ", end=" + getEnd() + ", length=" + getLength() + - //", dohBase64=" + getDohBase64() + '}'; } }