You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2012/12/04 23:30:59 UTC

[31/47] ISIS-188: normalizing file endings throughout

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/NameUtilTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/NameUtilTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/NameUtilTest.java
index b611365..5904102 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/NameUtilTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/NameUtilTest.java
@@ -1,82 +1,82 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import junit.framework.TestCase;
-
-public class NameUtilTest extends TestCase {
-
-    public void testNaturalNameAddsSpacesToCamelCaseWords() {
-        assertEquals("Camel Case Word", NameUtils.naturalName("CamelCaseWord"));
-    }
-
-    public void testNaturalNameAddsSpacesBeforeNumbers() {
-        assertEquals("One 2 One", NameUtils.naturalName("One2One"));
-        assertEquals("Type 123", NameUtils.naturalName("Type123"));
-        assertEquals("4321 Go", NameUtils.naturalName("4321Go"));
-    }
-
-    public void testNaturalNameRecognisesAcronymns() {
-        assertEquals("TNT Power", NameUtils.naturalName("TNTPower"));
-        assertEquals("Spam RAM Can", NameUtils.naturalName("SpamRAMCan"));
-        assertEquals("DOB", NameUtils.naturalName("DOB"));
-    }
-
-    public void testNaturalNameWithShortNames() {
-        assertEquals("At", NameUtils.naturalName("At"));
-        assertEquals("I", NameUtils.naturalName("I"));
-    }
-
-    public void testNaturalNameNoChange() {
-        assertEquals("Camel Case Word", NameUtils.naturalName("CamelCaseWord"));
-        assertEquals("Almost Normal english sentence", NameUtils.naturalName("Almost Normal english sentence"));
-    }
-
-    public void testPluralNameAdd_S() {
-        assertEquals("Cans", NameUtils.pluralName("Can"));
-        assertEquals("Spaces", NameUtils.pluralName("Space"));
-        assertEquals("Noses", NameUtils.pluralName("Nose"));
-    }
-
-    public void testPluralNameReplace_Y_With_IES() {
-        assertEquals("Babies", NameUtils.pluralName("Baby"));
-        assertEquals("Cities", NameUtils.pluralName("City"));
-    }
-
-    public void testPluralNameReplaceAdd_ES() {
-        assertEquals("Foxes", NameUtils.pluralName("Fox"));
-        assertEquals("Bosses", NameUtils.pluralName("Boss"));
-    }
-
-    public void testSimpleNameAllToLowerCase() {
-        assertEquals("abcde", NameUtils.simpleName("ABCDE"));
-        assertEquals("camelcaseword", NameUtils.simpleName("CamelCaseWord"));
-    }
-
-    public void testSimpleNameNoChanges() {
-        assertEquals("nochanges", NameUtils.simpleName("nochanges"));
-    }
-
-    public void testSimpleNameRemoveSpaces() {
-        assertEquals("abcde", NameUtils.simpleName("a bc  de "));
-        assertEquals("twoparts", NameUtils.simpleName("two parts"));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import junit.framework.TestCase;
+
+public class NameUtilTest extends TestCase {
+
+    public void testNaturalNameAddsSpacesToCamelCaseWords() {
+        assertEquals("Camel Case Word", NameUtils.naturalName("CamelCaseWord"));
+    }
+
+    public void testNaturalNameAddsSpacesBeforeNumbers() {
+        assertEquals("One 2 One", NameUtils.naturalName("One2One"));
+        assertEquals("Type 123", NameUtils.naturalName("Type123"));
+        assertEquals("4321 Go", NameUtils.naturalName("4321Go"));
+    }
+
+    public void testNaturalNameRecognisesAcronymns() {
+        assertEquals("TNT Power", NameUtils.naturalName("TNTPower"));
+        assertEquals("Spam RAM Can", NameUtils.naturalName("SpamRAMCan"));
+        assertEquals("DOB", NameUtils.naturalName("DOB"));
+    }
+
+    public void testNaturalNameWithShortNames() {
+        assertEquals("At", NameUtils.naturalName("At"));
+        assertEquals("I", NameUtils.naturalName("I"));
+    }
+
+    public void testNaturalNameNoChange() {
+        assertEquals("Camel Case Word", NameUtils.naturalName("CamelCaseWord"));
+        assertEquals("Almost Normal english sentence", NameUtils.naturalName("Almost Normal english sentence"));
+    }
+
+    public void testPluralNameAdd_S() {
+        assertEquals("Cans", NameUtils.pluralName("Can"));
+        assertEquals("Spaces", NameUtils.pluralName("Space"));
+        assertEquals("Noses", NameUtils.pluralName("Nose"));
+    }
+
+    public void testPluralNameReplace_Y_With_IES() {
+        assertEquals("Babies", NameUtils.pluralName("Baby"));
+        assertEquals("Cities", NameUtils.pluralName("City"));
+    }
+
+    public void testPluralNameReplaceAdd_ES() {
+        assertEquals("Foxes", NameUtils.pluralName("Fox"));
+        assertEquals("Bosses", NameUtils.pluralName("Boss"));
+    }
+
+    public void testSimpleNameAllToLowerCase() {
+        assertEquals("abcde", NameUtils.simpleName("ABCDE"));
+        assertEquals("camelcaseword", NameUtils.simpleName("CamelCaseWord"));
+    }
+
+    public void testSimpleNameNoChanges() {
+        assertEquals("nochanges", NameUtils.simpleName("nochanges"));
+    }
+
+    public void testSimpleNameRemoveSpaces() {
+        assertEquals("abcde", NameUtils.simpleName("a bc  de "));
+        assertEquals("twoparts", NameUtils.simpleName("two parts"));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/PrintLocale.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/PrintLocale.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/PrintLocale.java
index b433f39..31c885f 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/PrintLocale.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/PrintLocale.java
@@ -1,59 +1,59 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import java.util.Locale;
-import java.util.MissingResourceException;
-import java.util.TimeZone;
-
-public class PrintLocale {
-    public static void main(final String[] args) {
-        if (args.length >= 2) {
-            final String localeSetting = args[0];
-            System.out.println("Setting Locale to " + localeSetting + "\n");
-            Locale.setDefault(new Locale(localeSetting));
-
-            final String timezoneSetting = args[1];
-            System.out.println("Setting TimeZone to " + timezoneSetting + "\n");
-            TimeZone.setDefault(TimeZone.getTimeZone(timezoneSetting));
-        }
-
-        final Locale locale = Locale.getDefault();
-        System.out.println("Locale");
-        System.out.println("Code: " + locale.toString());
-        try {
-            System.out.println("Country: " + locale.getISO3Country());
-        } catch (final MissingResourceException e) {
-            System.out.println("Country: " + e.getMessage());
-        }
-        try {
-            System.out.println("Language: " + locale.getISO3Language());
-        } catch (final MissingResourceException e) {
-            System.out.println("Language: " + e.getMessage());
-        }
-
-        System.out.println("\nTimezone");
-        final TimeZone timezone = TimeZone.getDefault();
-        System.out.println("Code: " + timezone.getID());
-        System.out.println("Name: " + timezone.getDisplayName());
-        System.out.println("Offset: " + timezone.getRawOffset() / (1000 * 60 * 60));
-        System.out.println("DST: " + timezone.getDSTSavings() / (1000 * 60 * 60));
-    }
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.TimeZone;
+
+public class PrintLocale {
+    public static void main(final String[] args) {
+        if (args.length >= 2) {
+            final String localeSetting = args[0];
+            System.out.println("Setting Locale to " + localeSetting + "\n");
+            Locale.setDefault(new Locale(localeSetting));
+
+            final String timezoneSetting = args[1];
+            System.out.println("Setting TimeZone to " + timezoneSetting + "\n");
+            TimeZone.setDefault(TimeZone.getTimeZone(timezoneSetting));
+        }
+
+        final Locale locale = Locale.getDefault();
+        System.out.println("Locale");
+        System.out.println("Code: " + locale.toString());
+        try {
+            System.out.println("Country: " + locale.getISO3Country());
+        } catch (final MissingResourceException e) {
+            System.out.println("Country: " + e.getMessage());
+        }
+        try {
+            System.out.println("Language: " + locale.getISO3Language());
+        } catch (final MissingResourceException e) {
+            System.out.println("Language: " + e.getMessage());
+        }
+
+        System.out.println("\nTimezone");
+        final TimeZone timezone = TimeZone.getDefault();
+        System.out.println("Code: " + timezone.getID());
+        System.out.println("Name: " + timezone.getDisplayName());
+        System.out.println("Offset: " + timezone.getRawOffset() / (1000 * 60 * 60));
+        System.out.println("DST: " + timezone.getDSTSavings() / (1000 * 60 * 60));
+    }
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtilsTest_enumTitle.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtilsTest_enumTitle.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtilsTest_enumTitle.java
index 37982fe..4cec9e3 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtilsTest_enumTitle.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtilsTest_enumTitle.java
@@ -1,41 +1,41 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-
-public class StringUtilsTest_enumTitle {
-
-    @Test
-    public void enumTitle() {
-        assertThat(StringUtils.enumTitle("FOO"), is("Foo"));
-        assertThat(StringUtils.enumTitle("FOO_BAR"), is("Foo Bar"));
-    }
-
-    @Test
-    public void enumDeTitle() {
-        assertThat(StringUtils.enumDeTitle("Foo"), is("FOO"));
-        assertThat(StringUtils.enumDeTitle("Foo Bar"), is("FOO_BAR"));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+public class StringUtilsTest_enumTitle {
+
+    @Test
+    public void enumTitle() {
+        assertThat(StringUtils.enumTitle("FOO"), is("Foo"));
+        assertThat(StringUtils.enumTitle("FOO_BAR"), is("Foo Bar"));
+    }
+
+    @Test
+    public void enumDeTitle() {
+        assertThat(StringUtils.enumDeTitle("Foo"), is("FOO"));
+        assertThat(StringUtils.enumDeTitle("Foo Bar"), is("FOO_BAR"));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalNameTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalNameTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalNameTest.java
index 892bd26..0e3f7ee 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalNameTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalNameTest.java
@@ -1,59 +1,59 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-
-public class StringUtils_NaturalNameTest {
-
-    @Test
-    public void shouldCreateANaturalNameForABooleanPropertyAccessorName() {
-        assertThat(StringUtils.naturalName("isOutOfStock"), is("Out Of Stock"));
-    }
-
-    @Test
-    public void shouldCreateANaturalNameForABooleanPropertyAccessorNameSingleWord() {
-        assertThat(StringUtils.naturalName("isBlacklisted"), is("Blacklisted"));
-    }
-
-    @Test
-    public void shouldCreateANaturalNameForANonBooleanPropertyAccessorName() {
-        assertThat(StringUtils.naturalName("getFirstName"), is("First Name"));
-    }
-
-    @Test
-    public void shouldCreateANaturalNameForANonBooleanPropertyAccessorNameSingleWord() {
-        assertThat(StringUtils.naturalName("getAge"), is("Age"));
-    }
-
-    @Test
-    public void shouldCreateANaturalNameForAPropertyMutatorName() {
-        assertThat(StringUtils.naturalName("setFirstName"), is("First Name"));
-    }
-
-    @Test
-    public void shouldCreateANaturalNameForAPropertyMutatorNameSingleWord() {
-        assertThat(StringUtils.naturalName("setAge"), is("Age"));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+public class StringUtils_NaturalNameTest {
+
+    @Test
+    public void shouldCreateANaturalNameForABooleanPropertyAccessorName() {
+        assertThat(StringUtils.naturalName("isOutOfStock"), is("Out Of Stock"));
+    }
+
+    @Test
+    public void shouldCreateANaturalNameForABooleanPropertyAccessorNameSingleWord() {
+        assertThat(StringUtils.naturalName("isBlacklisted"), is("Blacklisted"));
+    }
+
+    @Test
+    public void shouldCreateANaturalNameForANonBooleanPropertyAccessorName() {
+        assertThat(StringUtils.naturalName("getFirstName"), is("First Name"));
+    }
+
+    @Test
+    public void shouldCreateANaturalNameForANonBooleanPropertyAccessorNameSingleWord() {
+        assertThat(StringUtils.naturalName("getAge"), is("Age"));
+    }
+
+    @Test
+    public void shouldCreateANaturalNameForAPropertyMutatorName() {
+        assertThat(StringUtils.naturalName("setFirstName"), is("First Name"));
+    }
+
+    @Test
+    public void shouldCreateANaturalNameForAPropertyMutatorNameSingleWord() {
+        assertThat(StringUtils.naturalName("setAge"), is("Age"));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalizeTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalizeTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalizeTest.java
index d527016..0c3dd89 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalizeTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NaturalizeTest.java
@@ -1,49 +1,49 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-
-public class StringUtils_NaturalizeTest {
-
-    @Test
-    public void shouldNaturalizeMultipleCamelCase() {
-        assertThat(StringUtils.naturalize("thisIsACamelCasePhrase"), is("This Is A Camel Case Phrase"));
-    }
-
-    @Test
-    public void shouldNaturalizeMultiplePascalCase() {
-        assertThat(StringUtils.naturalize("ThisIsAPascalCasePhrase"), is("This Is A Pascal Case Phrase"));
-    }
-
-    @Test
-    public void shouldNaturalizeSingleWordStartingWithLowerCase() {
-        assertThat(StringUtils.naturalize("foo"), is("Foo"));
-    }
-
-    @Test
-    public void shouldNaturalizeSingleWordStartingWithUpperCase() {
-        assertThat(StringUtils.naturalize("Foo"), is("Foo"));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+public class StringUtils_NaturalizeTest {
+
+    @Test
+    public void shouldNaturalizeMultipleCamelCase() {
+        assertThat(StringUtils.naturalize("thisIsACamelCasePhrase"), is("This Is A Camel Case Phrase"));
+    }
+
+    @Test
+    public void shouldNaturalizeMultiplePascalCase() {
+        assertThat(StringUtils.naturalize("ThisIsAPascalCasePhrase"), is("This Is A Pascal Case Phrase"));
+    }
+
+    @Test
+    public void shouldNaturalizeSingleWordStartingWithLowerCase() {
+        assertThat(StringUtils.naturalize("foo"), is("Foo"));
+    }
+
+    @Test
+    public void shouldNaturalizeSingleWordStartingWithUpperCase() {
+        assertThat(StringUtils.naturalize("Foo"), is("Foo"));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedTest.java
index 5616070..027258e 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedTest.java
@@ -1,65 +1,65 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import java.util.Arrays;
-import java.util.Collection;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-
-@RunWith(Parameterized.class)
-public class StringUtils_NormalizedTest {
-
-    @Parameters
-    public static Collection<Object[]> data() {
-        return Arrays.asList(new Object[][] { { null, null, }, // null
-                { "", "", }, // empty string
-                { "yada Foobar", "yada Foobar", }, // alreadyNormalized
-                { "Yada\tFoobar", "Yada Foobar", }, // tab
-                { "Yada\t Foobar", "Yada Foobar", }, // tab and space
-                { "Yada  foobar", "Yada foobar", }, // two spaces
-                { "Yada\nfoobar", "Yada foobar", }, // new line
-                { "Yada\n Foobar", "Yada Foobar", }, // newline and space
-                { "Yada\r\n Foobar", "Yada Foobar", }, // windows newline
-                { "Yada\r Foobar", "Yada Foobar", }, // macos newline
-                { "Yada\r \tFoo \n\tbar  Baz", "Yada Foo bar Baz", }, // multiple
-        });
-    }
-
-    private final String input;
-    private final String expected;
-
-    public StringUtils_NormalizedTest(final String input, final String expected) {
-        this.input = input;
-        this.expected = expected;
-    }
-
-    @Test
-    public void normalizesOk() {
-        assertThat(StringUtils.normalized(input), is(expected));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import java.util.Arrays;
+import java.util.Collection;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+@RunWith(Parameterized.class)
+public class StringUtils_NormalizedTest {
+
+    @Parameters
+    public static Collection<Object[]> data() {
+        return Arrays.asList(new Object[][] { { null, null, }, // null
+                { "", "", }, // empty string
+                { "yada Foobar", "yada Foobar", }, // alreadyNormalized
+                { "Yada\tFoobar", "Yada Foobar", }, // tab
+                { "Yada\t Foobar", "Yada Foobar", }, // tab and space
+                { "Yada  foobar", "Yada foobar", }, // two spaces
+                { "Yada\nfoobar", "Yada foobar", }, // new line
+                { "Yada\n Foobar", "Yada Foobar", }, // newline and space
+                { "Yada\r\n Foobar", "Yada Foobar", }, // windows newline
+                { "Yada\r Foobar", "Yada Foobar", }, // macos newline
+                { "Yada\r \tFoo \n\tbar  Baz", "Yada Foo bar Baz", }, // multiple
+        });
+    }
+
+    private final String input;
+    private final String expected;
+
+    public StringUtils_NormalizedTest(final String input, final String expected) {
+        this.input = input;
+        this.expected = expected;
+    }
+
+    @Test
+    public void normalizesOk() {
+        assertThat(StringUtils.normalized(input), is(expected));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedVarargsTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedVarargsTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedVarargsTest.java
index 1f99a0b..4be6f0d 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedVarargsTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_NormalizedVarargsTest.java
@@ -1,54 +1,54 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import java.util.Arrays;
-import java.util.Collection;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-
-@RunWith(Parameterized.class)
-public class StringUtils_NormalizedVarargsTest {
-
-    @Parameters
-    public static Collection<Object[]> data() {
-        return Arrays.asList(new Object[][] { { new String[] { "yada Foobar", "Yada\r \tFoo \n\tbar  Baz" }, new String[] { "yada Foobar", "Yada Foo bar Baz" }, }, });
-    }
-
-    private final String[] input;
-    private final String[] expected;
-
-    public StringUtils_NormalizedVarargsTest(final String[] input, final String[] expected) {
-        this.input = input;
-        this.expected = expected;
-    }
-
-    @Test
-    public void normalizesOk() {
-        assertThat(StringUtils.normalized(input), is(expected));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import java.util.Arrays;
+import java.util.Collection;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+@RunWith(Parameterized.class)
+public class StringUtils_NormalizedVarargsTest {
+
+    @Parameters
+    public static Collection<Object[]> data() {
+        return Arrays.asList(new Object[][] { { new String[] { "yada Foobar", "Yada\r \tFoo \n\tbar  Baz" }, new String[] { "yada Foobar", "Yada Foo bar Baz" }, }, });
+    }
+
+    private final String[] input;
+    private final String[] expected;
+
+    public StringUtils_NormalizedVarargsTest(final String[] input, final String[] expected) {
+        this.input = input;
+        this.expected = expected;
+    }
+
+    @Test
+    public void normalizesOk() {
+        assertThat(StringUtils.normalized(input), is(expected));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_RemoveLeadingWhiteSpace.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_RemoveLeadingWhiteSpace.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_RemoveLeadingWhiteSpace.java
index e1ffba9..7bc3816 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_RemoveLeadingWhiteSpace.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_RemoveLeadingWhiteSpace.java
@@ -1,51 +1,51 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.core.commons.lang;
-
-import org.hamcrest.CoreMatchers;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class StringUtils_RemoveLeadingWhiteSpace {
-
-    @Test
-    public void whenHasLeadingWhiteSpace() {
-        final String removed = StringUtils.removeLeadingWhiteSpace(" 	 foo");
-        Assert.assertThat(removed, CoreMatchers.is("foo"));
-    }
-
-    @Test
-    public void whenNoLeadingWhiteSpace() {
-        final String removed = StringUtils.removeLeadingWhiteSpace("foo");
-        Assert.assertThat(removed, CoreMatchers.is("foo"));
-    }
-
-    @Test
-    public void empty() {
-        final String removed = StringUtils.removeLeadingWhiteSpace("");
-        Assert.assertThat(removed, CoreMatchers.is(""));
-    }
-
-    @Test
-    public void whenNull() {
-        final String removed = StringUtils.removeLeadingWhiteSpace(null);
-        Assert.assertThat(removed, CoreMatchers.is(CoreMatchers.nullValue()));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+package org.apache.isis.core.commons.lang;
+
+import org.hamcrest.CoreMatchers;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class StringUtils_RemoveLeadingWhiteSpace {
+
+    @Test
+    public void whenHasLeadingWhiteSpace() {
+        final String removed = StringUtils.removeLeadingWhiteSpace(" 	 foo");
+        Assert.assertThat(removed, CoreMatchers.is("foo"));
+    }
+
+    @Test
+    public void whenNoLeadingWhiteSpace() {
+        final String removed = StringUtils.removeLeadingWhiteSpace("foo");
+        Assert.assertThat(removed, CoreMatchers.is("foo"));
+    }
+
+    @Test
+    public void empty() {
+        final String removed = StringUtils.removeLeadingWhiteSpace("");
+        Assert.assertThat(removed, CoreMatchers.is(""));
+    }
+
+    @Test
+    public void whenNull() {
+        final String removed = StringUtils.removeLeadingWhiteSpace(null);
+        Assert.assertThat(removed, CoreMatchers.is(CoreMatchers.nullValue()));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_SplitOnCommas.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_SplitOnCommas.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_SplitOnCommas.java
index 300c14d..a09b30a 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_SplitOnCommas.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_SplitOnCommas.java
@@ -1,80 +1,80 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.core.commons.lang;
-
-import java.util.List;
-
-import org.hamcrest.CoreMatchers;
-import org.junit.Assert;
-import org.junit.Test;
-
-public class StringUtils_SplitOnCommas {
-
-    @Test
-    public void length() {
-        final List<String> list = StringUtils.splitOnCommas("foo,bar");
-        Assert.assertThat(list.size(), CoreMatchers.is(2));
-    }
-
-    @Test
-    public void elements() {
-        final List<String> list = StringUtils.splitOnCommas("foo,bar");
-        Assert.assertThat(list.get(0), CoreMatchers.is("foo"));
-        Assert.assertThat(list.get(1), CoreMatchers.is("bar"));
-    }
-
-    @Test
-    public void whenHasWhiteSpaceAfterComma() {
-        final List<String> list = StringUtils.splitOnCommas("foo, bar");
-        Assert.assertThat(list.get(0), CoreMatchers.is("foo"));
-        Assert.assertThat(list.get(1), CoreMatchers.is("bar"));
-    }
-
-    @Test
-    public void whenHasLeadingWhiteSpace() {
-        final List<String> list = StringUtils.splitOnCommas(" foo, bar");
-        Assert.assertThat(list.get(0), CoreMatchers.is("foo"));
-        Assert.assertThat(list.get(1), CoreMatchers.is("bar"));
-    }
-
-    @Test
-    public void whenNull() {
-        final List<String> list = StringUtils.splitOnCommas(null);
-        Assert.assertThat(list, CoreMatchers.is(CoreMatchers.nullValue()));
-    }
-
-    @Test
-    public void whenEmpty() {
-        final List<String> list = StringUtils.splitOnCommas("");
-        Assert.assertThat(list.size(), CoreMatchers.is(0));
-    }
-
-    @Test
-    public void whenOnlyWhiteSpace() {
-        final List<String> list = StringUtils.splitOnCommas(" ");
-        Assert.assertThat(list.size(), CoreMatchers.is(0));
-    }
-
-    @Test
-    public void whenOnlyWhiteSpaceTabs() {
-        final List<String> list = StringUtils.splitOnCommas("\t");
-        Assert.assertThat(list.size(), CoreMatchers.is(0));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+package org.apache.isis.core.commons.lang;
+
+import java.util.List;
+
+import org.hamcrest.CoreMatchers;
+import org.junit.Assert;
+import org.junit.Test;
+
+public class StringUtils_SplitOnCommas {
+
+    @Test
+    public void length() {
+        final List<String> list = StringUtils.splitOnCommas("foo,bar");
+        Assert.assertThat(list.size(), CoreMatchers.is(2));
+    }
+
+    @Test
+    public void elements() {
+        final List<String> list = StringUtils.splitOnCommas("foo,bar");
+        Assert.assertThat(list.get(0), CoreMatchers.is("foo"));
+        Assert.assertThat(list.get(1), CoreMatchers.is("bar"));
+    }
+
+    @Test
+    public void whenHasWhiteSpaceAfterComma() {
+        final List<String> list = StringUtils.splitOnCommas("foo, bar");
+        Assert.assertThat(list.get(0), CoreMatchers.is("foo"));
+        Assert.assertThat(list.get(1), CoreMatchers.is("bar"));
+    }
+
+    @Test
+    public void whenHasLeadingWhiteSpace() {
+        final List<String> list = StringUtils.splitOnCommas(" foo, bar");
+        Assert.assertThat(list.get(0), CoreMatchers.is("foo"));
+        Assert.assertThat(list.get(1), CoreMatchers.is("bar"));
+    }
+
+    @Test
+    public void whenNull() {
+        final List<String> list = StringUtils.splitOnCommas(null);
+        Assert.assertThat(list, CoreMatchers.is(CoreMatchers.nullValue()));
+    }
+
+    @Test
+    public void whenEmpty() {
+        final List<String> list = StringUtils.splitOnCommas("");
+        Assert.assertThat(list.size(), CoreMatchers.is(0));
+    }
+
+    @Test
+    public void whenOnlyWhiteSpace() {
+        final List<String> list = StringUtils.splitOnCommas(" ");
+        Assert.assertThat(list.size(), CoreMatchers.is(0));
+    }
+
+    @Test
+    public void whenOnlyWhiteSpaceTabs() {
+        final List<String> list = StringUtils.splitOnCommas("\t");
+        Assert.assertThat(list.size(), CoreMatchers.is(0));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripLeadingSlashTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripLeadingSlashTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripLeadingSlashTest.java
index 1fbc424..c8698ac 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripLeadingSlashTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripLeadingSlashTest.java
@@ -1,49 +1,49 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-
-public class StringUtils_StripLeadingSlashTest {
-
-    @Test
-    public void shouldStripIfThereIsOne() {
-        assertThat(StringUtils.stripLeadingSlash("/foobar"), is("foobar"));
-    }
-
-    @Test
-    public void shouldLeaveUnchangedIfThereIsNone() {
-        assertThat(StringUtils.stripLeadingSlash("foobar"), is("foobar"));
-    }
-
-    @Test
-    public void shouldConvertSolitarySlashToEmptyString() {
-        assertThat(StringUtils.stripLeadingSlash("/"), is(""));
-    }
-
-    @Test(expected = NullPointerException.class)
-    public void shouldFailOnNull() {
-        StringUtils.stripLeadingSlash(null);
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+public class StringUtils_StripLeadingSlashTest {
+
+    @Test
+    public void shouldStripIfThereIsOne() {
+        assertThat(StringUtils.stripLeadingSlash("/foobar"), is("foobar"));
+    }
+
+    @Test
+    public void shouldLeaveUnchangedIfThereIsNone() {
+        assertThat(StringUtils.stripLeadingSlash("foobar"), is("foobar"));
+    }
+
+    @Test
+    public void shouldConvertSolitarySlashToEmptyString() {
+        assertThat(StringUtils.stripLeadingSlash("/"), is(""));
+    }
+
+    @Test(expected = NullPointerException.class)
+    public void shouldFailOnNull() {
+        StringUtils.stripLeadingSlash(null);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripNewLinesTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripNewLinesTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripNewLinesTest.java
index 4fb4144..b020053 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripNewLinesTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_StripNewLinesTest.java
@@ -1,59 +1,59 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-
-public class StringUtils_StripNewLinesTest {
-
-    @Test
-    public void shouldDoNothingIfNone() {
-        assertThat(StringUtils.stripNewLines("abc"), is("abc"));
-    }
-
-    @Test
-    public void shouldStripIfJustBackslashN() {
-        assertThat(StringUtils.stripNewLines("abc\n"), is("abc"));
-    }
-
-    @Test
-    public void shouldStripIfBackslashRBackslashN() {
-        assertThat(StringUtils.stripNewLines("abc\r\n"), is("abc"));
-    }
-
-    @Test
-    public void shouldStripIfJustBackslashR() {
-        assertThat(StringUtils.stripNewLines("abc\r"), is("abc"));
-    }
-
-    @Test
-    public void shouldStripIfSeveral() {
-        assertThat(StringUtils.stripNewLines("abc\r\ndef\r\n"), is("abcdef"));
-    }
-
-    @Test
-    public void shouldStripIfBackslashRBackslashNBackslashR() {
-        assertThat(StringUtils.stripNewLines("abc\n\r\ndef"), is("abcdef"));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+public class StringUtils_StripNewLinesTest {
+
+    @Test
+    public void shouldDoNothingIfNone() {
+        assertThat(StringUtils.stripNewLines("abc"), is("abc"));
+    }
+
+    @Test
+    public void shouldStripIfJustBackslashN() {
+        assertThat(StringUtils.stripNewLines("abc\n"), is("abc"));
+    }
+
+    @Test
+    public void shouldStripIfBackslashRBackslashN() {
+        assertThat(StringUtils.stripNewLines("abc\r\n"), is("abc"));
+    }
+
+    @Test
+    public void shouldStripIfJustBackslashR() {
+        assertThat(StringUtils.stripNewLines("abc\r"), is("abc"));
+    }
+
+    @Test
+    public void shouldStripIfSeveral() {
+        assertThat(StringUtils.stripNewLines("abc\r\ndef\r\n"), is("abcdef"));
+    }
+
+    @Test
+    public void shouldStripIfBackslashRBackslashNBackslashR() {
+        assertThat(StringUtils.stripNewLines("abc\n\r\ndef"), is("abcdef"));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_camelLowerFirst.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_camelLowerFirst.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_camelLowerFirst.java
index 7449309..6b75903 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_camelLowerFirst.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_camelLowerFirst.java
@@ -1,38 +1,38 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.junit.Test;
-
-public class StringUtils_camelLowerFirst {
-
-    @Test
-    public void asLowerCase() {
-        assertThat(StringUtils.camelLowerFirst("An Upper Case"), is("anUpperCase"));
-        assertThat(StringUtils.camelLowerFirst("a Lower Case"), is("aLowerCase"));
-        assertThat(StringUtils.camelLowerFirst("AnUpperCase"), is("anUpperCase"));
-        assertThat(StringUtils.camelLowerFirst("aLowerCase"), is("aLowerCase"));
-        assertThat(StringUtils.camelLowerFirst("a  Lower  Case"), is("aLowerCase"));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.junit.Test;
+
+public class StringUtils_camelLowerFirst {
+
+    @Test
+    public void asLowerCase() {
+        assertThat(StringUtils.camelLowerFirst("An Upper Case"), is("anUpperCase"));
+        assertThat(StringUtils.camelLowerFirst("a Lower Case"), is("aLowerCase"));
+        assertThat(StringUtils.camelLowerFirst("AnUpperCase"), is("anUpperCase"));
+        assertThat(StringUtils.camelLowerFirst("aLowerCase"), is("aLowerCase"));
+        assertThat(StringUtils.camelLowerFirst("a  Lower  Case"), is("aLowerCase"));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_toLineSeparated.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_toLineSeparated.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_toLineSeparated.java
index b3db4e8..eca9b1c 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_toLineSeparated.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/lang/StringUtils_toLineSeparated.java
@@ -1,52 +1,52 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.lang;
-
-import static org.hamcrest.Matchers.equalTo;
-import static org.hamcrest.Matchers.is;
-import static org.junit.Assert.assertThat;
-import static org.junit.Assume.assumeThat;
-
-import org.junit.Test;
-
-public class StringUtils_toLineSeparated {
-
-    @Test
-    public void convertsCarriageReturnToLineSeparator() throws Exception {
-        assertThat(StringUtils.lineSeparated("ok\n"), is("ok" + System.getProperty("line.separator")));
-    }
-
-    @Test
-    public void windowsStyleCarriageReturnLeftUnchanged() throws Exception {
-        assumeThatRunningOnWindows(); // ie windows
-        assertThat(StringUtils.lineSeparated("ok\r\n"), is("ok" + System.getProperty("line.separator")));
-    }
-
-    @Test
-    public void macStyleCarriageReturnLeftUnchanged() throws Exception {
-        assumeThatRunningOnWindows(); // ie windows
-        assertThat(StringUtils.lineSeparated("ok\r"), is("ok\r"));
-    }
-
-    private static void assumeThatRunningOnWindows() {
-        assumeThat(System.getProperty("file.separator"), is(equalTo("\\")));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.lang;
+
+import static org.hamcrest.Matchers.equalTo;
+import static org.hamcrest.Matchers.is;
+import static org.junit.Assert.assertThat;
+import static org.junit.Assume.assumeThat;
+
+import org.junit.Test;
+
+public class StringUtils_toLineSeparated {
+
+    @Test
+    public void convertsCarriageReturnToLineSeparator() throws Exception {
+        assertThat(StringUtils.lineSeparated("ok\n"), is("ok" + System.getProperty("line.separator")));
+    }
+
+    @Test
+    public void windowsStyleCarriageReturnLeftUnchanged() throws Exception {
+        assumeThatRunningOnWindows(); // ie windows
+        assertThat(StringUtils.lineSeparated("ok\r\n"), is("ok" + System.getProperty("line.separator")));
+    }
+
+    @Test
+    public void macStyleCarriageReturnLeftUnchanged() throws Exception {
+        assumeThatRunningOnWindows(); // ie windows
+        assertThat(StringUtils.lineSeparated("ok\r"), is("ok\r"));
+    }
+
+    private static void assumeThatRunningOnWindows() {
+        assumeThat(System.getProperty("file.separator"), is(equalTo("\\")));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_ContainsStripNewLinesTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_ContainsStripNewLinesTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_ContainsStripNewLinesTest.java
index d8fe379..b9d1e74 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_ContainsStripNewLinesTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_ContainsStripNewLinesTest.java
@@ -1,68 +1,68 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.matchers;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.hamcrest.Matcher;
-import org.junit.Before;
-import org.junit.Test;
-
-public class IsisMatchers_ContainsStripNewLinesTest {
-
-    private Matcher<String> fooMatcher;
-
-    @Before
-    public void setUp() {
-        fooMatcher = IsisMatchers.containsStripNewLines("foo");
-    }
-
-    @Test
-    public void shouldMatchExactString() {
-        assertThat(fooMatcher.matches("foo"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfContainsStringNoNewLines() {
-        assertThat(fooMatcher.matches("abcfoodef"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfContainsStringHasNewLinesBefore() {
-        assertThat(fooMatcher.matches("a\nb\rc\r\ndfoodef"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfContainsStringHasNewLinesAfter() {
-        assertThat(fooMatcher.matches("abrdfood\ne\rfan\rg"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfContainsStringHasNewLinesWithin() {
-        assertThat(fooMatcher.matches("abcf\ro\nodef"), is(true));
-    }
-
-    @Test
-    public void shouldNotMatchIfDoesNotContainsString() {
-        assertThat(fooMatcher.matches("fob"), is(false));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.matchers;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.hamcrest.Matcher;
+import org.junit.Before;
+import org.junit.Test;
+
+public class IsisMatchers_ContainsStripNewLinesTest {
+
+    private Matcher<String> fooMatcher;
+
+    @Before
+    public void setUp() {
+        fooMatcher = IsisMatchers.containsStripNewLines("foo");
+    }
+
+    @Test
+    public void shouldMatchExactString() {
+        assertThat(fooMatcher.matches("foo"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfContainsStringNoNewLines() {
+        assertThat(fooMatcher.matches("abcfoodef"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfContainsStringHasNewLinesBefore() {
+        assertThat(fooMatcher.matches("a\nb\rc\r\ndfoodef"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfContainsStringHasNewLinesAfter() {
+        assertThat(fooMatcher.matches("abrdfood\ne\rfan\rg"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfContainsStringHasNewLinesWithin() {
+        assertThat(fooMatcher.matches("abcf\ro\nodef"), is(true));
+    }
+
+    @Test
+    public void shouldNotMatchIfDoesNotContainsString() {
+        assertThat(fooMatcher.matches("fob"), is(false));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EndsWithStripNewLinesTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EndsWithStripNewLinesTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EndsWithStripNewLinesTest.java
index bd6ec05..f8efa13 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EndsWithStripNewLinesTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EndsWithStripNewLinesTest.java
@@ -1,63 +1,63 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.matchers;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.hamcrest.Matcher;
-import org.junit.Before;
-import org.junit.Test;
-
-public class IsisMatchers_EndsWithStripNewLinesTest {
-
-    private Matcher<String> fooMatcher;
-
-    @Before
-    public void setUp() {
-        fooMatcher = IsisMatchers.endsWithStripNewLines("foo");
-    }
-
-    @Test
-    public void shouldMatchExactString() {
-        assertThat(fooMatcher.matches("foo"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfEndsWithAndStringNoNewLines() {
-        assertThat(fooMatcher.matches("abcfoo"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfEndsWithStringHasNewLinesAfter() {
-        assertThat(fooMatcher.matches("a\nb\rc\r\nfoo"), is(true));
-    }
-
-    @Test
-    public void shouldMatchIfEndsWithStringHasNewLinesWithin() {
-        assertThat(fooMatcher.matches("abcf\ro\no"), is(true));
-    }
-
-    @Test
-    public void shouldNotMatchIfDoesNotEndsWithString() {
-        assertThat(fooMatcher.matches("fob"), is(false));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.matchers;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.hamcrest.Matcher;
+import org.junit.Before;
+import org.junit.Test;
+
+public class IsisMatchers_EndsWithStripNewLinesTest {
+
+    private Matcher<String> fooMatcher;
+
+    @Before
+    public void setUp() {
+        fooMatcher = IsisMatchers.endsWithStripNewLines("foo");
+    }
+
+    @Test
+    public void shouldMatchExactString() {
+        assertThat(fooMatcher.matches("foo"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfEndsWithAndStringNoNewLines() {
+        assertThat(fooMatcher.matches("abcfoo"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfEndsWithStringHasNewLinesAfter() {
+        assertThat(fooMatcher.matches("a\nb\rc\r\nfoo"), is(true));
+    }
+
+    @Test
+    public void shouldMatchIfEndsWithStringHasNewLinesWithin() {
+        assertThat(fooMatcher.matches("abcf\ro\no"), is(true));
+    }
+
+    @Test
+    public void shouldNotMatchIfDoesNotEndsWithString() {
+        assertThat(fooMatcher.matches("fob"), is(false));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EqualToStripNewLinesTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EqualToStripNewLinesTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EqualToStripNewLinesTest.java
index d1f1019..6d89f51 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EqualToStripNewLinesTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_EqualToStripNewLinesTest.java
@@ -1,63 +1,63 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.matchers;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.hamcrest.Matcher;
-import org.junit.Before;
-import org.junit.Test;
-
-public class IsisMatchers_EqualToStripNewLinesTest {
-
-    private Matcher<String> fooMatcher;
-
-    @Before
-    public void setUp() {
-        fooMatcher = IsisMatchers.equalToStripNewLines("foo");
-    }
-
-    @Test
-    public void shouldMatchExactString() {
-        assertThat(fooMatcher.matches("foo"), is(true));
-    }
-
-    @Test
-    public void shouldNotMatchIfStartsWithAnything() {
-        assertThat(fooMatcher.matches("afoo"), is(false));
-    }
-
-    @Test
-    public void shouldNotMatchIfEndsWithAnything() {
-        assertThat(fooMatcher.matches("fooz"), is(false));
-    }
-
-    @Test
-    public void shouldMatchIfEqualToStringHasNewLinesWithin() {
-        assertThat(fooMatcher.matches("f\ro\no"), is(true));
-    }
-
-    @Test
-    public void shouldNotMatchIfDoesNotStartWithString() {
-        assertThat(fooMatcher.matches("fob"), is(false));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.matchers;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.hamcrest.Matcher;
+import org.junit.Before;
+import org.junit.Test;
+
+public class IsisMatchers_EqualToStripNewLinesTest {
+
+    private Matcher<String> fooMatcher;
+
+    @Before
+    public void setUp() {
+        fooMatcher = IsisMatchers.equalToStripNewLines("foo");
+    }
+
+    @Test
+    public void shouldMatchExactString() {
+        assertThat(fooMatcher.matches("foo"), is(true));
+    }
+
+    @Test
+    public void shouldNotMatchIfStartsWithAnything() {
+        assertThat(fooMatcher.matches("afoo"), is(false));
+    }
+
+    @Test
+    public void shouldNotMatchIfEndsWithAnything() {
+        assertThat(fooMatcher.matches("fooz"), is(false));
+    }
+
+    @Test
+    public void shouldMatchIfEqualToStringHasNewLinesWithin() {
+        assertThat(fooMatcher.matches("f\ro\no"), is(true));
+    }
+
+    @Test
+    public void shouldNotMatchIfDoesNotStartWithString() {
+        assertThat(fooMatcher.matches("fob"), is(false));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringOrNullTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringOrNullTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringOrNullTest.java
index 6225d65..a1604ee 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringOrNullTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringOrNullTest.java
@@ -1,53 +1,53 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.matchers;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.hamcrest.Matcher;
-import org.junit.Before;
-import org.junit.Test;
-
-public class IsisMatchers_NonEmptyStringOrNullTest {
-
-    private Matcher<String> fooMatcher;
-
-    @Before
-    public void setUp() {
-        fooMatcher = IsisMatchers.nonEmptyStringOrNull();
-    }
-
-    @Test
-    public void shouldMatchNonEmptyString() {
-        assertThat(fooMatcher.matches("foo"), is(true));
-    }
-
-    @Test
-    public void shouldNotMatchEmptyString() {
-        assertThat(fooMatcher.matches(""), is(false));
-    }
-
-    @Test
-    public void shouldMatchNullString() {
-        assertThat(fooMatcher.matches(null), is(true));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.matchers;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.hamcrest.Matcher;
+import org.junit.Before;
+import org.junit.Test;
+
+public class IsisMatchers_NonEmptyStringOrNullTest {
+
+    private Matcher<String> fooMatcher;
+
+    @Before
+    public void setUp() {
+        fooMatcher = IsisMatchers.nonEmptyStringOrNull();
+    }
+
+    @Test
+    public void shouldMatchNonEmptyString() {
+        assertThat(fooMatcher.matches("foo"), is(true));
+    }
+
+    @Test
+    public void shouldNotMatchEmptyString() {
+        assertThat(fooMatcher.matches(""), is(false));
+    }
+
+    @Test
+    public void shouldMatchNullString() {
+        assertThat(fooMatcher.matches(null), is(true));
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/isis/blob/211aee9b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringTest.java
----------------------------------------------------------------------
diff --git a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringTest.java b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringTest.java
index 13408f5..6d1afff 100644
--- a/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringTest.java
+++ b/framework/core/commons/src/test/java/org/apache/isis/core/commons/matchers/IsisMatchers_NonEmptyStringTest.java
@@ -1,53 +1,53 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package org.apache.isis.core.commons.matchers;
-
-import static org.hamcrest.CoreMatchers.is;
-import static org.junit.Assert.assertThat;
-
-import org.hamcrest.Matcher;
-import org.junit.Before;
-import org.junit.Test;
-
-public class IsisMatchers_NonEmptyStringTest {
-
-    private Matcher<String> fooMatcher;
-
-    @Before
-    public void setUp() {
-        fooMatcher = IsisMatchers.nonEmptyString();
-    }
-
-    @Test
-    public void shouldMatchNonEmptyString() {
-        assertThat(fooMatcher.matches("foo"), is(true));
-    }
-
-    @Test
-    public void shouldNotMatchEmptyString() {
-        assertThat(fooMatcher.matches(""), is(false));
-    }
-
-    @Test
-    public void shouldNotMatchNullString() {
-        assertThat(fooMatcher.matches(null), is(false));
-    }
-
-}
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you under the Apache License, Version 2.0 (the
+ *  "License"); you may not use this file except in compliance
+ *  with the License.  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing,
+ *  software distributed under the License is distributed on an
+ *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *  KIND, either express or implied.  See the License for the
+ *  specific language governing permissions and limitations
+ *  under the License.
+ */
+
+package org.apache.isis.core.commons.matchers;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.junit.Assert.assertThat;
+
+import org.hamcrest.Matcher;
+import org.junit.Before;
+import org.junit.Test;
+
+public class IsisMatchers_NonEmptyStringTest {
+
+    private Matcher<String> fooMatcher;
+
+    @Before
+    public void setUp() {
+        fooMatcher = IsisMatchers.nonEmptyString();
+    }
+
+    @Test
+    public void shouldMatchNonEmptyString() {
+        assertThat(fooMatcher.matches("foo"), is(true));
+    }
+
+    @Test
+    public void shouldNotMatchEmptyString() {
+        assertThat(fooMatcher.matches(""), is(false));
+    }
+
+    @Test
+    public void shouldNotMatchNullString() {
+        assertThat(fooMatcher.matches(null), is(false));
+    }
+
+}