Browse files

Update JBoss Modules version

  • Loading branch information...
1 parent 5aa6193 commit 1396a0490530ce763b6e63a2d6a49166829fa302 @dmlloyd dmlloyd committed Dec 14, 2010
View
2 api/pom.xml
@@ -48,7 +48,7 @@
<dependency>
<groupId>org.jboss.modules</groupId>
<artifactId>jboss-modules</artifactId>
- <version>1.0.0.Beta7</version>
+ <version>1.0.0.Beta11</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
View
13 api/src/main/java/org/jboss/marshalling/ModularClassResolver.java
@@ -42,24 +42,11 @@
public final class ModularClassResolver implements ClassResolver {
private final ModuleLoader moduleLoader;
- private ModularClassResolver() {
- moduleLoader = Module.getDefaultModuleLoader();
- }
-
private ModularClassResolver(final ModuleLoader moduleLoader) {
this.moduleLoader = moduleLoader;
}
/**
- * Construct a new instance using the default module loader.
- *
- * @return the new instance
- */
- public static ModularClassResolver getInstance() {
- return new ModularClassResolver();
- }
-
- /**
* Construct a new instance using the given module loader.
*
* @param moduleLoader the module loader
View
13 api/src/main/java/org/jboss/marshalling/ModularClassTable.java
@@ -47,24 +47,11 @@
private final ModuleLoader moduleLoader;
- private ModularClassTable() {
- moduleLoader = Module.getDefaultModuleLoader();
- }
-
private ModularClassTable(final ModuleLoader moduleLoader) {
this.moduleLoader = moduleLoader;
}
/**
- * Get an instance using the default module loader.
- *
- * @return the modular class table
- */
- public static ModularClassTable getInstance() {
- return new ModularClassTable();
- }
-
- /**
* Get an instance using the given module loader.
*
* @param moduleLoader the module loader to use

0 comments on commit 1396a04

Please sign in to comment.