Julian Reschke created OAK-7549: ----------------------------------- Summary: commons: avoid use of Guava beta APIs in FileIOUtils Key: OAK-7549 URL: https://issues.apache.org/jira/browse/OAK-7549 Project: Jackrabbit Oak Issue Type: Technical task Components: commons Reporter: Julian Reschke
{noformat} C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:92: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change move(sorted, file); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:105: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change move(sorted, file); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:164: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change appendStream = asByteSink(appendTo, APPEND).openBufferedStream(); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:181: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change close(appendStream, threw); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:250: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change BufferedWriter writer = newWriter(f, UTF_8); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:266: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change close(writer, threw); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) C:\projects\apache\oak\trunk\oak-commons\src\main\java\org\apache\jackrabbit\oak\commons\FileIOUtils.java:296: error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change close(reader, threw); ^ (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)