/** * Determine if the supplied object is equal to this {@code WebMergedContextConfiguration} * instance by comparing both object's {@linkplain #getLocations() locations}, * {@linkplain #getClasses() annotated classes}, * {@linkplain #getContextInitializerClasses() context initializer classes}, * {@linkplain #getActiveProfiles() active profiles}, * {@linkplain #getResourceBasePath() resource base path}, * {@linkplain #getParent() parents}, and the fully qualified names of their * {@link #getContextLoader() ContextLoaders}. */ @Override public boolean equals(@Nullable Object other) { return (this == other || (super.equals(other) && this.resourceBasePath.equals(((WebMergedContextConfiguration) other).resourceBasePath))); }
else if (!this.parent.equals(otherConfig.parent)) { return false;
/** * Determine if the supplied object is equal to this {@code WebMergedContextConfiguration} * instance by comparing both object's {@linkplain #getLocations() locations}, * {@linkplain #getClasses() annotated classes}, * {@linkplain #getContextInitializerClasses() context initializer classes}, * {@linkplain #getActiveProfiles() active profiles}, * {@linkplain #getResourceBasePath() resource base path}, * {@linkplain #getParent() parents}, and the fully qualified names of their * {@link #getContextLoader() ContextLoaders}. */ @Override public boolean equals(Object other) { return (this == other || (super.equals(other) && this.resourceBasePath.equals(((WebMergedContextConfiguration) other).resourceBasePath))); }
/** * Determine if the supplied object is equal to this {@code WebMergedContextConfiguration} * instance by comparing both object's {@linkplain #getLocations() locations}, * {@linkplain #getClasses() annotated classes}, * {@linkplain #getContextInitializerClasses() context initializer classes}, * {@linkplain #getActiveProfiles() active profiles}, * {@linkplain #getResourceBasePath() resource base path}, * {@linkplain #getParent() parents}, and the fully qualified names of their * {@link #getContextLoader() ContextLoaders}. */ @Override public boolean equals(@Nullable Object other) { return (this == other || (super.equals(other) && this.resourceBasePath.equals(((WebMergedContextConfiguration) other).resourceBasePath))); }
else if (!this.parent.equals(otherConfig.parent)) { return false;
else if (!this.parent.equals(otherConfig.parent)) { return false;