- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
static {
final Logger log = LoggerFactory.getLogger(ModulePeer.class);
if (log.isDebugEnabled()) {
final Map<String, Function<String, String>> source = new LinkedHashMap<>();
source.put("LD_LIBRARY_PATH", System::getenv);
source.put("java.library.path", System::getProperty);
source.put("java.class.path", System::getProperty);
final Map<String, Set<Path>> dump = source.entrySet().stream().collect(Collectors.toMap(e -> e
.getKey(), e -> Optional.ofNullable(e.getValue().apply(e.getKey())).map(i -> Pattern
.compile(Pattern.quote(System.getProperty("path.separator"))).splitAsStream(i)).orElse(
Stream.empty()).map(n -> Paths.get(n).toAbsolutePath()) //
.collect(Collectors.toCollection(TreeSet::new)), (u, v) -> {
throw new IllegalStateException(String.format("Duplicate key %s", u));
}, LinkedHashMap::new));
log.info(dump.toString());
}
...
}
Ye6aH 25.09.2018 14:56 # +2
MyguJIA 25.09.2018 15:20 # 0
Elvenfighter 25.09.2018 16:17 # 0
guest8 25.09.2018 17:16 # −999
6JI9Igb 25.09.2018 17:23 # 0
nu3ga 25.09.2018 17:52 # 0
KaKou-To_xyu 25.09.2018 18:13 # 0
guest8 25.09.2018 18:19 # −999
TOPT 25.09.2018 19:24 # 0
guest8 25.09.2018 19:29 # −999
TOPT 25.09.2018 19:31 # 0
Konardyan 25.09.2018 20:10 # −102
TOPT 26.09.2018 02:53 # 0
guest8 03.10.2018 15:57 # −999
guest8 03.10.2018 16:02 # −999
guest8 03.10.2018 16:09 # −999
guest8 03.10.2018 16:12 # −999
guest8 03.10.2018 16:55 # −999
guest8 03.10.2018 17:26 # −999
MPA3b 03.10.2018 18:23 # 0
guest8 03.10.2018 18:32 # −999
MPA3b 03.10.2018 18:38 # 0
gost 03.10.2018 16:27 # 0
KaKou-To_xyu 25.09.2018 16:28 # 0
guest8 25.09.2018 22:16 # −999
gost 25.09.2018 22:33 # 0
OBEH 26.09.2018 00:13 # 0
666_N33D135 04.12.2018 16:41 # 0
roman-kashitsyn 04.12.2018 17:20 # 0