You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2020/10/13 16:56:13 UTC
[uima-uimaj] 01/01: [UIMA-6272] UIMA doesn't build on Java 14
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch UIMA-6272-UIMA-does-not-build-on-Java-14
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit 995b0521b78284771d051e5c8574cf7d46b397fe
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Tue Oct 13 18:56:40 2020 +0200
[UIMA-6272] UIMA doesn't build on Java 14
- Make EncodedPrintStream.writeBytes(byte[]) public like the super method
---
.../src/main/java/org/apache/uima/internal/util/EncodedPrintStream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uimaj-core/src/main/java/org/apache/uima/internal/util/EncodedPrintStream.java b/uimaj-core/src/main/java/org/apache/uima/internal/util/EncodedPrintStream.java
index 11cbff1..81368de 100644
--- a/uimaj-core/src/main/java/org/apache/uima/internal/util/EncodedPrintStream.java
+++ b/uimaj-core/src/main/java/org/apache/uima/internal/util/EncodedPrintStream.java
@@ -72,7 +72,7 @@ public class EncodedPrintStream extends PrintStream {
"test".getBytes(encoding);
}
- private final void writeBytes(byte[] bytes) {
+ public final void writeBytes(byte[] bytes) {
super.write(bytes, 0, bytes.length);
}