mirror of
https://github.com/apache/jclouds.git
synced 2025-02-12 04:56:04 +00:00
DnsNameValidator.java uses a deprecated guava APIs in code that is used to support Azure cloud storage. When forcing the use of more recent guava versions, the code fails with NoSuchFieldError. However, CharMatcher.JAVA_LETTER_OR_DIGIT has been removed in guava 26.0, and CharMatcher.javaLetterOrDigit() should be used instead since guava 19.0. Note that CharMatcher.javaLetterOrDigit() was immediately deprecated in Guava 26.0, and java.lang.Character.isLetterOrDigit(int) should be used instead. This commit replaces the use of this deprecated API by java.lang.Character.isLetterOrDigit(int). It is no worse than the previous code. (If I understand correctly, updating the guava version is a challenge due to dependencies on Apache Karaf anyway)
jclouds
Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.
For more information about using or contributing to jclouds, please visit our website at jclouds.apache.org.
License
Copyright (C) 2009-2019 The Apache Software Foundation
Licensed under the Apache License, Version 2.0
Languages
Java
99.4%
Shell
0.5%