aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggrzy...@apache.org
Subject svn commit: r1793988 - in /aries/trunk/transaction/transaction-manager/src: main/java/org/apache/aries/transaction/internal/NLS.java test/java/org/apache/aries/transaction/internal/NLSTest.java
Date Fri, 05 May 2017 09:07:15 GMT
Author: ggrzybek
Date: Fri May  5 09:07:14 2017
New Revision: 1793988

URL: http://svn.apache.org/viewvc?rev=1793988&view=rev
Log:
[ARIES-1722] Refer to proper message bundle

Added:
    aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/NLSTest.java
Modified:
    aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/NLS.java

Modified: aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/NLS.java
URL: http://svn.apache.org/viewvc/aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/NLS.java?rev=1793988&r1=1793987&r2=1793988&view=diff
==============================================================================
--- aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/NLS.java
(original)
+++ aries/trunk/transaction/transaction-manager/src/main/java/org/apache/aries/transaction/internal/NLS.java
Fri May  5 09:07:14 2017
@@ -22,5 +22,5 @@ import org.apache.aries.util.nls.Message
 
 public class NLS
 {
-  public static final MessageUtil MESSAGES = MessageUtil.createMessageUtil(NLS.class, "org.apache.aries.transaction.txManager");
+  public static final MessageUtil MESSAGES = MessageUtil.createMessageUtil(NLS.class, "org.apache.aries.transaction.internal.txManager");
 }

Added: aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/NLSTest.java
URL: http://svn.apache.org/viewvc/aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/NLSTest.java?rev=1793988&view=auto
==============================================================================
--- aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/NLSTest.java
(added)
+++ aries/trunk/transaction/transaction-manager/src/test/java/org/apache/aries/transaction/internal/NLSTest.java
Fri May  5 09:07:14 2017
@@ -0,0 +1,31 @@
+/**
+ *  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.aries.transaction.internal;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertNotNull;
+
+public class NLSTest {
+
+    @Test
+    public void message() {
+        assertNotNull(NLS.MESSAGES.getMessage("log.file.dir"));
+    }
+
+}



Mime
View raw message