* 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;
public boolean matches(Constructor<?> aObject) {
if (!publicOnly) {
return true;
- } else {
- return Modifier.isPublic(aObject.getModifiers());
}
+ return Modifier.isPublic(aObject.getModifiers());
}
});