Improved: Remove unnecessary declared exceptions for ‘ContainerException’
(OFBIZ-10938) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+3
-4
@@ -83,7 +83,7 @@ public class ComponentContainer implements Container {
|
||||
/**
|
||||
* @see org.apache.ofbiz.base.container.Container#start()
|
||||
*/
|
||||
public boolean start() throws ContainerException {
|
||||
public boolean start() {
|
||||
return loaded.get();
|
||||
}
|
||||
|
||||
@@ -92,9 +92,8 @@ public class ComponentContainer implements Container {
|
||||
* and set the classloader as the context classloader
|
||||
*
|
||||
* @param componentsClassPath a list of classpaths for all components
|
||||
* @throws ContainerException
|
||||
*/
|
||||
private void loadClassPathForAllComponents(List<Classpath> componentsClassPath) throws ContainerException {
|
||||
private void loadClassPathForAllComponents(List<Classpath> componentsClassPath) {
|
||||
List<URL> allComponentUrls = new ArrayList<>();
|
||||
for(Classpath classPath : componentsClassPath) {
|
||||
try {
|
||||
@@ -365,7 +364,7 @@ public class ComponentContainer implements Container {
|
||||
/**
|
||||
* @see org.apache.ofbiz.base.container.Container#stop()
|
||||
*/
|
||||
public void stop() throws ContainerException {
|
||||
public void stop() {
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
|
||||
Reference in New Issue
Block a user