You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2020/11/26 20:08:23 UTC
[tapestry-5] branch java9modules updated: Revert "TAP5-2641: making
it possible to get a Messages instance"
This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch java9modules
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/java9modules by this push:
new 9feee3f Revert "TAP5-2641: making it possible to get a Messages instance"
9feee3f is described below
commit 9feee3f6e914b4ebea80e8f3ed8c7995b9525ad4
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Thu Nov 26 17:07:36 2020 -0300
Revert "TAP5-2641: making it possible to get a Messages instance"
This reverts commit 9c27cbec6d27afa7cec19f65c321ffb046cfb736.
---
.../main/java/org/apache/tapestry5/commons/Messages.java | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/commons/src/main/java/org/apache/tapestry5/commons/Messages.java b/commons/src/main/java/org/apache/tapestry5/commons/Messages.java
index e618a22..a18a251 100644
--- a/commons/src/main/java/org/apache/tapestry5/commons/Messages.java
+++ b/commons/src/main/java/org/apache/tapestry5/commons/Messages.java
@@ -16,8 +16,6 @@ package org.apache.tapestry5.commons;
import java.util.Set;
-import org.apache.tapestry5.commons.internal.util.MessagesImpl;
-
/**
* Provides access to a messages catalog, a set of properties files that provide localized messages for a particular
* locale. The message catalog consists of keys and values and follows the semantics of a Java {@link
@@ -60,17 +58,4 @@ public interface Messages
* @since 5.4
*/
Set<String> getKeys();
-
- /**
- * Finds the messages for a given Messages utility class. Strings the trailing "Messages" and replaces it with
- * "Strings" to form the base path. Loads the bundle using the default locale, and the class' class loader.
- *
- * @param forClass
- * @return Messages for the class
- */
- public static Messages forClass(Class forClass)
- {
- return MessagesImpl.forClass(forClass);
- }
-
}