You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2018/05/21 08:49:27 UTC

[isis] branch master updated: ISIS-1948: fixes meta-model validation failure on UrlEncodingService

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 0026fe1  ISIS-1948: fixes meta-model validation failure on UrlEncodingService
0026fe1 is described below

commit 0026fe1e766000685f073b73dff743dbbad284d8
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon May 21 10:49:22 2018 +0200

    ISIS-1948: fixes meta-model validation failure on UrlEncodingService
    
    Task-Url: https://issues.apache.org/jira/browse/ISIS-1948
---
 .../apache/isis/applib/services/urlencoding/UrlEncodingService.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/core/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingService.java b/core/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingService.java
index b526d0b..d8699a6 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingService.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/services/urlencoding/UrlEncodingService.java
@@ -24,6 +24,12 @@ import org.apache.isis.commons.internal.memento._Mementos.EncoderDecoder;
 
 public interface UrlEncodingService extends EncoderDecoder {
 
+	// -- INHERITED from EncoderDecoder (make explicitly programmatic, in order to avoid meta-model validation)
+	@Programmatic public String encode(final byte[] bytes);
+	@Programmatic public byte[] decode(String str);
+	
+    // -- EXTENSIONS
+    
     @Programmatic
     public default String encodeString(final String str) {
     	return encode(_Strings.toBytes(str, StandardCharsets.UTF_8));

-- 
To stop receiving notification emails like this one, please contact
ahuber@apache.org.