platform API: mark some elements with @ApiStatus.Internal annotation

Before they were marked as Experimental, but Internal is a more correct description here.
This commit is contained in:
nik
2019-04-17 10:14:31 +03:00
parent 496f9cf373
commit eb92f07338
2 changed files with 3 additions and 3 deletions
@@ -279,7 +279,7 @@ public class JDOMUtil {
/**
* Internal use only.
*/
@ApiStatus.Experimental
@ApiStatus.Internal
@NotNull
public static Element load(@NotNull File file, @Nullable SafeJdomFactory factory) throws JDOMException, IOException {
return loadUsingStaX(new BufferedReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8)), factory);
@@ -309,7 +309,7 @@ public class JDOMUtil {
/**
* Internal use only.
*/
@ApiStatus.Experimental
@ApiStatus.Internal
@NotNull
public static Element load(@NotNull InputStream stream, @Nullable SafeJdomFactory factory) throws JDOMException, IOException {
return loadUsingStaX(new InputStreamReader(stream, StandardCharsets.UTF_8), factory);
@@ -10,7 +10,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Internal use only.
*/
@ApiStatus.Experimental
@ApiStatus.Internal
public interface SafeJdomFactory {
@NotNull
Element element(@NotNull String name, @Nullable Namespace namespace);