Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
rweisleder committed May 29, 2024
1 parent 4f1961c commit 5db0914
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.all;
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.methods;
import static de.rweisleder.archunit.spring.SpringAnnotationPredicates.springAnnotatedWith;
import static de.rweisleder.archunit.spring.Utils.availableMethods;
import static de.rweisleder.archunit.spring.Utils.isSpringFramework6;
import static de.rweisleder.archunit.spring.framework.SpringProxyRules.beProxyable;
import static de.rweisleder.archunit.spring.framework.SpringProxyRules.notBeCalledFromWithinTheSameClass;
import static de.rweisleder.archunit.spring.internal.InternalUtils.availableMethods;
import static de.rweisleder.archunit.spring.internal.InternalUtils.isSpringFramework6;

/**
* Collection of {@link ArchRule rules} that can be used to check the usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.all;
import static com.tngtech.archunit.lang.syntax.ArchRuleDefinition.methods;
import static de.rweisleder.archunit.spring.SpringAnnotationPredicates.springAnnotatedWith;
import static de.rweisleder.archunit.spring.Utils.availableMethods;
import static de.rweisleder.archunit.spring.framework.SpringProxyRules.beProxyable;
import static de.rweisleder.archunit.spring.framework.SpringProxyRules.notBeCalledFromWithinTheSameClass;
import static de.rweisleder.archunit.spring.internal.InternalUtils.availableMethods;

/**
* Collection of {@link ArchRule rules} that can be used to check the usage of Spring's generic cache abstraction.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import static com.tngtech.archunit.lang.conditions.ArchConditions.bePublic;
import static com.tngtech.archunit.lang.conditions.ArchConditions.notBeFinal;
import static com.tngtech.archunit.lang.conditions.ArchConditions.notBePrivate;
import static de.rweisleder.archunit.spring.Utils.isSpringFramework6;
import static de.rweisleder.archunit.spring.internal.InternalUtils.isSpringFramework6;

/**
* Collection of {@link ArchRule rules} that can be used to check the usage of Spring's proxy mechanism.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* limitations under the License.
* #L%
*/
package de.rweisleder.archunit.spring;
package de.rweisleder.archunit.spring.internal;

import com.tngtech.archunit.core.domain.JavaClass;
import com.tngtech.archunit.core.domain.JavaClasses;
Expand All @@ -32,11 +32,11 @@
/**
* For internal use only.
*/
public final class Utils {
public final class InternalUtils {

private static Boolean isSpringFramework6;

private Utils() {
private InternalUtils() {
}

public static ClassesTransformer<JavaMethod> availableMethods() {
Expand Down

0 comments on commit 5db0914

Please sign in to comment.