Skip to content
Permalink
Browse files

Format code

Closes #32
  • Loading branch information...
ibauersachs committed Sep 2, 2019
1 parent 459f833 commit 92e613b5950bab3f87525b7dd21975ef830af10b
Showing with 32,289 additions and 32,724 deletions.
  1. +2 −6 .editorconfig
  2. +22 −3 pom.xml
  3. +210 −198 src/main/java/dig.java
  4. +656 −631 src/main/java/jnamed.java
  5. +45 −42 src/main/java/lookup.java
  6. +113 −118 src/main/java/org/xbill/DNS/A6Record.java
  7. +69 −73 src/main/java/org/xbill/DNS/AAAARecord.java
  8. +29 −35 src/main/java/org/xbill/DNS/AFSDBRecord.java
  9. +258 −266 src/main/java/org/xbill/DNS/APLRecord.java
  10. +78 −84 src/main/java/org/xbill/DNS/ARecord.java
  11. +446 −409 src/main/java/org/xbill/DNS/Address.java
  12. +90 −101 src/main/java/org/xbill/DNS/CAARecord.java
  13. +38 −43 src/main/java/org/xbill/DNS/CDNSKEYRecord.java
  14. +38 −35 src/main/java/org/xbill/DNS/CDSRecord.java
  15. +191 −214 src/main/java/org/xbill/DNS/CERTRecord.java
  16. +30 −35 src/main/java/org/xbill/DNS/CNAMERecord.java
  17. +820 −839 src/main/java/org/xbill/DNS/Cache.java
  18. +55 −56 src/main/java/org/xbill/DNS/Client.java
  19. +144 −157 src/main/java/org/xbill/DNS/ClientSubnetOption.java
  20. +53 −55 src/main/java/org/xbill/DNS/Compression.java
  21. +24 −28 src/main/java/org/xbill/DNS/Credibility.java
  22. +78 −82 src/main/java/org/xbill/DNS/DClass.java
  23. +48 −57 src/main/java/org/xbill/DNS/DHCIDRecord.java
  24. +103 −123 src/main/java/org/xbill/DNS/DLVRecord.java
  25. +28 −34 src/main/java/org/xbill/DNS/DNAMERecord.java
  26. +203 −224 src/main/java/org/xbill/DNS/DNSInput.java
  27. +86 −94 src/main/java/org/xbill/DNS/DNSKEYRecord.java
  28. +172 −191 src/main/java/org/xbill/DNS/DNSOutput.java
  29. +1,226 −1,211 src/main/java/org/xbill/DNS/DNSSEC.java
  30. +158 −167 src/main/java/org/xbill/DNS/DSRecord.java
  31. +194 −206 src/main/java/org/xbill/DNS/EDNSOption.java
  32. +18 −30 src/main/java/org/xbill/DNS/EmptyRecord.java
  33. +18 −27 src/main/java/org/xbill/DNS/ExtendedFlags.java
  34. +418 −418 src/main/java/org/xbill/DNS/ExtendedResolver.java
  35. +46 −53 src/main/java/org/xbill/DNS/Flags.java
  36. +59 −58 src/main/java/org/xbill/DNS/FormattedTime.java
  37. +149 −172 src/main/java/org/xbill/DNS/GPOSRecord.java
  38. +245 −232 src/main/java/org/xbill/DNS/Generator.java
  39. +31 −37 src/main/java/org/xbill/DNS/GenericEDNSOption.java
  40. +62 −77 src/main/java/org/xbill/DNS/HINFORecord.java
  41. +271 −289 src/main/java/org/xbill/DNS/Header.java
  42. +218 −223 src/main/java/org/xbill/DNS/IPSECKEYRecord.java
  43. +76 −86 src/main/java/org/xbill/DNS/ISDNRecord.java
  44. +3 −6 src/main/java/org/xbill/DNS/InvalidDClassException.java
  45. +3 −6 src/main/java/org/xbill/DNS/InvalidTTLException.java
  46. +3 −6 src/main/java/org/xbill/DNS/InvalidTypeException.java
  47. +130 −150 src/main/java/org/xbill/DNS/KEYBase.java
  48. +300 −311 src/main/java/org/xbill/DNS/KEYRecord.java
  49. +35 −41 src/main/java/org/xbill/DNS/KXRecord.java
  50. +300 −306 src/main/java/org/xbill/DNS/LOCRecord.java
  51. +623 −635 src/main/java/org/xbill/DNS/Lookup.java
  52. +30 −33 src/main/java/org/xbill/DNS/MBRecord.java
  53. +30 −34 src/main/java/org/xbill/DNS/MDRecord.java
  54. +30 −34 src/main/java/org/xbill/DNS/MFRecord.java
  55. +21 −24 src/main/java/org/xbill/DNS/MGRecord.java
  56. +67 −83 src/main/java/org/xbill/DNS/MINFORecord.java
  57. +21 −24 src/main/java/org/xbill/DNS/MRRecord.java
  58. +43 −49 src/main/java/org/xbill/DNS/MXRecord.java
  59. +439 −448 src/main/java/org/xbill/DNS/Master.java
  60. +618 −615 src/main/java/org/xbill/DNS/Message.java
  61. +161 −176 src/main/java/org/xbill/DNS/Mnemonic.java
  62. +139 −149 src/main/java/org/xbill/DNS/NAPTRRecord.java
  63. +87 −97 src/main/java/org/xbill/DNS/NSAPRecord.java
  64. +19 −23 src/main/java/org/xbill/DNS/NSAP_PTRRecord.java
  65. +145 −156 src/main/java/org/xbill/DNS/NSEC3PARAMRecord.java
  66. +244 −255 src/main/java/org/xbill/DNS/NSEC3Record.java
  67. +79 −90 src/main/java/org/xbill/DNS/NSECRecord.java
  68. +14 −15 src/main/java/org/xbill/DNS/NSIDOption.java
  69. +30 −33 src/main/java/org/xbill/DNS/NSRecord.java
  70. +43 −50 src/main/java/org/xbill/DNS/NULLRecord.java
  71. +91 −94 src/main/java/org/xbill/DNS/NXTRecord.java
  72. +861 −853 src/main/java/org/xbill/DNS/Name.java
  73. +7 −12 src/main/java/org/xbill/DNS/NameTooLongException.java
  74. +49 −64 src/main/java/org/xbill/DNS/OPENPGPKEYRecord.java
  75. +172 −188 src/main/java/org/xbill/DNS/OPTRecord.java
  76. +30 −38 src/main/java/org/xbill/DNS/Opcode.java
  77. +104 −111 src/main/java/org/xbill/DNS/Options.java
  78. +21 −24 src/main/java/org/xbill/DNS/PTRRecord.java
  79. +77 −88 src/main/java/org/xbill/DNS/PXRecord.java
  80. +3 −3 src/main/java/org/xbill/DNS/PacketLogger.java
  81. +65 −74 src/main/java/org/xbill/DNS/RPRecord.java
  82. +51 −34 src/main/java/org/xbill/DNS/RRSIGRecord.java
  83. +249 −261 src/main/java/org/xbill/DNS/RRset.java
  84. +31 −37 src/main/java/org/xbill/DNS/RTRecord.java
  85. +77 −85 src/main/java/org/xbill/DNS/Rcode.java
  86. +675 −718 src/main/java/org/xbill/DNS/Record.java
  87. +8 −12 src/main/java/org/xbill/DNS/RelativeNameException.java
  88. +25 −35 src/main/java/org/xbill/DNS/ResolveThread.java
  89. +78 −73 src/main/java/org/xbill/DNS/Resolver.java
  90. +465 −481 src/main/java/org/xbill/DNS/ResolverConfig.java
  91. +15 −15 src/main/java/org/xbill/DNS/ResolverListener.java
  92. +108 −110 src/main/java/org/xbill/DNS/ReverseMap.java
  93. +56 −58 src/main/java/org/xbill/DNS/SIG0.java
  94. +190 −200 src/main/java/org/xbill/DNS/SIGBase.java
  95. +51 −35 src/main/java/org/xbill/DNS/SIGRecord.java
  96. +136 −151 src/main/java/org/xbill/DNS/SMIMEARecord.java
  97. +148 −154 src/main/java/org/xbill/DNS/SOARecord.java
  98. +31 −33 src/main/java/org/xbill/DNS/SPFRecord.java
  99. +94 −108 src/main/java/org/xbill/DNS/SRVRecord.java
  100. +90 −100 src/main/java/org/xbill/DNS/SSHFPRecord.java
  101. +53 −64 src/main/java/org/xbill/DNS/Section.java
  102. +49 −50 src/main/java/org/xbill/DNS/Serial.java
  103. +175 −190 src/main/java/org/xbill/DNS/SetResponse.java
  104. +332 −346 src/main/java/org/xbill/DNS/SimpleResolver.java
  105. +12 −18 src/main/java/org/xbill/DNS/SingleCompressedNameBase.java
  106. +32 −44 src/main/java/org/xbill/DNS/SingleNameBase.java
  107. +125 −120 src/main/java/org/xbill/DNS/TCPClient.java
  108. +214 −218 src/main/java/org/xbill/DNS/TKEYRecord.java
  109. +134 −149 src/main/java/org/xbill/DNS/TLSARecord.java
  110. +653 −639 src/main/java/org/xbill/DNS/TSIG.java
  111. +208 −212 src/main/java/org/xbill/DNS/TSIGRecord.java
  112. +106 −96 src/main/java/org/xbill/DNS/TTL.java
  113. +106 −113 src/main/java/org/xbill/DNS/TXTBase.java
  114. +31 −32 src/main/java/org/xbill/DNS/TXTRecord.java
  115. +7 −11 src/main/java/org/xbill/DNS/TextParseException.java
  116. +689 −686 src/main/java/org/xbill/DNS/Tokenizer.java
  117. +319 −324 src/main/java/org/xbill/DNS/Type.java
  118. +134 −134 src/main/java/org/xbill/DNS/TypeBitmap.java
  119. +62 −67 src/main/java/org/xbill/DNS/U16NameBase.java
  120. +158 −157 src/main/java/org/xbill/DNS/UDPClient.java
  121. +31 −38 src/main/java/org/xbill/DNS/UNKRecord.java
  122. +84 −98 src/main/java/org/xbill/DNS/URIRecord.java
  123. +238 −282 src/main/java/org/xbill/DNS/Update.java
  124. +605 −626 src/main/java/org/xbill/DNS/WKSRecord.java
  125. +11 −16 src/main/java/org/xbill/DNS/WireParseException.java
  126. +59 −68 src/main/java/org/xbill/DNS/X25Record.java
  127. +546 −547 src/main/java/org/xbill/DNS/Zone.java
  128. +6 −10 src/main/java/org/xbill/DNS/ZoneTransferException.java
  129. +600 −640 src/main/java/org/xbill/DNS/ZoneTransferIn.java
  130. +140 −147 src/main/java/org/xbill/DNS/spi/DNSJavaNameService.java
  131. +30 −35 src/main/java/org/xbill/DNS/spi/DNSJavaNameServiceDescriptor.java
  132. +54 −55 src/main/java/org/xbill/DNS/utils/base16.java
  133. +197 −197 src/main/java/org/xbill/DNS/utils/base32.java
  134. +136 −133 src/main/java/org/xbill/DNS/utils/base64.java
  135. +43 −44 src/main/java/org/xbill/DNS/utils/hexdump.java
  136. +688 −701 src/main/java/update.java
  137. +192 −191 src/test/java/org/xbill/DNS/A6RecordTest.java
  138. +97 −104 src/test/java/org/xbill/DNS/AAAARecordTest.java
  139. +27 −30 src/test/java/org/xbill/DNS/AFSDBRecordTest.java
  140. +619 −608 src/test/java/org/xbill/DNS/APLRecordTest.java
  141. +96 −103 src/test/java/org/xbill/DNS/ARecordTest.java
  142. +316 −282 src/test/java/org/xbill/DNS/AddressTest.java
  143. +34 −26 src/test/java/org/xbill/DNS/CAARecordTest.java
  144. +13 −13 src/test/java/org/xbill/DNS/CERTRecordTest.java
  145. +34 −38 src/test/java/org/xbill/DNS/CNAMERecordTest.java
  146. +22 −25 src/test/java/org/xbill/DNS/CompressionTest.java
  147. +34 −38 src/test/java/org/xbill/DNS/DClassTest.java
  148. +33 −33 src/test/java/org/xbill/DNS/DLVRecordTest.java
  149. +34 −38 src/test/java/org/xbill/DNS/DNAMERecordTest.java
  150. +210 −228 src/test/java/org/xbill/DNS/DNSInputTest.java
  151. +64 −63 src/test/java/org/xbill/DNS/DNSKEYRecordTest.java
  152. +185 −209 src/test/java/org/xbill/DNS/DNSOutputTest.java
  153. +42 −42 src/test/java/org/xbill/DNS/DNSSECSIG0Test.java
  154. +104 −54 src/test/java/org/xbill/DNS/DNSSECTest.java
  155. +34 −34 src/test/java/org/xbill/DNS/DNSSECWithBCProviderTest.java
  156. +37 −42 src/test/java/org/xbill/DNS/DNSSECWithProviderTest.java
  157. +184 −152 src/test/java/org/xbill/DNS/DSRecordTest.java
  158. +60 −68 src/test/java/org/xbill/DNS/EmptyRecordTest.java
  159. +70 −80 src/test/java/org/xbill/DNS/ExceptionTest.java
  160. +31 −35 src/test/java/org/xbill/DNS/ExtendedFlagsTest.java
  161. +52 −57 src/test/java/org/xbill/DNS/FlagsTest.java
  162. +35 −40 src/test/java/org/xbill/DNS/FormattedTimeTest.java
  163. +266 −241 src/test/java/org/xbill/DNS/GPOSRecordTest.java
  164. +144 −149 src/test/java/org/xbill/DNS/HINFORecordTest.java
  165. +317 −322 src/test/java/org/xbill/DNS/HeaderTest.java
  166. +58 −48 src/test/java/org/xbill/DNS/IPSECKEYRecordTest.java
  167. +17 −18 src/test/java/org/xbill/DNS/ISDNRecordTest.java
  168. +168 −153 src/test/java/org/xbill/DNS/KEYBaseTest.java
  169. +148 −140 src/test/java/org/xbill/DNS/KEYRecordTest.java
  170. +28 −31 src/test/java/org/xbill/DNS/KXRecordTest.java
  171. +38 −39 src/test/java/org/xbill/DNS/LOCRecordTest.java
  172. +34 −38 src/test/java/org/xbill/DNS/MBRecordTest.java
  173. +34 −38 src/test/java/org/xbill/DNS/MDRecordTest.java
  174. +34 −38 src/test/java/org/xbill/DNS/MFRecordTest.java
  175. +32 −36 src/test/java/org/xbill/DNS/MGRecordTest.java
  176. +19 −20 src/test/java/org/xbill/DNS/MINFORecordTest.java
  177. +32 −36 src/test/java/org/xbill/DNS/MRRecordTest.java
  178. +57 −63 src/test/java/org/xbill/DNS/MXRecordTest.java
  179. +152 −139 src/test/java/org/xbill/DNS/MasterTest.java
  180. +73 −83 src/test/java/org/xbill/DNS/MessageTest.java
  181. +204 −204 src/test/java/org/xbill/DNS/MnemonicTest.java
  182. +14 −16 src/test/java/org/xbill/DNS/NAPTRRecordTest.java
  183. +11 −11 src/test/java/org/xbill/DNS/NSAPRecordTest.java
  184. +40 −46 src/test/java/org/xbill/DNS/NSAP_PTRRecordTest.java
  185. +12 −12 src/test/java/org/xbill/DNS/NSEC3PARAMRecordTest.java
  186. +21 −15 src/test/java/org/xbill/DNS/NSEC3RecordTest.java
  187. +11 −11 src/test/java/org/xbill/DNS/NSECRecordTest.java
  188. +34 −38 src/test/java/org/xbill/DNS/NSRecordTest.java
  189. +11 −8 src/test/java/org/xbill/DNS/NULLRecordTest.java
  190. +11 −12 src/test/java/org/xbill/DNS/NXTRecordTest.java
  191. +1,302 −975 src/test/java/org/xbill/DNS/NameTest.java
  192. +10 −11 src/test/java/org/xbill/DNS/OPENPGPKEYRecordTest.java
  193. +44 −41 src/test/java/org/xbill/DNS/OPTRecordTest.java
  194. +31 −35 src/test/java/org/xbill/DNS/OpcodeTest.java
  195. +116 −124 src/test/java/org/xbill/DNS/OptionsTest.java
  196. +11 −13 src/test/java/org/xbill/DNS/PXRecordTest.java
  197. +10 −11 src/test/java/org/xbill/DNS/RPRecordTest.java
  198. +18 −17 src/test/java/org/xbill/DNS/RRSIGRecordTest.java
  199. +264 −262 src/test/java/org/xbill/DNS/RRsetTest.java
  200. +27 −30 src/test/java/org/xbill/DNS/RTRecordTest.java
  201. +59 −64 src/test/java/org/xbill/DNS/RcodeTest.java
  202. +788 −819 src/test/java/org/xbill/DNS/RecordTest.java
  203. +65 −69 src/test/java/org/xbill/DNS/ResolverConfigTest.java
  204. +50 −51 src/test/java/org/xbill/DNS/ReverseMapTest.java
  205. +15 −14 src/test/java/org/xbill/DNS/SMIMEARecordTest.java
  206. +509 −359 src/test/java/org/xbill/DNS/SOARecordTest.java
  207. +10 −11 src/test/java/org/xbill/DNS/SPFRecordTest.java
  208. +13 −14 src/test/java/org/xbill/DNS/SRVRecordTest.java
  209. +13 −13 src/test/java/org/xbill/DNS/SSHFPRecordTest.java
  210. +49 −43 src/test/java/org/xbill/DNS/SectionTest.java
  211. +83 −97 src/test/java/org/xbill/DNS/SerialTest.java
  212. +211 −220 src/test/java/org/xbill/DNS/SetResponseTest.java
  213. +64 −70 src/test/java/org/xbill/DNS/SingleCompressedNameBaseTest.java
  214. +111 −117 src/test/java/org/xbill/DNS/SingleNameBaseTest.java
  215. +11 −8 src/test/java/org/xbill/DNS/TKEYRecordTest.java
  216. +14 −14 src/test/java/org/xbill/DNS/TLSARecordTest.java
  217. +70 −74 src/test/java/org/xbill/DNS/TSIGTest.java
  218. +79 −85 src/test/java/org/xbill/DNS/TTLTest.java
  219. +450 −470 src/test/java/org/xbill/DNS/TokenizerTest.java
  220. +24 −24 src/test/java/org/xbill/DNS/TypeBitmapTest.java
  221. +35 −41 src/test/java/org/xbill/DNS/TypeTest.java
  222. +183 −157 src/test/java/org/xbill/DNS/U16NameBaseTest.java
  223. +133 −111 src/test/java/org/xbill/DNS/URIRecordTest.java
  224. +15 −15 src/test/java/org/xbill/DNS/WKSRecordTest.java
  225. +9 −10 src/test/java/org/xbill/DNS/X25RecordTest.java
  226. +52 −51 src/test/java/org/xbill/DNS/apps/primary.java
  227. +103 −93 src/test/java/org/xbill/DNS/apps/xfrin.java
  228. +67 −77 src/test/java/org/xbill/DNS/utils/base16Test.java
  229. +245 −282 src/test/java/org/xbill/DNS/utils/base64Test.java
  230. +147 −170 src/test/java/org/xbill/DNS/utils/hexdumpTest.java
