code style improvements.
[utils] / system / general / src / main / java / org / wamblee / system / adapters / ConstructorConfiguration.java
index b0057b5b2727db289c125aab7c6111881595edb4..874d79516d5c841191782e8c1077bfeb3e731770 100644 (file)
@@ -12,7 +12,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.system.adapters;
 
 import org.wamblee.collections.CollectionFilter;
@@ -121,9 +121,8 @@ public class ConstructorConfiguration {
                 public boolean matches(Constructor<?> aObject) {
                     if (!publicOnly) {
                         return true;
-                    } else {
-                        return Modifier.isPublic(aObject.getModifiers());
                     }
+                    return Modifier.isPublic(aObject.getModifiers());
                 }
             });