You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2008/05/23 01:26:18 UTC
svn commit: r659307 [24/24] - in /ode/trunk:
axis2-war/src/main/webapp/WEB-INF/ axis2-war/src/main/webapp/WEB-INF/classes/
axis2-war/src/test/resources/XSDReferences/
axis2-war/src/test/resources/XSDReferences/BPMN/
axis2-war/src/test/resources/XSDRefe...
Modified: ode/trunk/utils/src/main/java/org/apache/ode/utils/msg/CommonMessages.java
URL: http://svn.apache.org/viewvc/ode/trunk/utils/src/main/java/org/apache/ode/utils/msg/CommonMessages.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/utils/src/main/java/org/apache/ode/utils/msg/CommonMessages.java (original)
+++ ode/trunk/utils/src/main/java/org/apache/ode/utils/msg/CommonMessages.java Thu May 22 16:25:57 2008
@@ -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.ode.utils.msg;
-
-public class CommonMessages extends MessageBundle {
-
- public String strError() {
- return this.format("Error");
- }
-
- public String strFatal() {
- return this.format("Fatal");
- }
-
- public String strInfo() {
- return this.format("Info");
- }
-
- public String strWarning() {
- return this.format("Warning");
- }
-
- public String msgFileNotFound(String string) {
- return this.format("File not found: {0}", string);
- }
-
- public String msgCannotWriteToFile(String string) {
- return this.format("Unable to write to file \"{0}\";"
- + " it may be a directory or otherwise unwritable.", string);
- }
-
- public String msgCannotReadFromFile(String string) {
- return this.format("Unable to read from file \"{0}\";"
- + " it may be missing, a directory, or otherwise unreadable.", string);
- }
-
- public String msgBadPort(String string) {
- return this.format("The string you specified for proxy port \"{0}\" doesn't appear to be "
- + " correct, it must be a number.", string);
- }
-
-}
+/*
+ * 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.ode.utils.msg;
+
+public class CommonMessages extends MessageBundle {
+
+ public String strError() {
+ return this.format("Error");
+ }
+
+ public String strFatal() {
+ return this.format("Fatal");
+ }
+
+ public String strInfo() {
+ return this.format("Info");
+ }
+
+ public String strWarning() {
+ return this.format("Warning");
+ }
+
+ public String msgFileNotFound(String string) {
+ return this.format("File not found: {0}", string);
+ }
+
+ public String msgCannotWriteToFile(String string) {
+ return this.format("Unable to write to file \"{0}\";"
+ + " it may be a directory or otherwise unwritable.", string);
+ }
+
+ public String msgCannotReadFromFile(String string) {
+ return this.format("Unable to read from file \"{0}\";"
+ + " it may be missing, a directory, or otherwise unreadable.", string);
+ }
+
+ public String msgBadPort(String string) {
+ return this.format("The string you specified for proxy port \"{0}\" doesn't appear to be "
+ + " correct, it must be a number.", string);
+ }
+
+}
Modified: ode/trunk/utils/src/main/java/org/apache/ode/utils/rmi/RMIConstants.java
URL: http://svn.apache.org/viewvc/ode/trunk/utils/src/main/java/org/apache/ode/utils/rmi/RMIConstants.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/utils/src/main/java/org/apache/ode/utils/rmi/RMIConstants.java (original)
+++ ode/trunk/utils/src/main/java/org/apache/ode/utils/rmi/RMIConstants.java Thu May 22 16:25:57 2008
@@ -1,58 +1,58 @@
-/*
- * 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.ode.utils.rmi;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-/**
- * Constant related to naming of ODE objects in JMX.
- * @deprecated DO NO USE: Find your own way to get this URL.
- */
-public final class RMIConstants {
- private static final Log __log = LogFactory.getLog(RMIConstants.class);
-
-
- /**
- * same constant defined in BootLoader but we cannot have dependencies on it
- * @deprecated DO NOT USE, will soon be eliminated.
- */
- public static final String DEFAULT_RMI_CONNECTION_URL =
- "rmi://localhost:2099/ode";
-
- /**
- * same constant defined in BootLoader but we cannot have dependencies on it
- */
- public static final String PROP_RMIURL = "ode.url";
-
-
- /**
- * @deprecated DO NOT USE, will soon be eliminated.
- */
- public static String getConnectionURL() {
- String url = System.getProperty(PROP_RMIURL);
- if(null == url) {
- url = DEFAULT_RMI_CONNECTION_URL;
- __log.warn("Cannot find value system property " + PROP_RMIURL + " so returning " +
- "default value for url " + DEFAULT_RMI_CONNECTION_URL);
- }
- return url;
- }
-}
+/*
+ * 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.ode.utils.rmi;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * Constant related to naming of ODE objects in JMX.
+ * @deprecated DO NO USE: Find your own way to get this URL.
+ */
+public final class RMIConstants {
+ private static final Log __log = LogFactory.getLog(RMIConstants.class);
+
+
+ /**
+ * same constant defined in BootLoader but we cannot have dependencies on it
+ * @deprecated DO NOT USE, will soon be eliminated.
+ */
+ public static final String DEFAULT_RMI_CONNECTION_URL =
+ "rmi://localhost:2099/ode";
+
+ /**
+ * same constant defined in BootLoader but we cannot have dependencies on it
+ */
+ public static final String PROP_RMIURL = "ode.url";
+
+
+ /**
+ * @deprecated DO NOT USE, will soon be eliminated.
+ */
+ public static String getConnectionURL() {
+ String url = System.getProperty(PROP_RMIURL);
+ if(null == url) {
+ url = DEFAULT_RMI_CONNECTION_URL;
+ __log.warn("Cannot find value system property " + PROP_RMIURL + " so returning " +
+ "default value for url " + DEFAULT_RMI_CONNECTION_URL);
+ }
+ return url;
+ }
+}
Modified: ode/trunk/utils/src/test/java/org/apache/ode/utils/ISO8601DateParserTest.java
URL: http://svn.apache.org/viewvc/ode/trunk/utils/src/test/java/org/apache/ode/utils/ISO8601DateParserTest.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/utils/src/test/java/org/apache/ode/utils/ISO8601DateParserTest.java (original)
+++ ode/trunk/utils/src/test/java/org/apache/ode/utils/ISO8601DateParserTest.java Thu May 22 16:25:57 2008
@@ -1,95 +1,95 @@
-/*
- * 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.ode.utils;
-
-import java.text.ParseException;
-import java.util.Date;
-import java.util.Calendar;
-import java.util.TimeZone;
-
-import junit.framework.TestCase;
-
-public class ISO8601DateParserTest extends TestCase {
-
- public void test1() throws ParseException {
- String in = "2004-05-31T09:19:31-05:00";
-
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2004, 5, 31, 9, 19, 31, 0, "GMT-5");
- }
-
- public void test2() throws ParseException {
- String in = "2004-06-23T17:25:31-00:00";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2004, 6, 23, 17, 25, 31, 0, "GMT");
- }
-
- public void test3() throws ParseException {
- String in = "2004-06-23T17:25-00:00";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2004, 6, 23, 17, 25, 0, 0, "GMT");
- }
-
- public void test4() throws ParseException {
- String in = "2002-10-02T10:00:00-05:00";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2002, 10, 2, 10, 0, 0, 0, "GMT-5");
- }
-
- public void test5() throws ParseException {
- String in = "2008-02-15T18:44:54.9-08:00";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2008, 2, 15, 18, 44, 54, 9, "GMT-8");
- }
-
- public void test6() throws ParseException {
- String in = "2008-02-15T18:44:54.109-08:00";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2008, 2, 15, 18, 44, 54, 109, "GMT-8");
- }
-
- public void test7() throws ParseException {
- String in = "2004-06-23T17:25:31.6";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2004, 6, 23, 17, 25, 31, 6, null);
- }
-
- public void test8() throws ParseException {
- String in = "2004-06-23T17:25:10.826";
- Date d = ISO8601DateParser.parse(in);
- assertDate(d, 2004, 6, 23, 17, 25, 10, 826, null);
- }
-
- private void assertDate(Date d, int year, int month, int day,
- int hour, int minute, int second, int ms, String tz) {
- Calendar cal = Calendar.getInstance();
- cal.setTime(d);
- if (tz != null) cal.setTimeZone(TimeZone.getTimeZone(tz));
-
- assertEquals(year, cal.get(Calendar.YEAR));
- assertEquals(month - 1, cal.get(Calendar.MONTH));
- assertEquals(day, cal.get(Calendar.DAY_OF_MONTH));
- assertEquals(hour, cal.get(Calendar.HOUR_OF_DAY));
- assertEquals(minute, cal.get(Calendar.MINUTE));
- assertEquals(second, cal.get(Calendar.SECOND));
- assertEquals(ms, cal.get(Calendar.MILLISECOND));
- }
-
-}
+/*
+ * 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.ode.utils;
+
+import java.text.ParseException;
+import java.util.Date;
+import java.util.Calendar;
+import java.util.TimeZone;
+
+import junit.framework.TestCase;
+
+public class ISO8601DateParserTest extends TestCase {
+
+ public void test1() throws ParseException {
+ String in = "2004-05-31T09:19:31-05:00";
+
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2004, 5, 31, 9, 19, 31, 0, "GMT-5");
+ }
+
+ public void test2() throws ParseException {
+ String in = "2004-06-23T17:25:31-00:00";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2004, 6, 23, 17, 25, 31, 0, "GMT");
+ }
+
+ public void test3() throws ParseException {
+ String in = "2004-06-23T17:25-00:00";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2004, 6, 23, 17, 25, 0, 0, "GMT");
+ }
+
+ public void test4() throws ParseException {
+ String in = "2002-10-02T10:00:00-05:00";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2002, 10, 2, 10, 0, 0, 0, "GMT-5");
+ }
+
+ public void test5() throws ParseException {
+ String in = "2008-02-15T18:44:54.9-08:00";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2008, 2, 15, 18, 44, 54, 9, "GMT-8");
+ }
+
+ public void test6() throws ParseException {
+ String in = "2008-02-15T18:44:54.109-08:00";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2008, 2, 15, 18, 44, 54, 109, "GMT-8");
+ }
+
+ public void test7() throws ParseException {
+ String in = "2004-06-23T17:25:31.6";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2004, 6, 23, 17, 25, 31, 6, null);
+ }
+
+ public void test8() throws ParseException {
+ String in = "2004-06-23T17:25:10.826";
+ Date d = ISO8601DateParser.parse(in);
+ assertDate(d, 2004, 6, 23, 17, 25, 10, 826, null);
+ }
+
+ private void assertDate(Date d, int year, int month, int day,
+ int hour, int minute, int second, int ms, String tz) {
+ Calendar cal = Calendar.getInstance();
+ cal.setTime(d);
+ if (tz != null) cal.setTimeZone(TimeZone.getTimeZone(tz));
+
+ assertEquals(year, cal.get(Calendar.YEAR));
+ assertEquals(month - 1, cal.get(Calendar.MONTH));
+ assertEquals(day, cal.get(Calendar.DAY_OF_MONTH));
+ assertEquals(hour, cal.get(Calendar.HOUR_OF_DAY));
+ assertEquals(minute, cal.get(Calendar.MINUTE));
+ assertEquals(second, cal.get(Calendar.SECOND));
+ assertEquals(ms, cal.get(Calendar.MILLISECOND));
+ }
+
+}
Modified: ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTest.java
URL: http://svn.apache.org/viewvc/ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTest.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTest.java (original)
+++ ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTest.java Thu May 22 16:25:57 2008
@@ -1,64 +1,64 @@
-/*
- * 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.ode.utils.msg;
-
-import java.util.Locale;
-
-import junit.framework.TestCase;
-
-public class MessageBundleTest extends TestCase {
-
- private static String NO_PARAMETER = "No parameter!";
- private static String NO_PARAMETER_DE = "Kein Parameter!";
- private static String WRONG_PARAMETER = "Wrong parameter :-)";
-
- private MessageBundleTestMessages _bundle;
- private Locale oldLocale;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- oldLocale = Locale.getDefault();
- Locale.setDefault(Locale.ENGLISH);
- _bundle = MessageBundle.getMessages(MessageBundleTestMessages.class);
- }
-
- @Override
- protected void tearDown() throws Exception {
- _bundle = null;
- Locale.setDefault(oldLocale);
- super.tearDown();
- }
-
- public void testNoParameter() {
- assertEquals(NO_PARAMETER, _bundle.msgNoParameter());
- }
-
- public void testNoParameterLocalized() {
- MessageBundleTestMessages bundle = MessageBundle.getMessages(
- MessageBundleTestMessages.class, Locale.GERMAN);
- assertEquals(NO_PARAMETER_DE, bundle.msgNoParameter());
- }
-
- public void testWrongParameter() {
- assertEquals(WRONG_PARAMETER, _bundle.msgWrongParameter(":-)"));
- }
-
-}
+/*
+ * 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.ode.utils.msg;
+
+import java.util.Locale;
+
+import junit.framework.TestCase;
+
+public class MessageBundleTest extends TestCase {
+
+ private static String NO_PARAMETER = "No parameter!";
+ private static String NO_PARAMETER_DE = "Kein Parameter!";
+ private static String WRONG_PARAMETER = "Wrong parameter :-)";
+
+ private MessageBundleTestMessages _bundle;
+ private Locale oldLocale;
+
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ oldLocale = Locale.getDefault();
+ Locale.setDefault(Locale.ENGLISH);
+ _bundle = MessageBundle.getMessages(MessageBundleTestMessages.class);
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ _bundle = null;
+ Locale.setDefault(oldLocale);
+ super.tearDown();
+ }
+
+ public void testNoParameter() {
+ assertEquals(NO_PARAMETER, _bundle.msgNoParameter());
+ }
+
+ public void testNoParameterLocalized() {
+ MessageBundleTestMessages bundle = MessageBundle.getMessages(
+ MessageBundleTestMessages.class, Locale.GERMAN);
+ assertEquals(NO_PARAMETER_DE, bundle.msgNoParameter());
+ }
+
+ public void testWrongParameter() {
+ assertEquals(WRONG_PARAMETER, _bundle.msgWrongParameter(":-)"));
+ }
+
+}
Modified: ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages.java
URL: http://svn.apache.org/viewvc/ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages.java (original)
+++ ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages.java Thu May 22 16:25:57 2008
@@ -1,32 +1,32 @@
-/*
- * 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.ode.utils.msg;
-
-public class MessageBundleTestMessages extends MessageBundle {
-
- public String msgNoParameter() {
- return this.format("No parameter!");
- }
-
- public String msgWrongParameter(String param) {
- return this.format("Wrong parameter {0}", param);
- }
-
-}
+/*
+ * 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.ode.utils.msg;
+
+public class MessageBundleTestMessages extends MessageBundle {
+
+ public String msgNoParameter() {
+ return this.format("No parameter!");
+ }
+
+ public String msgWrongParameter(String param) {
+ return this.format("Wrong parameter {0}", param);
+ }
+
+}
Modified: ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages_de.java
URL: http://svn.apache.org/viewvc/ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages_de.java?rev=659307&r1=659306&r2=659307&view=diff
==============================================================================
--- ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages_de.java (original)
+++ ode/trunk/utils/src/test/java/org/apache/ode/utils/msg/MessageBundleTestMessages_de.java Thu May 22 16:25:57 2008
@@ -1,29 +1,29 @@
-/*
- * 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.ode.utils.msg;
-
-public class MessageBundleTestMessages_de extends MessageBundleTestMessages {
-
- public String msgNoParameter() {
- return this.format("Kein Parameter!");
- }
-
-}
+/*
+ * 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.ode.utils.msg;
+
+public class MessageBundleTestMessages_de extends MessageBundleTestMessages {
+
+ public String msgNoParameter() {
+ return this.format("Kein Parameter!");
+ }
+
+}
\ No newline at end of file