@@ -1,16 +1,12 @@
root = true

[*]
indent_style = tab
indent_size = 8
indent_style = space
indent_size = 2
insert_final_newline = true
charset = utf-8
end_of_line = lf

[*.yml]
indent_style = space
indent_size = 2

[{pom.xml,*.md}]
indent_style = space
indent_size = 4
25 pom.xml
@@ -9,7 +9,11 @@
<packaging>bundle</packaging>
<version>3.0.0-SNAPSHOT</version>
<name>dnsjava</name>
<description>dnsjava is an implementation of DNS in Java. It supports all defined record types (including the DNSSEC types), and unknown types. It can be used for queries, zone transfers, and dynamic updates. It includes a cache which can be used by clients, and a minimal implementation of a server. It supports TSIG authenticated messages, partial DNSSEC verification, and EDNS0. </description>
<description>dnsjava is an implementation of DNS in Java. It supports all defined record types (including the DNSSEC
types), and unknown types. It can be used for queries, zone transfers, and dynamic updates. It includes a cache
which can be used by clients, and a minimal implementation of a server. It supports TSIG authenticated messages,
partial DNSSEC verification, and EDNS0.
</description>
<url>http://www.dnsjava.org</url>
<organization>
<name>dnsjava.org</name>
@@ -92,7 +96,9 @@
!org.xbill.DNS*,!sun.*,android.os;resolution:=optional,*
</Import-Package>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.8</Bundle-RequiredExecutionEnvironment>
<Bundle-License>BSD-2-Clause;link="https://raw.githubusercontent.com/dnsjava/dnsjava/master/LICENSE"</Bundle-License>
<Bundle-License>
BSD-2-Clause;link="https://raw.githubusercontent.com/dnsjava/dnsjava/master/LICENSE"
</Bundle-License>
<_removeheaders>Bnd-*, Tool, Require-Capability</_removeheaders>
<Include-Resource>
{maven-resources},
@@ -174,6 +180,19 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.9</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

@@ -230,7 +249,7 @@
</configuration>
</plugin>
</plugins>

<resources>
<resource>
<directory>src/main/resources</directory>

0 comments on commit 92e613b

Please sign in to comment.
You can’t perform that action at this time.