Commit b798bcc8c6074c468aac5d19bc93c070c4633fa5
1 parent
0c933981
Exists in
master
Exclusão dos métodos depreciados do ResourceBundleProducer
Showing
1 changed file
with
0 additions
and
22 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/producer/ResourceBundleProducer.java
| @@ -57,28 +57,6 @@ public class ResourceBundleProducer implements Serializable { | @@ -57,28 +57,6 @@ public class ResourceBundleProducer implements Serializable { | ||
| 57 | private static final long serialVersionUID = 1L; | 57 | private static final long serialVersionUID = 1L; |
| 58 | 58 | ||
| 59 | /** | 59 | /** |
| 60 | - * This method should be used by classes that can not inject ResourceBundle, to create the ResourceBundle. | ||
| 61 | - * | ||
| 62 | - * @param String | ||
| 63 | - * baseName | ||
| 64 | - */ | ||
| 65 | - @Deprecated | ||
| 66 | - public ResourceBundle create(String baseName) { | ||
| 67 | - return create(baseName, Beans.getReference(Locale.class)); | ||
| 68 | - } | ||
| 69 | - | ||
| 70 | - /** | ||
| 71 | - * This method should be used by classes that can not inject ResourceBundle, to create the ResourceBundle. | ||
| 72 | - * | ||
| 73 | - * @param String | ||
| 74 | - * baseName | ||
| 75 | - */ | ||
| 76 | - @Deprecated | ||
| 77 | - public ResourceBundle create(String baseName, Locale locale) { | ||
| 78 | - return new ResourceBundle(baseName, locale); | ||
| 79 | - } | ||
| 80 | - | ||
| 81 | - /** | ||
| 82 | * This method is the factory default for ResourceBundle. It creates the ResourceBundle based on a file called | 60 | * This method is the factory default for ResourceBundle. It creates the ResourceBundle based on a file called |
| 83 | * messages.properties. | 61 | * messages.properties. |
| 84 | */ | 62 | */ |