Skip to content

Commit

Permalink
Removed extra variable def
Browse files Browse the repository at this point in the history
  • Loading branch information
nekop committed Dec 9, 2010
1 parent 36c8b0e commit 2266c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bshlookupr
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,
props.put(javax.naming.Context.URL_PKG_PREFIXES,
"jboss.naming:org.jnp.interfaces");
props.put(javax.naming.Context.PROVIDER_URL, "localhost:1099");
context context = new javax.naming.InitialContext(props);
context = new javax.naming.InitialContext(props);
${1:result} = context.lookup("${2:jndiName}");
$0

0 comments on commit 2266c0f

Please sign in to comment.