Skip to content

Commit

Permalink
WELD-2507 Change test package, use Reflections util class.
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Jul 24, 2018
1 parent 184a670 commit 07279a2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private boolean superClassAbstractAndPackagePrivate(Class<?> clazz) {
return false;
}
int modifiers = superClass.getModifiers();
return Modifier.isAbstract(modifiers) && !Modifier.isPrivate(modifiers) && !Modifier.isProtected(modifiers) && !Modifier.isPublic(modifiers);
return Modifier.isAbstract(modifiers) && Reflections.isPackagePrivate(modifiers);
}

private boolean bridgeMethodsContainsMethod(Set<BridgeMethod> processedBridgeMethods, MethodSignature signature, Type returnType, boolean isMethodAbstract) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.tests.interceptor.inheritance.packagePrivate;
package org.jboss.weld.tests.interceptors.inheritance.packagePrivate;

/**
* Class is intentionally kept as package private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.tests.interceptor.inheritance.packagePrivate;
package org.jboss.weld.tests.interceptors.inheritance.packagePrivate;

import javax.enterprise.context.ApplicationScoped;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.tests.interceptor.inheritance.packagePrivate;
package org.jboss.weld.tests.interceptors.inheritance.packagePrivate;

import javax.inject.Inject;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.tests.interceptor.inheritance.packagePrivate;
package org.jboss.weld.tests.interceptors.inheritance.packagePrivate;

import javax.annotation.Priority;
import javax.interceptor.AroundInvoke;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.jboss.weld.tests.interceptor.inheritance.packagePrivate;
package org.jboss.weld.tests.interceptors.inheritance.packagePrivate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down

0 comments on commit 07279a2

Please sign in to comment.