Skip to content

Commit

Permalink
Remove some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
moparisthebest committed Apr 16, 2019
1 parent 58eea22 commit a6890db
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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{" +
Expand Down Expand Up @@ -281,7 +273,6 @@ public String toString() {
", start=" + getStart() +
", end=" + getEnd() +
", length=" + getLength() +
//", dohBase64=" + getDohBase64() +
'}';
}
}

0 comments on commit a6890db

Please sign in to comment.