Skip to content

Commit

Permalink
Fixes #78 - Implement GlobalContext.unbind
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem committed Apr 26, 2024
1 parent b7565cb commit 8f0b020
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ public void rebind(String name, Object object) throws NamingException {

@Override
public void unbind(Name name) throws NamingException {
throw new UnsupportedOperationException("Not supported yet.");
unbind(name.toString());
}

@Override
public void unbind(String name) throws NamingException {
throw new UnsupportedOperationException("Not supported yet.");
bindings.remove(name);
}

@Override
Expand Down

0 comments on commit 8f0b020

Please sign in to comment.