Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoeller authored and engimatic committed Sep 29, 2020
1 parent fbc7e42 commit 92ef388
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Expand Up @@ -35,6 +35,7 @@ public BeanEntry(String beanDefinitionName) {
this.beanDefinitionName = beanDefinitionName;
}


@Override
public String toString() {
return "Bean '" + this.beanDefinitionName + "'";
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -357,7 +357,7 @@ public void close() {
}


private static class NameClassPairEnumeration extends AbstractNamingEnumeration<NameClassPair> {
private static final class NameClassPairEnumeration extends AbstractNamingEnumeration<NameClassPair> {

private NameClassPairEnumeration(SimpleNamingContext context, String root) throws NamingException {
super(context, root);
Expand All @@ -370,7 +370,7 @@ protected NameClassPair createObject(String strippedName, Object obj) {
}


private static class BindingEnumeration extends AbstractNamingEnumeration<Binding> {
private static final class BindingEnumeration extends AbstractNamingEnumeration<Binding> {

private BindingEnumeration(SimpleNamingContext context, String root) throws NamingException {
super(context, root);
Expand Down

0 comments on commit 92ef388

Please sign in to comment.