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 2023/02/17 10:17:30 UTC
[uima-uimaj] branch bugfix/303-Build-fails-on-Windows-if-namespace-contains-whitespace created (now a5a8e9155)
This is an automated email from the ASF dual-hosted git repository.
rec pushed a change to branch bugfix/303-Build-fails-on-Windows-if-namespace-contains-whitespace
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
at a5a8e9155 Issue #303: Build fails on Windows if namespace contains whitespace
This branch includes the following new commits:
new a5a8e9155 Issue #303: Build fails on Windows if namespace contains whitespace
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[uima-uimaj] 01/01: Issue #303: Build fails on Windows if namespace contains whitespace
Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch bugfix/303-Build-fails-on-Windows-if-namespace-contains-whitespace
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit a5a8e915521d2109660bb58ffd80152b16db3167
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Fri Feb 17 11:17:24 2023 +0100
Issue #303: Build fails on Windows if namespace contains whitespace
- Try using deprecated non-escaping toURL() because it seems that might be what the tested code is using internally as well
---
.../apache/uima/resource/metadata/impl/ImportResolverTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/uimaj-core/src/test/java/org/apache/uima/resource/metadata/impl/ImportResolverTest.java b/uimaj-core/src/test/java/org/apache/uima/resource/metadata/impl/ImportResolverTest.java
index 766edf787..5dd304fcf 100644
--- a/uimaj-core/src/test/java/org/apache/uima/resource/metadata/impl/ImportResolverTest.java
+++ b/uimaj-core/src/test/java/org/apache/uima/resource/metadata/impl/ImportResolverTest.java
@@ -101,10 +101,10 @@ public class ImportResolverTest {
assertThat(ts.getTypes()).as("Type count after resolving the descriptor").hasSize(3);
assertThat(ts.getImports()).hasSize(0);
- String typeSystem2 = new File(descriptor.getParent(), "Transitive-with-3-nodes-2.xml").toURI()
- .toURL().toString();
- String typeSystem3 = new File(descriptor.getParent(), "Transitive-with-3-nodes-3.xml").toURI()
- .toURL().toString();
+ String typeSystem2 = new File(descriptor.getParent(), "Transitive-with-3-nodes-2.xml").toURL()
+ .toString();
+ String typeSystem3 = new File(descriptor.getParent(), "Transitive-with-3-nodes-3.xml").toURL()
+ .toString();
Map<String, XMLizable> cache = resMgr.getImportCache();
assertThat(cache).containsOnlyKeys(typeSystem2, typeSystem3);