PMD Results
The following document contains the results of PMD 7.26.0.
Violations By Priority
Priority 3
junixsocket-common - org/newsclub/net/unix/AFAddressFamily.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 150–152 |
junixsocket-common - org/newsclub/net/unix/AFCore.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 92–94 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 130–132 |
| EmptyControlStatement | Empty if statement | 400–404 |
junixsocket-common - org/newsclub/net/unix/AFDatagramSocket.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty if statement | 259–261 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 259–261 |
| EmptyCatchBlock | Avoid empty catch blocks | 263–265 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 276–278 |
| EmptyCatchBlock | Avoid empty catch blocks | 287–289 |
| EmptyControlStatement | Empty if statement | 291–295 |
| EmptyControlStatement | Empty if statement | 310–315 |
| EmptyCatchBlock | Avoid empty catch blocks | 359–361 |
junixsocket-common - org/newsclub/net/unix/AFDatagramSocketImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 546–548 |
| EmptyCatchBlock | Avoid empty catch blocks | 552–554 |
junixsocket-common - org/newsclub/net/unix/AFGenericSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 194–196 |
junixsocket-common - org/newsclub/net/unix/AFSYSTEMSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 306–308 |
junixsocket-common - org/newsclub/net/unix/AFSelector.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty else statement | 353–355 |
| EmptyCatchBlock | Avoid empty catch blocks | 378–381 |
junixsocket-common - org/newsclub/net/unix/AFServerSocket.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 527–529 |
junixsocket-common - org/newsclub/net/unix/AFSocket.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 500–502 |
junixsocket-common - org/newsclub/net/unix/AFSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 421–432 |
junixsocket-common - org/newsclub/net/unix/AFSocketCore.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 146–148 |
junixsocket-common - org/newsclub/net/unix/AFSocketImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 116–118 |
| EmptyCatchBlock | Avoid empty catch blocks | 138–140 |
| EmptyCatchBlock | Avoid empty catch blocks | 144–146 |
| EmptyCatchBlock | Avoid empty catch blocks | 147–149 |
| EmptyCatchBlock | Avoid empty catch blocks | 154–156 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 275–278 |
| EmptyCatchBlock | Avoid empty catch blocks | 333–335 |
| EmptyCatchBlock | Avoid empty catch blocks | 339–341 |
| EmptyCatchBlock | Avoid empty catch blocks | 434–436 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 560–563 |
| EmptyCatchBlock | Avoid empty catch blocks | 1209–1211 |
| EmptyCatchBlock | Avoid empty catch blocks | 1214–1216 |
| EmptyCatchBlock | Avoid empty catch blocks | 1229–1231 |
junixsocket-common - org/newsclub/net/unix/AFTIPCSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 677–679 |
junixsocket-common - org/newsclub/net/unix/AFUNIXSocket.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 258 |
junixsocket-common - org/newsclub/net/unix/AFUNIXSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty if statement | 443–447 |
junixsocket-common - org/newsclub/net/unix/AFVSOCKSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 391–393 |
junixsocket-common - org/newsclub/net/unix/AncillaryDataSupport.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 89 |
| EmptyCatchBlock | Avoid empty catch blocks | 134–136 |
| EmptyCatchBlock | Avoid empty catch blocks | 201–203 |
junixsocket-common - org/newsclub/net/unix/HostAndPort.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 216–218 |
junixsocket-common - org/newsclub/net/unix/InterruptibleChannelUtil.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 58–61 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 116–118 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 128–130 |
junixsocket-common - org/newsclub/net/unix/MapValueSet.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 169–171 |
junixsocket-common - org/newsclub/net/unix/NativeLibraryLoader.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 281–283 |
| EmptyCatchBlock | Avoid empty catch blocks | 394–396 |
junixsocket-common - org/newsclub/net/unix/NativeUnixSocket.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 160–163 |
| EmptyCatchBlock | Avoid empty catch blocks | 206–208 |
junixsocket-common - org/newsclub/net/unix/RAFChannelProvider.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty if statement | 60–62 |
| EmptyControlStatement | Empty if statement | 89–91 |
| EmptyCatchBlock | Avoid empty catch blocks | 104–106 |
junixsocket-common - org/newsclub/net/unix/VirtualThreadPollerNaive.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 100–103 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 155–157 |
junixsocket-common - org/newsclub/net/unix/pool/ConcurrentQueueObjectPool.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty if statement | 88–96 |
| EmptyControlStatement | Empty if statement | 90–96 |
junixsocket-demo - org/newsclub/net/unix/demo/SimpleTestServer.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty if statement | 141–147 |
junixsocket-demo - org/newsclub/net/unix/demo/server/ChargenServer.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'os'. | 65 |
junixsocket-demo - org/newsclub/net/unix/demo/server/NullServer.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty while statement | 45–47 |
junixsocket-demo - org/newsclub/net/unix/demo/server/SendFileHandleServer.java
| Rule | Violation | Line |
|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'is'. | 55 |
junixsocket-demo - org/newsclub/net/unix/demo/ssl/SSLDemoPrerequisites.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryModifier | Unnecessary modifier 'final' on method 'runCommand': private methods cannot be overridden | 109 |
junixsocket-memory - org/newsclub/net/unix/memory/Futex32.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 61–63 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 115–117 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFNaming.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 286–288 |
| EmptyCatchBlock | Avoid empty catch blocks | 324–326 |
| EmptyCatchBlock | Avoid empty catch blocks | 333–335 |
| EmptyCatchBlock | Avoid empty catch blocks | 342–344 |
| EmptyCatchBlock | Avoid empty catch blocks | 356–358 |
| EmptyCatchBlock | Avoid empty catch blocks | 473–475 |
| EmptyCatchBlock | Avoid empty catch blocks | 504–506 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRMIServiceImpl.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 105–107 |
| EmptyCatchBlock | Avoid empty catch blocks | 159–161 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRMISocketFactory.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 105–107 |
| EmptyCatchBlock | Avoid empty catch blocks | 221–223 |
| EmptyCatchBlock | Avoid empty catch blocks | 310–312 |
| EmptyCatchBlock | Avoid empty catch blocks | 336–338 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRegistry.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 213–215 |
| EmptyCatchBlock | Avoid empty catch blocks | 225–227 |
| EmptyCatchBlock | Avoid empty catch blocks | 234–236 |
| EmptyCatchBlock | Avoid empty catch blocks | 238–240 |
| UnnecessaryReturn | Unnecessary return statement | 258 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFUNIXNaming.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 246–251 |
| EmptyCatchBlock | Avoid empty catch blocks | 264–266 |
| EmptyCatchBlock | Avoid empty catch blocks | 275–277 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFUNIXRMISocketFactory.java
| Rule | Violation | Line |
|---|---|---|
| EmptyControlStatement | Empty if statement | 203–205 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemoteFileDescriptorBase.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 129–131 |
| EmptyControlStatement | Empty if statement | 136–140 |
| EmptyCatchBlock | Avoid empty catch blocks | 151–153 |
| EmptyCatchBlock | Avoid empty catch blocks | 206–208 |
| EmptyCatchBlock | Avoid empty catch blocks | 263–265 |
| EmptyCatchBlock | Avoid empty catch blocks | 272–274 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 281–283 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemotePeerInfo.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 133–135 |
junixsocket-rmi - org/newsclub/net/unix/rmi/ShutdownHookSupport.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 106–108 |
junixsocket-selftest - org/newsclub/net/unix/selftest/Selftest.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 334–339 |
junixsocket-selftest - org/newsclub/net/unix/selftest/apps/ZeroServer.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 86–88 |
junixsocket-server - org/newsclub/net/unix/server/SocketServer.java
| Rule | Violation | Line |
|---|---|---|
| UselessQualifiedThis | Useless qualified this usage in the same class. | 233 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 354 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 355 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 421 |
| EmptyCatchBlock | Avoid empty catch blocks | 466–468 |
junixsocket-ssl - org/newsclub/net/unix/ssl/BuilderSSLSocket.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 70–73 |
| EmptyCatchBlock | Avoid empty catch blocks | 86–89 |
junixsocket-vsock - org/newsclub/net/unix/vsock/AFVSOCKProxySocketConnector.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 124–126 |
Priority 4
junixsocket-common - org/newsclub/net/unix/AFAddressFamily.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFAddressFamily': 'triggerInit' is already in scope | 127 |
junixsocket-common - org/newsclub/net/unix/AFDatagramChannel.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 154 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 171 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 188 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 214 |
junixsocket-common - org/newsclub/net/unix/AFGenericSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `addr instanceof AFGenericSocketAddress`. | 154 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFGenericSocketAddress': 'of' is already in scope | 174 |
junixsocket-common - org/newsclub/net/unix/AFPipe.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 90 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 134 |
junixsocket-common - org/newsclub/net/unix/AFSYSTEMSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `addr instanceof AFSYSTEMSocketAddress`. | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocketAddress': 'of' is already in scope | 286 |
junixsocket-common - org/newsclub/net/unix/AFSelector.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `rops == 0`. | 254 |
junixsocket-common - org/newsclub/net/unix/AFServerSocket.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `(Boolean) getAFImpl().getOption(SocketOptions.S...`. | 641 |
| UselessParentheses | Useless parentheses around `getAFImpl().getOption(SocketOptions.SO_REUSEADDR)`. | 641 |
junixsocket-common - org/newsclub/net/unix/AFServerSocketChannel.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 123 |
junixsocket-common - org/newsclub/net/unix/AFSocket.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `AFSocketCapability.CAPABILITY_FD_AS_REDIRECT.ge...`. | 396 |
| UselessParentheses | Useless parentheses around `cap.getBitmask()`. | 401 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 458 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 599 |
junixsocket-common - org/newsclub/net/unix/AFSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'newSockAddrDirectBuffer' is already in scope | 81 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'craftSerializedObject' is already in scope | 201 |
| UselessParentheses | Useless parentheses around `port >= 0 && port <= 0xffff ? port : 0`. | 202–203 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'unwrap' is already in scope | 382 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 596 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'mapOrFail' is already in scope | 682 |
| UselessParentheses | Useless parentheses around `nativeAddress.get(SOCKADDR_NATIVE_FAMILY_OFFSET...`. | 868 |
| UselessParentheses | Useless parentheses around `targetAddressClass.isAssignableFrom(afAddr.getC...`. | 1035 |
junixsocket-common - org/newsclub/net/unix/AFSocketChannel.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 215 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 242 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 269 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 304 |
junixsocket-common - org/newsclub/net/unix/AFSocketImpl.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 545 |
| UselessParentheses | Useless parentheses around `core.isBlocking() ? 0 : NativeUnixSocket.OPT_NO...`. | 662 |
| UselessParentheses | Useless parentheses around `core.isBlocking() ? 0 : NativeUnixSocket.OPT_NO...`. | 856 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1081 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 1093 |
| UselessParentheses | Useless parentheses around `NativeUnixSocket.getSocketOptionInt(fdesc, optI...`. | 1095 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1100 |
| UselessParentheses | Useless parentheses around `NativeUnixSocket.getSocketOptionInt(fdesc, optI...`. | 1101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 1102 |
| UselessParentheses | Useless parentheses around `acceptTimeout == null ? 0 : acceptTimeout.get()`. | 1109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 1110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 1111 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 1112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 1114 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_BINDADDR' is already in scope because it is inherited by an enclosing type | 1116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1118 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1139 |
| UselessParentheses | Useless parentheses around `expectBoolean(value) != 0`. | 1140 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1160 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1181 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 1193 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 1205 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 1222 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 1223 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 1226 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1233 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 1236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1239 |
| UselessParentheses | Useless parentheses around `SHUT_RD`. | 1271 |
| UselessParentheses | Useless parentheses around `SHUT_RD_WR`. | 1284 |
junixsocket-common - org/newsclub/net/unix/AFTIPCSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `i & 0xFFFFFFFFL`. | 204 |
| UselessParentheses | Useless parentheses around `addr instanceof AFTIPCSocketAddress`. | 626 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocketAddress': 'of' is already in scope | 657 |
junixsocket-common - org/newsclub/net/unix/AFUNIXSocket.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 170 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocket': 'isSupported' is already in scope | 185 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 190 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 193 |
junixsocket-common - org/newsclub/net/unix/AFUNIXSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 70 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'ofNewTempFile' is already in scope | 90 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 392 |
| UselessParentheses | Useless parentheses around `(AFUNIXSocketAddress) addr`. | 538 |
junixsocket-common - org/newsclub/net/unix/AFVSOCKSocketAddress.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `addr instanceof AFVSOCKSocketAddress`. | 342 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocketAddress': 'of' is already in scope | 371 |
| UselessParentheses | Useless parentheses around `port = getVSOCKPort()`. | 515 |
| UselessParentheses | Useless parentheses around `cid = getVSOCKCID()`. | 528 |
junixsocket-common - org/newsclub/net/unix/NativeLibraryLoader.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"Dalvik".equals(vmName) || vmSpecVendor.contain...`. | 518 |
junixsocket-common - org/newsclub/net/unix/NativeUnixSocket.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_GENERIC' is already in scope because it is declared in an enclosing type | 135 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_UNIX' is already in scope because it is declared in an enclosing type | 137 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_TIPC' is already in scope because it is declared in an enclosing type | 139 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_VSOCK' is already in scope because it is declared in an enclosing type | 141 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_SYSTEM' is already in scope because it is declared in an enclosing type | 143 |
junixsocket-darwin - org/newsclub/net/unix/darwin/system/AFSYSTEMSocket.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 73 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocket': 'isSupported' is already in scope | 139 |
junixsocket-darwin - org/newsclub/net/unix/darwin/system/IPUtil.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `sum & ~0xFFFF`. | 114 |
junixsocket-demo - org/newsclub/net/unix/demo/nanohttpd/NanoHttpdServerDemo.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NanoHTTPD': 'SOCKET_READ_TIMEOUT' is already in scope because it is inherited by an enclosing type | 72 |
junixsocket-demo - org/newsclub/net/unix/demo/server/ChargenServer.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `32 + (offset + i) % 95`. | 100 |
| UselessParentheses | Useless parentheses around `lastPrintableCharacter + 1`. | 142 |
| UselessParentheses | Useless parentheses around `32 + (offset + i) % numPrintableCharacters`. | 155 |
junixsocket-demo - org/newsclub/net/unix/demo/server/DemoServerBase.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `secs`. | 51 |
junixsocket-demo - org/newsclub/net/unix/demo/ssl/SSLDemoPrerequisites.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"keytool -exportcert -alias juxserver -keystore...`. | 169 |
| UselessParentheses | Useless parentheses around `"keytool -exportcert -alias juxclient -keystore...`. | 184 |
junixsocket-memory - org/newsclub/net/unix/memory/SharedMemory.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 73 |
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 74–75 |
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 77 |
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 78–79 |
junixsocket-mysql - org/newsclub/net/mysql/AFUNIXDatabaseSocketFactoryCJ.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `this.rawSocket = socket`. | 72 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRegistry.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `impl instanceof RemoteServer`. | 99 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFUNIXRMISocketFactory.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `getNaming().getRegistryPort() == RMIPorts.PLAIN...`. | 188 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemoteFileInput.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'MAGIC_VALUE_MASK' is already in scope because it is inherited by an enclosing type | 56 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_READABLE' is already in scope because it is inherited by an enclosing type | 57 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_READABLE' is already in scope because it is inherited by an enclosing type | 68 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemoteFileOutput.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'MAGIC_VALUE_MASK' is already in scope because it is inherited by an enclosing type | 53 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_WRITABLE' is already in scope because it is inherited by an enclosing type | 54 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_WRITABLE' is already in scope because it is inherited by an enclosing type | 65 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemotePeerInfo.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `data.socketFactory`. | 128 |
| UselessParentheses | Useless parentheses around `(AFUNIXRMISocketFactory) data.socketFactory`. | 129 |
| UselessParentheses | Useless parentheses around `data.socketFactory`. | 129 |
junixsocket-rmi - org/newsclub/net/unix/rmi/ShutdownHookSupport.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `"true".equals(System.getProperty("org.newsclub....`. | 32–33 |
junixsocket-selftest - org/newsclub/net/unix/selftest/Selftest.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'UNDECLARED' is already in scope because it is declared in an enclosing type | 130 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'SKIP_FORCE' is already in scope because it is declared in an enclosing type | 132 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'SKIP_AUTO' is already in scope because it is declared in an enclosing type | 134 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'SKIP' is already in scope because it is declared in an enclosing type | 136 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'KEEP' is already in scope because it is declared in an enclosing type | 136 |
| UselessParentheses | Useless parentheses around `summary.getTestsSucceededCount() + res.getNumAb...`. | 671 |
| UselessParentheses | Useless parentheses around `read > 0 && buf[read - 1] == '\n'`. | 875 |
junixsocket-server - org/newsclub/net/unix/server/SocketServer.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `listenThread != null && listenThread.isAlive()`. | 196 |
| UselessParentheses | Useless parentheses around `System.currentTimeMillis() - timeStart`. | 273 |
| UselessParentheses | Useless parentheses around `this.timeoutFuture = TIMEOUTS.schedule(new Call...`. | 492–502 |
junixsocket-tipc - org/newsclub/net/unix/tipc/AFTIPCSocket.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 72 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocket': 'isSupported' is already in scope | 140 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocket': 'getNodeIdentity' is already in scope | 172 |
junixsocket-vsock - org/newsclub/net/unix/vsock/AFVSOCKSocket.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 71 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocket': 'isSupported' is already in scope | 153 |
Files
junixsocket-common - org/newsclub/net/unix/AFAddressFamily.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFAddressFamily': 'triggerInit' is already in scope | 4 | 127 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 150–152 |
junixsocket-common - org/newsclub/net/unix/AFCore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 92–94 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 130–132 |
| EmptyControlStatement | Empty if statement | 3 | 400–404 |
junixsocket-common - org/newsclub/net/unix/AFDatagramChannel.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 154 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 171 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 188 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 214 |
junixsocket-common - org/newsclub/net/unix/AFDatagramSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyControlStatement | Empty if statement | 3 | 259–261 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 259–261 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 263–265 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 276–278 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 287–289 |
| EmptyControlStatement | Empty if statement | 3 | 291–295 |
| EmptyControlStatement | Empty if statement | 3 | 310–315 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 359–361 |
junixsocket-common - org/newsclub/net/unix/AFDatagramSocketImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 546–548 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 552–554 |
junixsocket-common - org/newsclub/net/unix/AFGenericSocketAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `addr instanceof AFGenericSocketAddress`. | 4 | 154 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFGenericSocketAddress': 'of' is already in scope | 4 | 174 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 194–196 |
junixsocket-common - org/newsclub/net/unix/AFPipe.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 4 | 90 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 4 | 134 |
junixsocket-common - org/newsclub/net/unix/AFSYSTEMSocketAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `addr instanceof AFSYSTEMSocketAddress`. | 4 | 252 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocketAddress': 'of' is already in scope | 4 | 286 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 306–308 |
junixsocket-common - org/newsclub/net/unix/AFSelector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `rops == 0`. | 4 | 254 |
| EmptyControlStatement | Empty else statement | 3 | 353–355 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 378–381 |
junixsocket-common - org/newsclub/net/unix/AFServerSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 527–529 |
| UselessParentheses | Useless parentheses around `(Boolean) getAFImpl().getOption(SocketOptions.S...`. | 4 | 641 |
| UselessParentheses | Useless parentheses around `getAFImpl().getOption(SocketOptions.SO_REUSEADDR)`. | 4 | 641 |
junixsocket-common - org/newsclub/net/unix/AFServerSocketChannel.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 123 |
junixsocket-common - org/newsclub/net/unix/AFSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `AFSocketCapability.CAPABILITY_FD_AS_REDIRECT.ge...`. | 4 | 396 |
| UselessParentheses | Useless parentheses around `cap.getBitmask()`. | 4 | 401 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 458 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 500–502 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 599 |
junixsocket-common - org/newsclub/net/unix/AFSocketAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'newSockAddrDirectBuffer' is already in scope | 4 | 81 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'craftSerializedObject' is already in scope | 4 | 201 |
| UselessParentheses | Useless parentheses around `port >= 0 && port <= 0xffff ? port : 0`. | 4 | 202–203 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'unwrap' is already in scope | 4 | 382 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 421–432 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 4 | 596 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'mapOrFail' is already in scope | 4 | 682 |
| UselessParentheses | Useless parentheses around `nativeAddress.get(SOCKADDR_NATIVE_FAMILY_OFFSET...`. | 4 | 868 |
| UselessParentheses | Useless parentheses around `targetAddressClass.isAssignableFrom(afAddr.getC...`. | 4 | 1035 |
junixsocket-common - org/newsclub/net/unix/AFSocketChannel.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 215 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 242 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 269 |
| UselessParentheses | Useless parentheses around `exception = InterruptibleChannelUtil.handleExce...`. | 4 | 304 |
junixsocket-common - org/newsclub/net/unix/AFSocketCore.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 146–148 |
junixsocket-common - org/newsclub/net/unix/AFSocketImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 116–118 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 138–140 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 144–146 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 147–149 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 154–156 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 275–278 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 333–335 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 339–341 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 434–436 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 545 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 560–563 |
| UselessParentheses | Useless parentheses around `core.isBlocking() ? 0 : NativeUnixSocket.OPT_NO...`. | 4 | 662 |
| UselessParentheses | Useless parentheses around `core.isBlocking() ? 0 : NativeUnixSocket.OPT_NO...`. | 4 | 856 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1081 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 1093 |
| UselessParentheses | Useless parentheses around `NativeUnixSocket.getSocketOptionInt(fdesc, optI...`. | 4 | 1095 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1100 |
| UselessParentheses | Useless parentheses around `NativeUnixSocket.getSocketOptionInt(fdesc, optI...`. | 4 | 1101 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 1102 |
| UselessParentheses | Useless parentheses around `acceptTimeout == null ? 0 : acceptTimeout.get()`. | 4 | 1109 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 4 | 1110 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 4 | 1111 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 4 | 1112 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 4 | 1114 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_BINDADDR' is already in scope because it is inherited by an enclosing type | 4 | 1116 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1118 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1139 |
| UselessParentheses | Useless parentheses around `expectBoolean(value) != 0`. | 4 | 1140 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1160 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1181 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 4 | 1193 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 1205 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1209–1211 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1214–1216 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 4 | 1222 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 4 | 1223 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 1226 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 1229–1231 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1233 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 4 | 1236 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1239 |
| UselessParentheses | Useless parentheses around `SHUT_RD`. | 4 | 1271 |
| UselessParentheses | Useless parentheses around `SHUT_RD_WR`. | 4 | 1284 |
junixsocket-common - org/newsclub/net/unix/AFTIPCSocketAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `i & 0xFFFFFFFFL`. | 4 | 204 |
| UselessParentheses | Useless parentheses around `addr instanceof AFTIPCSocketAddress`. | 4 | 626 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocketAddress': 'of' is already in scope | 4 | 657 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 677–679 |
junixsocket-common - org/newsclub/net/unix/AFUNIXSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 170 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocket': 'isSupported' is already in scope | 4 | 185 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 190 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 193 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 258 |
junixsocket-common - org/newsclub/net/unix/AFUNIXSocketAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 4 | 70 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'ofNewTempFile' is already in scope | 4 | 90 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 4 | 191 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 4 | 392 |
| EmptyControlStatement | Empty if statement | 3 | 443–447 |
| UselessParentheses | Useless parentheses around `(AFUNIXSocketAddress) addr`. | 4 | 538 |
junixsocket-common - org/newsclub/net/unix/AFVSOCKSocketAddress.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `addr instanceof AFVSOCKSocketAddress`. | 4 | 342 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocketAddress': 'of' is already in scope | 4 | 371 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 391–393 |
| UselessParentheses | Useless parentheses around `port = getVSOCKPort()`. | 4 | 515 |
| UselessParentheses | Useless parentheses around `cid = getVSOCKCID()`. | 4 | 528 |
junixsocket-common - org/newsclub/net/unix/AncillaryDataSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 3 | 89 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 134–136 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 201–203 |
junixsocket-common - org/newsclub/net/unix/HostAndPort.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 216–218 |
junixsocket-common - org/newsclub/net/unix/InterruptibleChannelUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 58–61 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 116–118 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 128–130 |
junixsocket-common - org/newsclub/net/unix/MapValueSet.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 169–171 |
junixsocket-common - org/newsclub/net/unix/NativeLibraryLoader.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 281–283 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 394–396 |
| UselessParentheses | Useless parentheses around `"Dalvik".equals(vmName) || vmSpecVendor.contain...`. | 4 | 518 |
junixsocket-common - org/newsclub/net/unix/NativeUnixSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_GENERIC' is already in scope because it is declared in an enclosing type | 4 | 135 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_UNIX' is already in scope because it is declared in an enclosing type | 4 | 137 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_TIPC' is already in scope because it is declared in an enclosing type | 4 | 139 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_VSOCK' is already in scope because it is declared in an enclosing type | 4 | 141 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_SYSTEM' is already in scope because it is declared in an enclosing type | 4 | 143 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 160–163 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 206–208 |
junixsocket-common - org/newsclub/net/unix/RAFChannelProvider.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyControlStatement | Empty if statement | 3 | 60–62 |
| EmptyControlStatement | Empty if statement | 3 | 89–91 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 104–106 |
junixsocket-common - org/newsclub/net/unix/VirtualThreadPollerNaive.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 100–103 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 155–157 |
junixsocket-common - org/newsclub/net/unix/pool/ConcurrentQueueObjectPool.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyControlStatement | Empty if statement | 3 | 88–96 |
| EmptyControlStatement | Empty if statement | 3 | 90–96 |
junixsocket-darwin - org/newsclub/net/unix/darwin/system/AFSYSTEMSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 73 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocket': 'isSupported' is already in scope | 4 | 139 |
junixsocket-darwin - org/newsclub/net/unix/darwin/system/IPUtil.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `sum & ~0xFFFF`. | 4 | 114 |
junixsocket-demo - org/newsclub/net/unix/demo/SimpleTestServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyControlStatement | Empty if statement | 3 | 141–147 |
junixsocket-demo - org/newsclub/net/unix/demo/nanohttpd/NanoHttpdServerDemo.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NanoHTTPD': 'SOCKET_READ_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 72 |
junixsocket-demo - org/newsclub/net/unix/demo/server/ChargenServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'os'. | 3 | 65 |
| UselessParentheses | Useless parentheses around `32 + (offset + i) % 95`. | 4 | 100 |
| UselessParentheses | Useless parentheses around `lastPrintableCharacter + 1`. | 4 | 142 |
| UselessParentheses | Useless parentheses around `32 + (offset + i) % numPrintableCharacters`. | 4 | 155 |
junixsocket-demo - org/newsclub/net/unix/demo/server/DemoServerBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `secs`. | 4 | 51 |
junixsocket-demo - org/newsclub/net/unix/demo/server/NullServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyControlStatement | Empty while statement | 3 | 45–47 |
junixsocket-demo - org/newsclub/net/unix/demo/server/SendFileHandleServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnusedLocalVariable | Avoid unused local variables such as 'is'. | 3 | 55 |
junixsocket-demo - org/newsclub/net/unix/demo/ssl/SSLDemoPrerequisites.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryModifier | Unnecessary modifier 'final' on method 'runCommand': private methods cannot be overridden | 3 | 109 |
| UselessParentheses | Useless parentheses around `"keytool -exportcert -alias juxserver -keystore...`. | 4 | 169 |
| UselessParentheses | Useless parentheses around `"keytool -exportcert -alias juxclient -keystore...`. | 4 | 184 |
junixsocket-memory - org/newsclub/net/unix/memory/Futex32.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 61–63 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 115–117 |
junixsocket-memory - org/newsclub/net/unix/memory/SharedMemory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 4 | 73 |
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 4 | 74–75 |
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 4 | 77 |
| UselessParentheses | Useless parentheses around `MemoryImplUtilInternal.MMODE_READ | MemoryImplU...`. | 4 | 78–79 |
junixsocket-mysql - org/newsclub/net/mysql/AFUNIXDatabaseSocketFactoryCJ.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `this.rawSocket = socket`. | 4 | 72 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFNaming.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 286–288 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 324–326 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 333–335 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 342–344 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 356–358 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 473–475 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 504–506 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRMIServiceImpl.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 105–107 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 159–161 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRMISocketFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 105–107 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 221–223 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 310–312 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 336–338 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFRegistry.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `impl instanceof RemoteServer`. | 4 | 99 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 213–215 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 225–227 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 234–236 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 238–240 |
| UnnecessaryReturn | Unnecessary return statement | 3 | 258 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFUNIXNaming.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 246–251 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 264–266 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 275–277 |
junixsocket-rmi - org/newsclub/net/unix/rmi/AFUNIXRMISocketFactory.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `getNaming().getRegistryPort() == RMIPorts.PLAIN...`. | 4 | 188 |
| EmptyControlStatement | Empty if statement | 3 | 203–205 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemoteFileDescriptorBase.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 129–131 |
| EmptyControlStatement | Empty if statement | 3 | 136–140 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 151–153 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 206–208 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 263–265 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 272–274 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 281–283 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemoteFileInput.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'MAGIC_VALUE_MASK' is already in scope because it is inherited by an enclosing type | 4 | 56 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_READABLE' is already in scope because it is inherited by an enclosing type | 4 | 57 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_READABLE' is already in scope because it is inherited by an enclosing type | 4 | 68 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemoteFileOutput.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'MAGIC_VALUE_MASK' is already in scope because it is inherited by an enclosing type | 4 | 53 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_WRITABLE' is already in scope because it is inherited by an enclosing type | 4 | 54 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'RemoteFileDescriptorBase': 'BIT_WRITABLE' is already in scope because it is inherited by an enclosing type | 4 | 65 |
junixsocket-rmi - org/newsclub/net/unix/rmi/RemotePeerInfo.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `data.socketFactory`. | 4 | 128 |
| UselessParentheses | Useless parentheses around `(AFUNIXRMISocketFactory) data.socketFactory`. | 4 | 129 |
| UselessParentheses | Useless parentheses around `data.socketFactory`. | 4 | 129 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 133–135 |
junixsocket-rmi - org/newsclub/net/unix/rmi/ShutdownHookSupport.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `"true".equals(System.getProperty("org.newsclub....`. | 4 | 32–33 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 106–108 |
junixsocket-selftest - org/newsclub/net/unix/selftest/Selftest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'UNDECLARED' is already in scope because it is declared in an enclosing type | 4 | 130 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'SKIP_FORCE' is already in scope because it is declared in an enclosing type | 4 | 132 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'SKIP_AUTO' is already in scope because it is declared in an enclosing type | 4 | 134 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'SKIP' is already in scope because it is declared in an enclosing type | 4 | 136 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SkipMode': 'KEEP' is already in scope because it is declared in an enclosing type | 4 | 136 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 334–339 |
| UselessParentheses | Useless parentheses around `summary.getTestsSucceededCount() + res.getNumAb...`. | 4 | 671 |
| UselessParentheses | Useless parentheses around `read > 0 && buf[read - 1] == '\n'`. | 4 | 875 |
junixsocket-selftest - org/newsclub/net/unix/selftest/apps/ZeroServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 86–88 |
junixsocket-server - org/newsclub/net/unix/server/SocketServer.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `listenThread != null && listenThread.isAlive()`. | 4 | 196 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 233 |
| UselessParentheses | Useless parentheses around `System.currentTimeMillis() - timeStart`. | 4 | 273 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 354 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 355 |
| UselessQualifiedThis | Useless qualified this usage in the same class. | 3 | 421 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 466–468 |
| UselessParentheses | Useless parentheses around `this.timeoutFuture = TIMEOUTS.schedule(new Call...`. | 4 | 492–502 |
junixsocket-ssl - org/newsclub/net/unix/ssl/BuilderSSLSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 70–73 |
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 86–89 |
junixsocket-tipc - org/newsclub/net/unix/tipc/AFTIPCSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 72 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocket': 'isSupported' is already in scope | 4 | 140 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocket': 'getNodeIdentity' is already in scope | 4 | 172 |
junixsocket-vsock - org/newsclub/net/unix/vsock/AFVSOCKProxySocketConnector.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 124–126 |
junixsocket-vsock - org/newsclub/net/unix/vsock/AFVSOCKSocket.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 71 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocket': 'isSupported' is already in scope | 4 | 153 |
Suppressed Violations
| Filename | Rule message | Suppression type | Reason |
|---|---|---|---|
| org/newsclub/net/unix/AFAddressFamily.java | Avoid empty catch blocks | //nopmd | .AvoidCatchingGenericException |
| org/newsclub/net/unix/AFCore.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFCore.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFDatagramSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFDatagramSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFGenericSocket.java | Avoid unused private methods such as 'getStaticImplExtensions()'. | @suppresswarnings | |
| org/newsclub/net/unix/AFSelector.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFServerSocketChannel.java | Unnecessary qualifier 'Objects': 'requireNonNull' is already in scope | @suppresswarnings | |
| org/newsclub/net/unix/AFSocketChannel.java | Unnecessary qualifier 'Objects': 'requireNonNull' is already in scope | @suppresswarnings | |
| org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
| org/newsclub/net/unix/AFUNIXSocketCredentials.java | Do not call pure method getClientHost if the result is not used. | //nopmd | .UselessPureMethodCall |
| org/newsclub/net/unix/AFVSOCKSocketImplExtensions.java | Avoid unused private fields such as 'ancillaryDataSupport'. | @suppresswarnings | |
| org/newsclub/net/unix/NativeLibraryLoader.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop |
| org/newsclub/net/unix/NativeUnixSocket.java | Avoid integer literals that start with zero (interpreted as octal), remove the leading 0 to get a decimal literal (or use explicit 0x, 0b prefixes) | //nopmd | .AvoidUsingOctalValues |
| org/newsclub/net/unix/NativeUnixSocket.java | Avoid integer literals that start with zero (interpreted as octal), remove the leading 0 to get a decimal literal (or use explicit 0x, 0b prefixes) | //nopmd | .AvoidUsingOctalValues |
| org/newsclub/net/unix/NativeUnixSocket.java | Avoid integer literals that start with zero (interpreted as octal), remove the leading 0 to get a decimal literal (or use explicit 0x, 0b prefixes) | //nopmd | .AvoidUsingOctalValues |
| org/newsclub/net/unix/NativeUnixSocket.java | Avoid integer literals that start with zero (interpreted as octal), remove the leading 0 to get a decimal literal (or use explicit 0x, 0b prefixes) | //nopmd | .AvoidUsingOctalValues |
| org/newsclub/net/unix/darwin/system/AFSYSTEMSocket.java | Avoid unused private methods such as 'getStaticImplExtensions()'. | @suppresswarnings | |
| org/newsclub/net/unix/jetty/AFSocketServerConnector.java | Useless qualified this usage in the same class. | //nopmd | .CompareObjectsWithEquals |
| org/newsclub/net/unix/memory/SharedMemoryCleaner.java | Avoid empty catch blocks | //nopmd | |
| org/newsclub/net/unix/rmi/ShutdownHookSupport.java | Dont call Thread.run() explicitly, use Thread.start() | //nopmd | -- code coverage fails if we call .start() |
Processing Errors
| Filename | Problem |
|---|---|
| junixsocket-common - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-common/src/main/java/module-info.java' at line 4, column 36: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-common/src/main/java/module-info.java' at line 4, column 36: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-darwin - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-darwin/src/main/java/module-info.java' at line 5, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-darwin/src/main/java/module-info.java' at line 5, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-demo-jpackagejlink - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-demo-jpackagejlink/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-demo-jpackagejlink/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-demo - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-demo/src/main/java/module-info.java' at line 5, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-demo/src/main/java/module-info.java' at line 5, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-memory - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-memory/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-memory/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-mysql - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-mysql/src/main/java/module-info.java' at line 4, column 36: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-mysql/src/main/java/module-info.java' at line 4, column 36: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-native-custom - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-native-custom/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-native-custom/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-rmi - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-rmi/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-rmi/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-server - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-server/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-server/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-ssl - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-ssl/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-ssl/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-tipc - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-tipc/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-tipc/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
| junixsocket-vsock - module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-vsock/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-vsock/src/main/java/module-info.java' at line 4, column 8: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:105) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:72) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:680) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:434) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:33) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:98) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:101) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:98) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:67) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.base/java.lang.Thread.run(Thread.java:1516) |
