Commit Graph

6 Commits

Author SHA1 Message Date
Rene Treffer 4da60e7e20 Simplify cache and extend cache operations.
Remove the external cache dependency and use a simple LRU based on
LinkedHashMap.
Make it possible to get the parse time of DNSMessage, which means we
can evaluate the TTL later on :-)
2014-06-12 22:39:51 +02:00
Florian Schmaus 7dd8cfc6e6 Add Cache to minidns 2014-06-12 09:52:41 +02:00
Florian Schmaus 52807fe7c4 Log IOException 2014-06-08 13:57:50 +02:00
Florian Schmaus 315648382e Remove printStackTrace() calls
it's hard to assign those an app in the Android log. Better to use JUL.
2014-06-08 13:54:51 +02:00
Florian Schmaus defe519101 Close DatagramSocket using try-with-resources 2014-06-08 13:33:14 +02:00
Florian Schmaus 3236432c39 Make minidns Android agnostic
there is really no need for minidns to be Android exclusive. Replacing
the Android log API with JUL make minidns available for Android and Java
SE.
2014-06-08 13:27:25 +02:00