Skip to content

Commit 178083a

Browse files
pzygielodmatej
authored andcommitted
Do not produce result as it's not used anyway
1 parent f1a302d commit 178083a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

appserver/ejb/ejb-container/src/main/java/org/glassfish/ejb/embedded/EJBContainerProviderImpl.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public EJBContainer createEJBContainer(Map<?, ?> properties) throws EJBException
148148
return null; // not this provider
149149
}
150150

151-
private Locations createContainer(Map<?, ?> properties, Locations l) throws EJBException {
151+
private void createContainer(Map<?, ?> properties, Locations l) throws EJBException {
152152
synchronized(lock) {
153153
// if (container == null || !container.isOpen()) {
154154
try {
@@ -232,8 +232,6 @@ private Locations createContainer(Map<?, ?> properties, Locations l) throws EJBE
232232
}
233233
// }
234234
}
235-
236-
return l;
237235
}
238236

239237
/**

0 commit comments

Comments
 (0)