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 da44673  ISIS-1682 fixes swapped arguments
da44673 is described below

commit da446733f85e5b20cbef9df472511e791890c58e
Author: Andi Huber <ahu...@apache.org>
AuthorDate: Thu Apr 12 15:09:14 2018 +0200

    ISIS-1682 fixes swapped arguments
---
 .../src/main/java/org/apache/isis/applib/internal/base/_Strings.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/core/applib/src/main/java/org/apache/isis/applib/internal/base/_Strings.java 
b/core/applib/src/main/java/org/apache/isis/applib/internal/base/_Strings.java
index 5631f2e..cfafe99 100644
--- 
a/core/applib/src/main/java/org/apache/isis/applib/internal/base/_Strings.java
+++ 
b/core/applib/src/main/java/org/apache/isis/applib/internal/base/_Strings.java
@@ -393,7 +393,7 @@ public final class _Strings {
        public final static String asFileNameWithExtension(final String 
fileName, String fileExtension) {
                Objects.requireNonNull(fileName);
                Objects.requireNonNull(fileExtension);
-               return suffix(fileName, prefix(".", fileExtension));
+               return suffix(fileName, prefix(fileExtension, "."));
        }
 
 

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

Reply via email to